allow minimum 1 minut for feed auto-update

This commit is contained in:
Martin Rotter 2021-02-05 10:33:25 +01:00
parent 4667f71f63
commit dd96c37d4c
6 changed files with 6 additions and 6 deletions

View File

@ -117,7 +117,7 @@ CREATE TABLE IF NOT EXISTS Feeds (
username TEXT, username TEXT,
password TEXT, password TEXT,
update_type INTEGER(1) NOT NULL CHECK (update_type >= 0), update_type INTEGER(1) NOT NULL CHECK (update_type >= 0),
update_interval INTEGER NOT NULL DEFAULT 15 CHECK (update_interval >= 3), update_interval INTEGER NOT NULL DEFAULT 15 CHECK (update_interval >= 1),
type INTEGER, type INTEGER,
account_id INTEGER NOT NULL, account_id INTEGER NOT NULL,
custom_id TEXT, custom_id TEXT,

View File

@ -111,7 +111,7 @@ CREATE TABLE IF NOT EXISTS Feeds (
username TEXT, username TEXT,
password TEXT, password TEXT,
update_type INTEGER(1) NOT NULL CHECK (update_type >= 0), update_type INTEGER(1) NOT NULL CHECK (update_type >= 0),
update_interval INTEGER NOT NULL CHECK (update_interval >= 3) DEFAULT 15, update_interval INTEGER NOT NULL CHECK (update_interval >= 1) DEFAULT 15,
type INTEGER, type INTEGER,
account_id INTEGER NOT NULL, account_id INTEGER NOT NULL,
custom_id TEXT, custom_id TEXT,

View File

@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS Feeds (
username TEXT, username TEXT,
password TEXT, password TEXT,
update_type INTEGER(1) NOT NULL CHECK (update_type >= 0), update_type INTEGER(1) NOT NULL CHECK (update_type >= 0),
update_interval INTEGER NOT NULL DEFAULT 15 CHECK (update_interval >= 3), update_interval INTEGER NOT NULL DEFAULT 15 CHECK (update_interval >= 1),
type INTEGER, type INTEGER,
account_id INTEGER NOT NULL, account_id INTEGER NOT NULL,
custom_id TEXT, custom_id TEXT,

View File

@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS Feeds (
username TEXT, username TEXT,
password TEXT, password TEXT,
update_type INTEGER(1) NOT NULL CHECK (update_type >= 0), update_type INTEGER(1) NOT NULL CHECK (update_type >= 0),
update_interval INTEGER NOT NULL CHECK (update_interval >= 3) DEFAULT 15, update_interval INTEGER NOT NULL CHECK (update_interval >= 1) DEFAULT 15,
type INTEGER, type INTEGER,
account_id INTEGER NOT NULL, account_id INTEGER NOT NULL,
custom_id TEXT, custom_id TEXT,

View File

@ -65,7 +65,7 @@ CREATE TABLE Feeds (
username TEXT, username TEXT,
password TEXT, password TEXT,
update_type INTEGER(1) NOT NULL CHECK (update_type >= 0), update_type INTEGER(1) NOT NULL CHECK (update_type >= 0),
update_interval INTEGER NOT NULL CHECK (update_interval >= 5) DEFAULT 15, update_interval INTEGER NOT NULL CHECK (update_interval >= 1) DEFAULT 15,
type INTEGER, type INTEGER,
account_id INTEGER NOT NULL, account_id INTEGER NOT NULL,
custom_id TEXT, custom_id TEXT,

View File

@ -6,7 +6,7 @@
TimeSpinBox::TimeSpinBox(QWidget* parent) : QDoubleSpinBox(parent) { TimeSpinBox::TimeSpinBox(QWidget* parent) : QDoubleSpinBox(parent) {
setAccelerated(true); setAccelerated(true);
setMinimum(3.0); setMinimum(1.0);
setMaximum(10000000.0); setMaximum(10000000.0);
setMode(TimeSpinBox::Mode::HoursMinutes); setMode(TimeSpinBox::Mode::HoursMinutes);
} }