@beaker/core
Version:
Beaker browser's core software
20 lines (14 loc) • 513 B
JavaScript
module.exports = `
-- add the 'hidden' flag to archives
ALTER TABLE archives ADD COLUMN hidden INTEGER DEFAULT 0;
-- add a database for tracking draft dats
CREATE TABLE archive_drafts (
profileId INTEGER,
masterKey TEXT, -- key of the master dat
draftKey TEXT, -- key of the draft dat
createdAt INTEGER DEFAULT (strftime('%s', 'now')),
isActive INTEGER, -- is this the active draft? (deprecated)
FOREIGN KEY (profileId) REFERENCES profiles (id) ON DELETE CASCADE
);
PRAGMA user_version = 19;
`