new keys table to let auth::wall_entry check for api access

This commit is contained in:
shockrah 2020-06-01 23:02:53 -07:00
parent 83576f1126
commit 125a728674
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
DROP TABLE `keys`'

View File

@ -0,0 +1,9 @@
-- ID's are given to properly auth'ed users
-- Limit represents a daily limit imposed on users
-- Limits that are null just mean the limit does not exist
CREATE TABLE IF NOT EXISTS `keys`(
`id` varchar(64) NOT NULL,
`limit` integer,
PRIMARY KEY(`id`)
);