mirror of
https://github.com/zadam/trilium.git
synced 2024-11-13 19:26:28 +08:00
15 lines
No EOL
454 B
SQL
15 lines
No EOL
454 B
SQL
create table options_mig
|
|
(
|
|
name TEXT not null PRIMARY KEY,
|
|
value TEXT,
|
|
dateModified INT,
|
|
isSynced INTEGER default 0 not null,
|
|
hash TEXT default "" not null,
|
|
dateCreated TEXT default '1970-01-01T00:00:00.000Z' not null
|
|
);
|
|
|
|
INSERT INTO options_mig (name, value, dateModified, isSynced, hash, dateCreated)
|
|
SELECT name, value, dateModified, isSynced, hash, dateCreated FROM options;
|
|
|
|
DROP TABLE options;
|
|
ALTER TABLE options_mig RENAME TO options; |