trilium/migrations/0025__create_event_log.sql
2017-11-03 22:08:27 -04:00

10 lines
No EOL
219 B
SQL

CREATE TABLE `event_log` (
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
`note_id` TEXT,
`comment` TEXT,
`date_added` INTEGER NOT NULL
);
CREATE INDEX `IDX_event_log_date_added` ON `event_log` (
`date_added`
);