prepare for webpush integration
This commit is contained in:
parent
4e79872eae
commit
4f2741c384
|
@ -6,3 +6,5 @@ Flask==1.1.1
|
|||
flask-mysqldb==0.2.0
|
||||
bcrypt == 3.1.7
|
||||
requests==2.22.0
|
||||
http-ece==1.1.0
|
||||
cryptography==2.7
|
||||
|
|
|
@ -18,6 +18,9 @@ CREATE TABLE IF NOT EXISTS `bots` (
|
|||
`handle` VARCHAR(128) PRIMARY KEY,
|
||||
`user_id` INT NOT NULL,
|
||||
`credentials_id` INT NOT NULL,
|
||||
`push_private_key` VARCHAR(256) NOT NULL,
|
||||
`push_public_key` VARCHAR(256) NOT NULL,
|
||||
`push_secret` VARCHAR(256),
|
||||
`enabled` BOOLEAN DEFAULT 1,
|
||||
`replies_enabled` BOOLEAN DEFAULT 1,
|
||||
`post_frequency` SMALLINT UNSIGNED DEFAULT 30,
|
||||
|
|
Loading…
Reference in New Issue