trilium/db/migrations
2020-10-03 20:51:14 +02:00
..
0001__cleanup_tables.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0004__add_date_modified_to_notes_tree.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0005__cleanup_options.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0006__date_modified_from_to_in_note_history.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0007__readd_encryption_to_note_history.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0008__fix_note_history.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0009__indexes.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0010__add_is_deleted_to_notes_tree.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0011__add_last_synced_option.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0012__create_index_on_notes_history.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0013__last_sync_pulled_pushed.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0014__change_audit_log_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0015__trim_note_ids.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0019__date_modified_for_options.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0020__sync.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0021__sync_add_source_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0022__add_note_history_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0023__remove_id_from_note_history.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0024__remove_id_from_options.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0025__create_event_log.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0026__recent_notes_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0029__rename_encryption_session_timeout_to_protected_session_timeout.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0030__hello_world.js moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0033__change_data_key_encryption_to_cbc.js moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0034__source_ids.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0035__root_notes_will_have_note_id_root.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0036__clear_sync_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0039__recent_notes_should_point_to_note_tree_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0040__fix_note_pid.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0041__recent_notes_with_note_path.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0042__remove_unique_index_on_note_id.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0043__clear_sync_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0044__drop_audit_log.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0045__add_prefix_to_notes_tree.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0046__drop_links_and_images.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0047__test.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0048__add_note_tree_id_to_recent_notes.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0049__rename_start_note_tree_id_to_note_path.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0050__string_dates.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0051__note_id_index_on_notes_tree.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0052__fill_sync_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0053__cleanup_inconsistencies.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0054__more_cleanup_inconsistencies.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0055__set_last_synced_push.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0056__fill_sync_again.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0057__add_foreign_keys.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0058__remove_foreign_key_from_notes_tree.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0059__remove_foreign_key_again.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0060__remove_rest_of_foreign_keys.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0061__change_index_to_unique.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
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 moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0066__create_attributes_table.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0067__add_is_synced_to_options.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0068__add_note_type.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0069__add_mime_to_note.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0070__rename_columns_to_camel_case.sql moved migration directory to db, fix sync records 2018-01-28 21:00:54 -05:00
0071__fix_sync_entity_names.sql sync fixes 2018-01-30 23:23:19 -05:00
0072__allow_multiple_attributes_per_note.sql allow duplicated attribute per note (in effect attributes can be multi-valued). Closes #33 2018-02-06 21:18:09 -05:00
0073__add_isDeleted_to_attributes.sql deleting attributes, closes #34 2018-02-06 23:09:19 -05:00
0074__add_position_to_attribute.sql added attributes sorting 2018-02-10 08:37:14 -05:00
0075__add_api_token.sql added support for trilium-sender 2018-02-11 00:18:59 -05:00
0076__add_attribute_name_index.sql new attribute "hide_in_autocomplete", fixes #16 2018-02-13 22:30:33 -05:00
0077__non_null_attribute_value.sql attribute value is now non-null, fixes #52 2018-02-16 19:07:59 -05:00
0078__javascript_type.sql split javascript mime type into frontend and backend 2018-03-05 22:08:45 -05:00
0079__rename_note_tree.sql renaming note_tree to branch 2018-03-24 21:39:15 -04:00
0080__rename_attributes_to_labels.sql renaming attributes to labels, fixes #79 2018-03-24 22:02:26 -04:00
0081__rename_history_snapshot_time_interval.sql refactored all mentions of "history" to "revision" 2018-03-25 20:52:38 -04:00
0082__camelCase_options.sql option names now follow camelCase 2018-04-02 21:47:46 -04:00
0083__camelCase_labels.sql camelCase builtin labels 2018-04-02 21:56:55 -04:00
0084__camelCase_reddit_ids.sql camel case for reddit labels and run values 2018-04-04 22:29:11 -04:00
0085__camelCase_run_values.sql camel casing and fixes 2018-04-04 23:04:31 -04:00
0086__camelCase_custom_labels.sql camel casing and fixes 2018-04-04 23:04:31 -04:00
0087__add_type_mime_to_note_revision.sql added type and mime to note revisions 2018-04-08 11:57:14 -04:00
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 load only expanded tree with the rest being lazy loaded, WIP 2018-04-16 16:26:47 -04:00
0090__branch_index.sql load only expanded tree with the rest being lazy loaded, WIP 2018-04-16 16:26:47 -04:00
0091__drop_isDeleted_index.sql load only expanded tree with the rest being lazy loaded, WIP 2018-04-16 16:26:47 -04:00
0092__add_type_index.sql add index for note's type + some fixes 2018-05-21 20:12:46 -04:00
0093__add_hash_field.sql added hash columns for faster sync check calculation 2018-05-22 00:15:54 -04:00
0094__unify_auditing_fields.sql unify audit fields, fixes #102 2018-05-26 12:38:25 -04:00
0095__mime_type_for_render.sql render notes can be edited and can contain HTML markup 2018-05-26 19:27:47 -04:00
0096__unify_surrogate_keys.sql unifying surrogate keys for event log and options, fixes #103 2018-05-26 23:25:09 -04:00
0097__add_zoomFactor.sql persisting zoom setting in electron, fixes #112 2018-06-02 13:02:20 -04:00
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 remove optionId, closes #117 2018-06-13 19:10:28 -04:00
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 #98, sync setup now doesn't copy the whole DB file, but sets up minimal database and starts off sync 2018-07-23 21:15:32 +02:00
0103__add_initialized_option.sql #98, new option "initialized" which indicates if setup has been finished 2018-07-24 08:12:36 +02:00
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 soft-deleting note will delete its content and all the revisions content, fixes #132 2018-07-26 09:08:51 +02:00
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 changed backup to simple scheme with one daily, one weekly and one monthly backup, fixes #15 2018-07-30 16:40:50 +02:00
0109__create_attributes.sql fix migration 2018-08-14 16:09:30 +02:00
0110__add_isInheritable_to_attributes.sql work in progress on attributes UI - unification of labels and relations now mostly works 2018-08-03 13:06:56 +02:00
0111__cleanup_labels_and_relations.sql more cleanup of labels and relations from backend, dropping tables from db 2018-08-07 13:44:51 +02:00
0112__rename_inheritAttributes.sql child: prefix now copies attributes on new note creation 2018-08-21 13:49:45 +02:00
0113__left_pane_size_options.sql increased default min pane width to 350px 2018-09-06 12:02:42 +02:00
0114__fix_root_note_cycle.sql fixes for invalid operations on root note 2018-10-21 22:42:20 +02:00
0115__images_in_notes.sql fix DB migration and consistency issues 2018-11-18 10:20:06 +01:00
0116__add_indexes.sql image notes can't be updated + minor visual tweaks 2018-11-15 14:33:02 +01:00
0117__fix_attributes_of_deleted_notes.sql fix DB migration and consistency issues 2018-11-18 10:20:06 +01:00
0118__fix_broken_relations.sql fix DB migration and consistency issues 2018-11-18 10:20:06 +01:00
0119__rename_mirror_to_inverse.sql renamed "mirror" relation to "inverse" relation 2018-11-19 12:07:33 +01:00
0120__migrate_hideInAutocomplete_to_archived.sql export WIP + some unrelated changes 2018-11-25 10:26:45 +01:00
0121__add_hoisting_option.sql hoisting notes WIP 2018-12-11 21:53:56 +01:00
0122__add_iv_to_columns.js store iv directly in the respective columns 2019-01-11 23:04:51 +01:00
0123__add_options_for_font_sizes.sql store font size in options #326 2019-01-13 21:27:32 +01:00
0124__readd_font_sizes.sql font sizes were not created for new documents - fix plus migration for existing ones 2019-01-22 20:34:45 +01:00
0125__create_note_content_table.sql fix migration script 2019-02-15 21:10:00 +01:00
0126__fill_sync_for_note_contents.sql added sync fill for note_contents 2019-03-02 19:59:32 +01:00
0127__fix_inconsistent_isProtected.sql migration for inconsistent isProtected status across notes and note_contents 2019-03-30 20:09:38 +01:00
0128__add_note_fulltext.sql removed FTS5 completely 2019-04-21 12:03:13 +02:00
0129__fill_note_fulltext.js removed FTS5 completely 2019-04-21 12:03:13 +02:00
0130__rename_dates_to_utc.sql fix ordering of note migrations 2019-03-30 22:20:18 +01:00
0131__cleanup_note_contents.sql fix ordering of note migrations 2019-03-30 22:20:18 +01:00
0132__fill_sync.js refactored "sync" table to "entity_changes" 2020-08-02 23:27:48 +02:00
0133__drop_note_fulltext.sql removed FTS5 completely 2019-04-21 12:03:13 +02:00
0134__create_openTabs_option.sql work on hash & history 2019-05-14 22:29:47 +02:00
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 fix recent notes (db & sync version increase) 2019-05-21 21:47:28 +02:00
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 refactoring of access to options in frontend 2019-08-22 23:31:02 +02:00
0140__widget_config.sql calendar widget setup 2019-09-08 13:08:01 +02:00
0141__add_code_note_mime_types.sql options UI for selecting support code note MIME types 2019-08-29 21:08:53 +02:00
0142__similar_notes_widget.sql calendar widget setup 2019-09-08 13:08:01 +02:00
0143__drop_event_log.sql removed event log 2019-09-02 20:30:28 +02:00
0144__edited_notes_widget.sql calendar widget setup 2019-09-08 13:08:01 +02:00
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 add hideTabRowForOneTab if missing, fixes #660 2019-10-18 21:04:20 +02:00
0148__make_isExpanded_not_null.sql duplicate (single) note 2019-10-19 12:36:16 +02:00
0149__space_out_positions.sql duplicate (single) note 2019-10-19 12:36:16 +02:00
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