Add comment about foreign keys.

This commit is contained in:
voussoir 2021-01-01 17:00:20 -08:00
parent 9d048a5d88
commit b73fb69612

View file

@ -57,6 +57,7 @@ BEGIN;
{DB_PRAGMAS}
{DB_VERSION_PRAGMA}
----------------------------------------------------------------------------------------------------
-- users table is defined first because other tables have foreign keys here.
CREATE TABLE IF NOT EXISTS users(
id TEXT PRIMARY KEY NOT NULL,
username TEXT NOT NULL COLLATE NOCASE,