trilium/db/migrations
2021-02-01 23:51:04 +01:00
..
0001__cleanup_tables.sql
0002__cleanup_unused_columns_from_notes.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0017__document_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 renaming of sql methods to fit getRows/getEntities model 2018-01-29 17:41:59 -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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0038__rename_start_node.sql
0039__recent_notes_should_point_to_note_tree_id.sql
0040__fix_note_pid.sql
0041__recent_notes_with_note_path.sql
0042__remove_unique_index_on_note_id.sql
0043__clear_sync_table.sql
0044__drop_audit_log.sql
0045__add_prefix_to_notes_tree.sql
0046__drop_links_and_images.sql
0047__test.sql
0048__add_note_tree_id_to_recent_notes.sql
0049__rename_start_note_tree_id_to_note_path.sql
0050__string_dates.sql
0051__note_id_index_on_notes_tree.sql
0052__fill_sync_table.sql
0053__cleanup_inconsistencies.sql
0054__more_cleanup_inconsistencies.sql
0055__set_last_synced_push.sql
0056__fill_sync_again.sql
0057__add_foreign_keys.sql
0058__remove_foreign_key_from_notes_tree.sql
0059__remove_foreign_key_again.sql
0060__remove_rest_of_foreign_keys.sql
0061__change_index_to_unique.sql
0062__change_index_back_to_non_unique.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0063__image_table.sql
0064__add_note_id_to_image_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0065__notes_image.sql
0066__create_attributes_table.sql
0067__add_is_synced_to_options.sql
0068__add_note_type.sql
0069__add_mime_to_note.sql
0070__rename_columns_to_camel_case.sql
0071__fix_sync_entity_names.sql
0072__allow_multiple_attributes_per_note.sql
0073__add_isDeleted_to_attributes.sql deleting attributes, closes #34 2018-02-06 23:09:19 -05:00
0074__add_position_to_attribute.sql
0075__add_api_token.sql
0076__add_attribute_name_index.sql
0077__non_null_attribute_value.sql
0078__javascript_type.sql
0079__rename_note_tree.sql
0080__rename_attributes_to_labels.sql
0081__rename_history_snapshot_time_interval.sql
0082__camelCase_options.sql
0083__camelCase_labels.sql
0084__camelCase_reddit_ids.sql
0085__camelCase_run_values.sql
0086__camelCase_custom_labels.sql
0087__add_type_mime_to_note_revision.sql
0088__non_null_note_title_content.sql non null note title and content in the DB schema, allow saving non-valid JSON notes, children overview style changes 2018-04-11 00:10:11 -04:00
0089__add_root_branch.sql
0090__branch_index.sql
0091__drop_isDeleted_index.sql
0092__add_type_index.sql
0093__add_hash_field.sql
0094__unify_auditing_fields.sql
0095__mime_type_for_render.sql
0096__unify_surrogate_keys.sql
0097__add_zoomFactor.sql
0098__rename_hideInAutocomplete.sql renamed hideInAutocomplete label to archived 2018-06-07 19:26:28 -04:00
0099__add_theme_option.sql added too options new tab appearance with possibility to change theme (white, black, dark) and zoom factor 2018-06-08 23:18:53 -04:00
0100__remove_optionId.sql
0101__add_sync_options.sql #98, sync is now configured in the options 2018-07-22 22:21:16 +02:00
0102__fix_sync_entityIds.sql
0103__add_initialized_option.sql
0104__fill_sync_rows_for_options.js refactored "sync" table to "entity_changes" 2020-08-02 23:27:48 +02:00
0105__delete_content_from_soft_deleted_notes.sql
0106__add_relations_table.sql #126, added skeleton of note relations, copied from similar concept of labels 2018-07-27 10:52:48 +02:00
0107__add_inheritable_attribute_to_relations.sql it's now possible to mark relation as inheritable (previously this was hardcoded for specific relation names) 2018-07-29 20:33:42 +02:00
0108__new_backup_options.sql
0109__create_attributes.sql fix migration 2018-08-14 16:09:30 +02:00
0110__add_isInheritable_to_attributes.sql
0111__cleanup_labels_and_relations.sql
0112__rename_inheritAttributes.sql
0113__left_pane_size_options.sql
0114__fix_root_note_cycle.sql
0115__images_in_notes.sql
0116__add_indexes.sql
0117__fix_attributes_of_deleted_notes.sql
0118__fix_broken_relations.sql
0119__rename_mirror_to_inverse.sql
0120__migrate_hideInAutocomplete_to_archived.sql
0121__add_hoisting_option.sql
0122__add_iv_to_columns.js
0123__add_options_for_font_sizes.sql
0124__readd_font_sizes.sql
0125__create_note_content_table.sql
0126__fill_sync_for_note_contents.sql
0127__fix_inconsistent_isProtected.sql
0128__add_note_fulltext.sql
0129__fill_note_fulltext.js
0130__rename_dates_to_utc.sql
0131__cleanup_note_contents.sql
0132__fill_sync.js refactored "sync" table to "entity_changes" 2020-08-02 23:27:48 +02:00
0133__drop_note_fulltext.sql
0134__create_openTabs_option.sql
0135__add_hideTabRowForOneTab_option.sql configurable hiding of tab row for one tab 2019-05-12 21:45:30 +02:00
0136__update_recent_notes.sql
0137__links_to_attributes.sql Link entity migrated to Attribute, WIP 2019-08-19 20:12:00 +02:00
0138__sidebar_sizing.sql resizing sidebar in options 2019-08-19 23:02:19 +02:00
0139__show_sidebar_in_new_tab.sql
0140__widget_config.sql
0141__add_code_note_mime_types.sql
0142__similar_notes_widget.sql
0143__drop_event_log.sql removed event log 2019-09-02 20:30:28 +02:00
0144__edited_notes_widget.sql
0145__calendar_widget.sql calendar widget setup 2019-09-08 13:08:01 +02:00
0146__add_spell_check_options.sql spell check support + small options tabs reorganization 2019-10-06 21:35:26 +02:00
0147__add_hideTabRowForOneTab_if_missing.sql
0148__make_isExpanded_not_null.sql
0149__space_out_positions.sql
0150__note_revision_contents.sql including ckeditor mentions plugin for easy linking 2019-11-06 22:58:32 +01:00
0151__add_isErased_to_note.sql fix migration script 2019-11-12 21:32:35 +01:00
0152__add_contentLength_to_note.sql fix migration script in case of not fully consistent database (missing note_contents for note). closes #717 2019-11-23 11:13:57 +01:00
0153__add_isErased_to_note_revision.sql fix note revision's isErased initial value after migration 2019-11-11 23:26:46 +01:00
0154__system_links_should_follow_camelCase.sql system links (internal, image, relation map) should follow camelCase convention used for other attributes 2019-11-23 20:54:49 +01:00
0155__indexes.sql added index to source_ids 2019-12-01 14:39:24 +01:00
0156__add_deleteId.sql undelete note WIP 2020-01-03 10:48:36 +01:00
0157__fix_contentLength.sql migration script to fix contentLength = -1 in new notes 2020-01-19 09:08:33 +01:00
0158__add_isSynced_to_sync.sql fix migration script to preserve sync IDs 2020-03-15 11:19:30 +01:00
0159__fix_isSynced_in_sync_rows.sql import of initial demo document sets sync.isSynced incorrectly to always 0, #1163 2020-07-31 00:07:38 +02:00
0160__migrate_attr_definitions.sql fixed db migrations after merge from stable 2020-08-02 20:44:46 +02:00
0161__attr_def_short.js make migration more robust for cases where attribute definitions don't contain valid values, closes #1207 2020-08-27 12:44:49 +02:00
0162__drop_source_ids.sql fixed db migrations after merge from stable 2020-08-02 20:44:46 +02:00
0163__rename_sync_to_entity_changes.sql refactored "sync" table to "entity_changes" 2020-08-02 23:27:48 +02:00
0164__rename_utcSyncDate.sql updated schema for entity_changes table 2020-08-09 22:44:53 +02:00
0165__move_contentLength.sql many changes related to #1192: 2020-08-16 22:57:48 +02:00
0166__add_dateModified_to_note_content.sql make migration more robust, fixes #1271 2020-09-26 23:25:35 +02:00
0167__remove_activateParentNote.sql fix note cache for out of order synced entities 2020-08-27 22:37:57 +02:00
0168__rename_hideInAutocomplete_to_archived.sql refactoring for archived notes handling in note cache 2020-09-07 00:05:01 +02:00
0169__convert_h1_to_h2.js fix migration so that only really changed notes are updated, #1254 2020-10-03 20:51:14 +02:00
0170__fix_branch_ordering.js added migration to fix notePosition to always step in 10 increments 2020-09-23 23:08:58 +02:00
0171__cleanup_options.sql WIP per-tab hoisting 2020-11-23 22:52:48 +01:00
0172__migrate_saved_notes.js improvements to saved search 2020-11-30 23:20:12 +01:00
0173__isErased_in_entity_changes.sql small fixes to migration scripts 2021-01-30 22:00:09 +01:00
0174__move_hash_to_entity_changes.sql DB migration fixes 2020-12-16 20:58:43 +01:00
0175__rename_eraseNotesAfterTimeInSeconds.sql VACUUM for migration 2021-01-30 22:12:38 +01:00
0176__remove_utcDateCreated_in_attributes.sql fixes of recent entity changes 2020-12-14 14:17:51 +01:00
0177__cleanup_keyboard_shortcuts.sql fixes and optimizations 2020-12-14 22:12:26 +01:00
0178__drop_isDeleted_index.sql drop isDeleted index 2020-12-15 15:30:46 +01:00
0179__VACUUM.sql VACUUM for migration 2021-01-30 22:12:38 +01:00
0180__rename_quickSearch_shortcut.sql quick search impl finished 2021-02-01 23:51:04 +01:00