diff --git a/init_sqlite.sh b/init_sqlite.sh index 6eb1f95..2709ceb 100755 --- a/init_sqlite.sh +++ b/init_sqlite.sh @@ -38,7 +38,7 @@ $SQLITE "$1" -init schema.txt "insert into config ( registration_enabled ) values ( - 'agreper-v0.1', + 'agreper-v0.1.1', 'Agreper', '', '$(head -c 30 /dev/urandom | base64)', diff --git a/schema.txt b/schema.txt index fdd8869..819618e 100644 --- a/schema.txt +++ b/schema.txt @@ -27,7 +27,7 @@ create table threads ( title varchar(64) not null, text text not null, score integer not null default 0, - dead boolean not null default false + hidden boolean not null default false ); create table comments ( @@ -39,7 +39,7 @@ create table comments ( modify_time integer not null, text text not null, score integer not null default 0, - dead boolean not null default false + hidden boolean not null default false ); create table forums (