Update schema.txt

This commit is contained in:
David Hoppenbrouwers
2022-10-12 22:02:10 +02:00
parent 77e9051334
commit 8f53d143db
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ $SQLITE "$1" -init schema.txt "insert into config (
registration_enabled registration_enabled
) )
values ( values (
'agreper-v0.1', 'agreper-v0.1.1',
'Agreper', 'Agreper',
'', '',
'$(head -c 30 /dev/urandom | base64)', '$(head -c 30 /dev/urandom | base64)',

View File

@@ -27,7 +27,7 @@ create table threads (
title varchar(64) not null, title varchar(64) not null,
text text not null, text text not null,
score integer not null default 0, score integer not null default 0,
dead boolean not null default false hidden boolean not null default false
); );
create table comments ( create table comments (
@@ -39,7 +39,7 @@ create table comments (
modify_time integer not null, modify_time integer not null,
text text not null, text text not null,
score integer not null default 0, score integer not null default 0,
dead boolean not null default false hidden boolean not null default false
); );
create table forums ( create table forums (