mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
api,db: add page attributes and thread locking
This commit is contained in:
1 parent
0a03a2c6fc
commit
299649cea2
16 files changed
+427
-4
No files matched your search
@@ -0,0 +1,9 @@
|
||||
-- Introduces page attributes
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pages (
|
||||
domain TEXT NOT NULL ,
|
||||
path TEXT NOT NULL ,
|
||||
isLocked BOOLEAN NOT NULL DEFAULT false
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX pagesUniqueIndex ON pages(domain, path);
|
||||
Reference in new issue
Block a user