trilium/migrations
2018-01-21 23:36:09 -05:00
..
0001__cleanup_tables.sql more fixes to migration 2017-10-22 20:29:31 -04:00
0002__cleanup_unused_columns_from_notes.sql cleanup columns from notes table 2017-10-22 21:05:01 -04:00
0003__add_is_deleted_to_note.sql notes are now soft-deleted 2017-10-22 22:13:24 -04:00
0004__add_date_modified_to_notes_tree.sql added date_modified to notes_tree 2017-10-22 22:56:42 -04:00
0005__cleanup_options.sql cleanup of options 2017-10-23 23:41:43 -04:00
0006__date_modified_from_to_in_note_history.sql note history snapshots now have date from and date to 2017-10-24 19:36:37 -04:00
0007__readd_encryption_to_note_history.sql note history snapshots now have date from and date to 2017-10-24 19:36:37 -04:00
0008__fix_note_history.sql fixed primary keys, added indexes 2017-10-24 20:00:54 -04:00
0009__indexes.sql fixed primary keys, added indexes 2017-10-24 20:00:54 -04:00
0010__add_is_deleted_to_notes_tree.sql notes_tree is now soft deleted as well 2017-10-24 22:58:59 -04:00
0011__add_last_synced_option.sql sync WIP 2017-10-25 22:39:21 -04:00
0012__create_index_on_notes_history.sql separate sync for pull (implemented) and push (not yet) 2017-10-26 20:31:31 -04:00
0013__last_sync_pulled_pushed.sql separate sync for pull (implemented) and push (not yet) 2017-10-26 20:31:31 -04:00
0014__change_audit_log_id.sql fix sync of audit log 2017-10-26 21:53:26 -04:00
0015__trim_note_ids.sql trim note_ids to 22 characters (there was a bug in nodejs backend which generated 32 character noteids) 2017-10-28 10:21:55 -04:00
0016__trim_note_ids2.sql shortening of noteIds to 12 characters 2017-10-28 12:12:20 -04:00
0017__document_id.sql added document_id for sync identification 2017-10-28 13:19:12 -04:00
0018__document_secret.sql added document_secret as basis for API authentication 2017-10-28 19:55:55 -04:00
0019__date_modified_for_options.sql added date_modified to options as preparation for options syncing 2017-10-29 16:14:59 -04:00
0020__sync.sql created sync table 2017-10-30 18:44:26 -04:00
0021__sync_add_source_id.sql added sourceId to sync, fixes to sync etc. 2017-10-31 00:15:49 -04:00
0022__add_note_history_id.sql added sourceId to sync, fixes to sync etc. 2017-10-31 00:15:49 -04:00
0023__remove_id_from_note_history.sql removed id from notes_history, new primary key is note_history_id 2017-11-02 19:23:52 -04:00
0024__remove_id_from_options.sql removed ID from options, opt_name is now new primary key 2017-11-02 23:02:35 -04:00
0025__create_event_log.sql event_log - entity and logging sync info 2017-11-03 22:08:27 -04:00
0026__recent_notes_table.sql persisted recent notes 2017-11-04 23:46:50 -04:00
0027__is_deleted_in_recent_notes.sql added sync for recent notes 2017-11-05 00:16:02 -04:00
0028__rename_encryption_to_protected.sql server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note" 2017-11-14 21:54:12 -05:00
0029__rename_encryption_session_timeout_to_protected_session_timeout.sql renamed encryption session timeout to protected session timeout 2017-11-14 22:44:45 -05:00
0030__hello_world.js changing from AES-256-CTR to AES-128-CBC for note encryption 2017-11-15 22:13:45 -05:00
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 data key is not encrypted with aes-cbc as well 2017-11-15 23:39:50 -05:00
0033__change_data_key_encryption_to_cbc.js cleaned up "CBC" from methods since we don't have CTR 2017-11-18 12:53:17 -05:00
0034__source_ids.sql we now remember past source ids so app restart won't change anything in sync operation 2017-11-16 21:50:00 -05:00
0035__root_notes_will_have_note_id_root.sql sync fixes 2017-11-16 22:18:25 -05:00
0036__clear_sync_table.sql sync fixes 2017-11-16 22:18:25 -05:00
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
0063__image_table.sql added basic support for uploading and serving files 2018-01-05 23:54:02 -05:00
0064__add_note_id_to_image_table.sql relation between notes and images 2018-01-06 21:49:02 -05:00
0065__notes_image.sql gif support 2018-01-07 09:22:55 -05:00
0066__create_attributes_table.sql added dialog and read only view of attributes 2018-01-11 00:01:16 -05:00
0067__add_is_synced_to_options.sql added is_synced to options to better differentiate between synced and not synced options 2018-01-11 22:45:25 -05:00
0068__add_note_type.sql first experiments with code mirror 2018-01-20 21:56:03 -05:00
0069__add_mime_to_note.sql support for loading and saving type and mime 2018-01-21 23:36:09 -05:00