
/* SFT database migrations init */

CREATE TABLE IF NOT EXISTS _sft_db (
    db_rev INTEGER PRIMARY KEY, -- migration filename without sql suffix (.sql)
    sft_ver TEXT,
    applied_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- DELETE FROM _sft_db;

INSERT INTO _sft_db (db_rev, sft_ver, applied_at) VALUES (0, "0.0.1-pre-alpha1", CURRENT_TIMESTAMP);
