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

This commit is contained in:
shockrah committed 2020-06-01 23:02:53 -07:00
1 parent 83576f1126
commit 125a728674
2 files changed
+10

No files matched your search

@@ -0,0 +1 @@
DROP TABLE `keys`'
@@ -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`)
);