mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-09-05 11:06:23 -07:00
Fix broken SQLite connection, update README
This commit is contained in:
parent
2651c38765
commit
4e67e072e5
10 changed files with 80 additions and 66 deletions
|
@ -50,7 +50,7 @@ CREATE TABLE IF NOT EXISTS DBPREFIXboards (
|
|||
section INT NOT NULL DEFAULT 1,
|
||||
max_file_size INT NOT NULL DEFAULT 4718592,
|
||||
max_pages SMALLINT NOT NULL DEFAULT 11,
|
||||
default_style VARCHAR(45) NOT NULL,
|
||||
default_style VARCHAR(45) NOT NULL DEFAULT '',
|
||||
locked BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
created_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
anonymous VARCHAR(45) NOT NULL DEFAULT 'Anonymous',
|
||||
|
@ -135,7 +135,7 @@ CREATE TABLE IF NOT EXISTS DBPREFIXsections (
|
|||
abbreviation VARCHAR(10) NOT NULL
|
||||
);
|
||||
|
||||
CREATE TEMP TABLE IF NOT EXISTS DBPREFIXsessions (
|
||||
CREATE TABLE IF NOT EXISTS DBPREFIXsessions (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
name CHAR(16) NOT NULL,
|
||||
sessiondata VARCHAR(45) NOT NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue