Add comment about foreign keys.
This commit is contained in:
parent
9d048a5d88
commit
b73fb69612
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ BEGIN;
|
||||||
{DB_PRAGMAS}
|
{DB_PRAGMAS}
|
||||||
{DB_VERSION_PRAGMA}
|
{DB_VERSION_PRAGMA}
|
||||||
----------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------
|
||||||
|
-- users table is defined first because other tables have foreign keys here.
|
||||||
CREATE TABLE IF NOT EXISTS users(
|
CREATE TABLE IF NOT EXISTS users(
|
||||||
id TEXT PRIMARY KEY NOT NULL,
|
id TEXT PRIMARY KEY NOT NULL,
|
||||||
username TEXT NOT NULL COLLATE NOCASE,
|
username TEXT NOT NULL COLLATE NOCASE,
|
||||||
|
|
Loading…
Reference in a new issue