schema_version
1 row
This data as json, CSV (advanced)
Advanced export
JSON shape: default, array, newline-delimited
CREATE TABLE schema_version(
Lock CHAR(1) NOT NULL DEFAULT 'X' UNIQUE, -- Makes sure this table only has one row.
version INTEGER NOT NULL,
upgraded BOOL NOT NULL, -- Whether we reached this version from an upgrade or an initial schema.
CHECK (Lock='X')
);