1
0
Fork 0
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:
Lynne Megido 2019-09-03 12:03:16 +10:00
parent 4e79872eae
commit 4f2741c384
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -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,