mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-27 14:58:59 +00:00
prepare for webpush integration
This commit is contained in:
parent
4e79872eae
commit
4f2741c384
2 changed files with 5 additions and 0 deletions
|
@ -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 a new issue