note history snapshots now have date from and date to

This commit is contained in:
azivner
2017-10-24 19:36:37 -04:00
parent 11bbf9e633
commit d1981eb6c3
6 changed files with 12 additions and 6 deletions
@@ -0,0 +1,3 @@
CREATE TABLE notes_history_mig AS SELECT id, note_id, note_title, note_text, date_modified AS date_modified_from, date_modified AS date_modified_to FROM notes_history;
DROP TABLE notes_history;
ALTER TABLE notes_history_mig RENAME TO notes_history;
@@ -0,0 +1 @@
ALTER TABLE notes_history ADD COLUMN encryption INTEGER DEFAULT 0