From 62ee6e42cf77ed9480607e21684c03a9e43ed456 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 23 Aug 2017 11:35:42 +1000 Subject: [PATCH] * change db schema --- docs/schema.sqlite3.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/schema.sqlite3.sql b/docs/schema.sqlite3.sql index 57c740d..5033d5e 100644 --- a/docs/schema.sqlite3.sql +++ b/docs/schema.sqlite3.sql @@ -2,7 +2,8 @@ BEGIN TRANSACTION; CREATE TABLE "sites" ( "id" INTEGER PRIMARY KEY NOT NULL, - "site" varchar(4) NOT NULL + "site" varchar(4) NOT NULL, + "captcha" int(1) NOT NULL DEFAULT 1 ); CREATE UNIQUE INDEX "sites_uniq" ON "sites" ("site"); @@ -24,6 +25,8 @@ CREATE TABLE "comments" ( "seq" int(11) NOT NULL, "date" int(11) NOT NULL, "reply" int(11) NOT NULL DEFAULT 0, + "notify" int(1) NOT NULL DEFAULT 0, + "addr" varchar(32) NOT NULL DEFAULT '', "name" varchar(255) NOT NULL DEFAULT '', "email" varchar(255) NOT NULL DEFAULT '', "text" text NOT NULL,