trilium/migrations
2018-01-03 21:29:13 -05:00
..
0001__cleanup_tables.sql
0002__cleanup_unused_columns_from_notes.sql
0003__add_is_deleted_to_note.sql
0004__add_date_modified_to_notes_tree.sql
0005__cleanup_options.sql
0006__date_modified_from_to_in_note_history.sql
0007__readd_encryption_to_note_history.sql
0008__fix_note_history.sql
0009__indexes.sql
0010__add_is_deleted_to_notes_tree.sql
0011__add_last_synced_option.sql
0012__create_index_on_notes_history.sql
0013__last_sync_pulled_pushed.sql
0014__change_audit_log_id.sql
0015__trim_note_ids.sql
0016__trim_note_ids2.sql
0017__document_id.sql
0018__document_secret.sql
0019__date_modified_for_options.sql
0020__sync.sql
0021__sync_add_source_id.sql
0022__add_note_history_id.sql
0023__remove_id_from_note_history.sql
0024__remove_id_from_options.sql
0025__create_event_log.sql
0026__recent_notes_table.sql
0027__is_deleted_in_recent_notes.sql
0028__rename_encryption_to_protected.sql
0029__rename_encryption_session_timeout_to_protected_session_timeout.sql
0030__hello_world.js
0031__change_encryption_to_CBC.js change in naming of SQL methods 2017-12-23 11:02:38 -05:00
0032__add_option_for_encrypted_data_key_iv.sql
0033__change_data_key_encryption_to_cbc.js
0034__source_ids.sql
0035__root_notes_will_have_note_id_root.sql
0036__clear_sync_table.sql
0037__add_note_tree_id.sql notes_tree now has note_tree_id so we stricly distinguish between working on notes or note trees 2017-11-18 17:05:50 -05:00
0038__rename_start_node.sql notes_tree now has note_tree_id so we stricly distinguish between working on notes or note trees 2017-11-18 17:05:50 -05:00
0039__recent_notes_should_point_to_note_tree_id.sql notes_tree now has note_tree_id so we stricly distinguish between working on notes or note trees 2017-11-18 17:05:50 -05:00
0040__fix_note_pid.sql removed notes_parent, instead using notes_tree 2017-11-19 11:28:46 -05:00
0041__recent_notes_with_note_path.sql fixed recent notes 2017-11-19 12:06:48 -05:00
0042__remove_unique_index_on_note_id.sql adding clone from recent notes dialog 2017-11-19 16:35:35 -05:00
0043__clear_sync_table.sql added content hash check 2017-11-21 22:11:27 -05:00
0044__drop_audit_log.sql removed audit_log 2017-11-24 20:51:44 -05:00
0045__add_prefix_to_notes_tree.sql initial implementation of tree prefix 2017-11-26 22:34:25 -05:00
0046__drop_links_and_images.sql drop links and images tables 2017-11-29 20:48:58 -05:00
0047__test.sql migration now works also in electron 2017-11-30 19:58:00 -05:00
0048__add_note_tree_id_to_recent_notes.sql recent notes are now keyed by note tree id which simplifies things 2017-12-03 10:06:53 -05:00
0049__rename_start_note_tree_id_to_note_path.sql renamed start_note_tree_id option to startNotePath 2017-12-06 23:15:53 -05:00
0050__string_dates.sql fixes for dates in sync 2017-12-10 15:45:17 -05:00
0051__note_id_index_on_notes_tree.sql implemented consistency checks 2017-12-14 22:16:26 -05:00
0052__fill_sync_table.sql filling up missing sync rows 2017-12-14 22:47:55 -05:00
0053__cleanup_inconsistencies.sql cleanup inconsistencies from prod DB. Show error message on frontend in case of inconsistencies 2017-12-14 23:21:03 -05:00
0054__more_cleanup_inconsistencies.sql more cleanups 2017-12-14 23:28:50 -05:00
0055__set_last_synced_push.sql set last synced push to avoid full sync after DB upgrade 2017-12-14 23:38:03 -05:00
0056__fill_sync_again.sql extra sync consistency check for extra sync rows 2017-12-15 22:16:28 -05:00
0057__add_foreign_keys.sql added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -05:00
0058__remove_foreign_key_from_notes_tree.sql removed foreign key from notes_tree parent_note_id because of sync issues 2017-12-20 22:30:17 -05:00
0059__remove_foreign_key_again.sql remove also second foreign key from notes_tree 2017-12-20 22:39:18 -05:00
0060__remove_rest_of_foreign_keys.sql remove all other foreign keys from synced entities 2017-12-20 22:43:24 -05:00
0061__change_index_to_unique.sql note_id - parent_note_id index needs to be unique 2018-01-02 19:20:42 -05:00
0062__change_index_back_to_non_unique.sql removed unique index again - from now on the invariant is that there's unique undeleted relationship between note and parent note 2018-01-03 21:29:13 -05:00