Skip to main content

BOOTSTRAP_SQL

Constant BOOTSTRAP_SQL 

Source
pub const BOOTSTRAP_SQL: &str = "
CREATE TABLE IF NOT EXISTS schema_meta (
    key   TEXT PRIMARY KEY,
    value TEXT NOT NULL
);
";
Expand description

Bootstrap: meta table that holds schema_version and console_version. Must be created before any migration can read the version.