1
mirror of https://gitlab.com/commento/commento.git synced 2025-04-28 06:30:28 -04:00
commento/db/20180922181651-page-attributes.sql

10 lines
352 B
SQL

-- 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);