diff --git a/docs/schema.sqlite3.sql b/docs/schema.sqlite3.sql index 88265a9..57c740d 100644 --- a/docs/schema.sqlite3.sql +++ b/docs/schema.sqlite3.sql @@ -16,12 +16,14 @@ CREATE TABLE "pages" ( ON DELETE CASCADE ON UPDATE CASCADE ); -CREATE UNIQUE INDEX "pages_uniq" ON "pages" ("hash"); +CREATE UNIQUE INDEX "pages_uniq" ON "pages" ("sid", "hash"); CREATE TABLE "comments" ( "id" INTEGER PRIMARY KEY NOT NULL, - "pid" int(11) NOT NULL, - "seq" int(11) NOT NULL, + "pid" int(11) NOT NULL, + "seq" int(11) NOT NULL, + "date" int(11) NOT NULL, + "reply" int(11) NOT NULL DEFAULT 0, "name" varchar(255) NOT NULL DEFAULT '', "email" varchar(255) NOT NULL DEFAULT '', "text" text NOT NULL,