omnivore/packages/db/migrations
2024-04-11 11:08:22 +08:00
..
0001.do.init_schema_role_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0001.undo.init_schema_role_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0002.do.articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0002.undo.articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0003.do.user_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0003.undo.user_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0004.do.user_friends.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0004.undo.user_friends.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0005.do.user_rename_twitter_id.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0005.undo.user_rename_twitter_id.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0006.do.user_rename_username.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0006.undo.user_rename_username.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0007.do.read_access_all_user_friends.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0007.undo.read_access_all_user_friends.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0008.do.user_personalization.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0008.undo.user_personalization.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0009.do.article_published_at.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0009.undo.article_published_at.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0010.do.user_articles_reading_percent_float.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0010.undo.user_articles_reading_percent_float.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0011.do.article_saving_request.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0011.undo.article_saving_request.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0012.do.user_articles_reading_progress_anchor_index.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0012.undo.user_articles_reading_progress_anchor_index.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0013.do.user-personalization_margin.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0013.undo.user-personalization_margin.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0014.do.user_updated_at_field.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0014.undo.user_updated_at_field.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0015.do.user_unique_email.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0015.undo.user_unique_email.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0016.do.user_article_saved_at_field_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0016.undo.user_article_saved_at_field_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0017.do.upload_files.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0017.undo.upload_files.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0018.do.article_with_uploaded_file.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0018.undo.article_with_uploaded_file.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0019.do.profiles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0019.undo.profiles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0020.do.create_profiles_for_existing_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0020.undo.create_profiles_for_existing_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0021.do.article_saving_request_task_name_field_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0021.undo.article_saving_request_task_name_field_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0022.do.highlights.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0022.undo.highlights.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0023.do.highlight_replies.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0023.undo.highlight_replies.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0024.do.highlight_note_reply_text_limit.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0024.undo.highlight_note_reply_text_limit.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0025.do.user_articles_shared_with_highlights_column_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0025.undo.user_articles_shared_with_highlights_column_creation.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0026.do.user_personalization_library_layout_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0026.undo.user_personalization_library_layout_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0027.do.highlight_short_id_field.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0027.undo.highlight_short_id_field.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0028.do.reactions.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0028.undo.reactions.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0029.do.add_membership_tier_column_to_user_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0029.undo.add_membership_tier_column_to_user_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0030.do.add_updated_at_column_to_article_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0030.undo.add_updated_at_column_to_article_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0031.do.add_tsv_column_to_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0031.undo.add_tsv_column_to_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0032.do.user_personalization_library-sort-order.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0032.undo.user_personalization_library-sort-order.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0033.do.add_article_slug_index.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0033.undo.add_article_slug_index.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0034.do.move_slug_to_user_article.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0034.undo.move_slug_to_user_article.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0035.do.create_admin_user_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0035.undo.create_admin_user_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0036.do.create_apple_registration_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0036.undo.create_apple_registration_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0037.do.create_abuse_report_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0037.undo.create_abuse_report_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0038.do.user_names.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0038.undo.user_names.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0039.do.rename_user_articles_to_links.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0039.undo.rename_user_articles_to_links.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0040.do.create_link_share_info_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0040.undo.create_link_share_info_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0041.do.upgrade_twitter_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0041.undo.upgrade_twitter_users.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0042.do.grant_update_and_rm_rls_on_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0042.undo.grant_update_and_rm_rls_on_articles.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0043.do.add_type_to_page.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0043.undo.add_type_to_page.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0044.do.rename_abuse_report_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0044.undo.rename_abuse_report_table.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0045.do.create_content_display_report.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0045.undo.create_content_display_report.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0046.do.create_group_tables.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0046.undo.create_group_tables.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0047.do.set_type_on_old_pdfs.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0047.undo.set_type_on_old_pdfs.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0048.do.rename_type_to_page_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0048.undo.rename_type_to_page_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0049.do.add_archived_at_column_to_links.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0049.undo.add_archived_at_column_to_links.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0050.do.newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0050.undo.newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0051.do.remove_row_level_security_in_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0051.undo.remove_row_level_security_in_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0052.do.grant_delete_on_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0052.undo.grant_delete_on_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0053.do.grant_update_on_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0053.undo.grant_update_on_newsletter_emails.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0054.do.add_id_to_newsletter_email.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0054.undo.add_id_to_newsletter_email.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0055.do.remove_article_url_hash_constraint.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0055.undo.remove_article_url_hash_constraint.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0056.do.reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0056.undo.reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0057.do.add_task_name_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0057.undo.add_task_name_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0058.do.add_remind_at_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0058.undo.add_remind_at_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0059.do.add_status_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0059.undo.add_status_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0060.do.add_type_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0060.undo.add_type_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0061.do.add_archive_until_and_send_notification_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0061.undo.add_archive_until_and_send_notification_to_reminders.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0062.do.user_device_tokens.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0062.undo.user_device_tokens.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0063.do.add_update_at_to_user_device_tokens.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0063.undo.add_update_at_to_user_device_tokens.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0064.do.remove_reminder_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0064.undo.remove_reminder_type.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0065.do.labels.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0065.undo.labels.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0066.do.rename_article_to_page.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0066.undo.rename_article_to_page.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0067.do.add_password_to_user.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0067.undo.add_password_to_user.sql Open source omnivore 2022-02-11 09:24:33 -08:00
0068.do.add_delete_cascade_on_upload_files.sql add tests for upload 2022-02-16 15:26:11 +08:00
0068.undo.add_delete_cascade_on_upload_files.sql add tests for upload 2022-02-16 15:26:11 +08:00
0069.do.add_delete_cascade_on_upload_file_id_to_pages.sql add tests for create article 2022-02-16 16:14:14 +08:00
0069.undo.add_delete_cascade_on_upload_file_id_to_pages.sql add tests for create article 2022-02-16 16:14:14 +08:00
0070.do.update_labels_table.sql ingore case when checking name uniqueness 2022-02-24 14:44:49 +08:00
0070.undo.update_labels_table.sql update tables 2022-02-24 14:44:48 +08:00
0071.do.add_domain_to_search_index.sql Create trigger with a new name 2022-02-24 22:38:34 -08:00
0071.undo.add_domain_to_search_index.sql Create trigger with a new name 2022-02-24 22:38:34 -08:00
0072.do.add_elastic_page_id.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0072.undo.add_elastic_page_id.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0073.do.drop_not_null_on_article_id.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0073.undo.drop_not_null_on_article_id.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0074.do.migrate_elastic_page_id_data.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0074.undo.migrate_elastic_page_id_data.sql Postgres migrations for the Elastic backend migration 2022-03-15 14:00:22 -07:00
0075.do.add_created_at_to_newsletter_emails.sql add created_at and updated_at to newsletter emails and sort by created_at desc 2022-03-22 18:43:47 +08:00
0075.undo.add_created_at_to_newsletter_emails.sql add created_at and updated_at to newsletter emails and sort by created_at desc 2022-03-22 18:43:47 +08:00
0076.do.drop_not_null_on_page_id.sql fix saving report item by linking to elastic page 2022-03-28 20:38:54 +08:00
0076.undo.drop_not_null_on_page_id.sql fix saving report item by linking to elastic page 2022-03-28 20:38:54 +08:00
0077.do.grant_update_permission_on_labels.sql Allow UPDATE on the labels table 2022-03-30 10:56:01 -07:00
0077.undo.grant_update_permission_on_labels.sql Allow UPDATE on the labels table 2022-03-30 10:56:01 -07:00
0078.do.grant_update_rls_on_labels.sql Add UPDATE permission to omnivore_user 2022-03-30 12:11:25 -07:00
0078.undo.grant_update_rls_on_labels.sql Add RLS permissions on the label table 2022-03-30 11:34:26 -07:00
0079.do.rm_update_permission_on_link_labels.sql Remove the update permission on the link_labels table 2022-03-30 12:23:22 -07:00
0079.undo.rm_update_permission_on_link_labels.sql Remove the update permission on the link_labels table 2022-03-30 12:23:22 -07:00
0080.do.add_subscriptions_table.sql Feature/subscription list resolver (#432) 2022-04-19 11:08:43 +08:00
0080.undo.add_subscriptions_table.sql Feature/subscription list resolver (#432) 2022-04-19 11:08:43 +08:00
0081.do.add_newsletter_email_to_subscriptions.sql Add unsubscribe resolver (#453) 2022-04-21 13:18:15 +08:00
0081.undo.add_newsletter_email_to_subscriptions.sql Add unsubscribe resolver (#453) 2022-04-21 13:18:15 +08:00
0082.do.add_default_subscription_status.sql Add basic UI for subscriptions 2022-04-22 12:17:09 -07:00
0082.undo.add_default_subscription_status.sql Add basic UI for subscriptions 2022-04-22 12:17:09 -07:00
0083.do.webhooks.sql Add webhook entity 2022-05-26 14:50:10 +08:00
0083.undo.webhooks.sql Add webhooks model 2022-05-26 14:49:27 +08:00
0084.do.webhook_permission.sql Grant permissions of webhooks table to omnivore_user 2022-05-27 17:32:18 +08:00
0084.undo.webhook_permission.sql Grant permissions of webhooks table to omnivore_user 2022-05-27 17:32:18 +08:00
0085.do.api_key.sql Grant permissions of api_key table to omnivore_user 2022-05-27 18:35:40 +08:00
0085.undo.api_key.sql Grant permissions of api_key table to omnivore_user 2022-05-27 18:35:40 +08:00
0086.do.grant_delete_on_user_table.sql migration to allow user to delete themseleves 2022-07-06 09:38:24 -07:00
0086.undo.grant_delete_on_user_table.sql add delete_user_rls to user table 2022-07-13 16:06:40 +08:00
0087.do.grant_delete_rls_on_user.sql add delete_user_rls to user table 2022-07-13 16:06:40 +08:00
0087.undo.grant_delete_rls_on_user.sql add delete_user_rls to user table 2022-07-13 16:06:40 +08:00
0088.do.add_status_to_user.sql add status to user table 2022-07-25 15:12:55 -07:00
0088.undo.add_status_to_user.sql add status to user table 2022-07-25 15:12:55 -07:00
0089.do.drop_membership_from_user.sql remove membership from user 2022-07-25 15:14:01 -07:00
0089.undo.drop_membership_from_user.sql remove membership from user 2022-07-25 15:14:01 -07:00
0090.do.add_position_to_labels.sql New label's position is in alphabetic order 2022-08-04 21:39:45 +08:00
0090.undo.add_position_to_labels.sql remove trigger and function in down migration 2022-08-04 21:37:33 +08:00
0091.do.integrations.sql Add taskName in integrations table 2022-08-05 16:09:26 +08:00
0091.undo.integrations.sql Fix conflicts after rebasing 2022-08-05 16:09:26 +08:00
0092.do.grant_permissions_to_integrations.sql Grant permissions of integrations table to omnivore_user 2022-08-10 16:47:12 +08:00
0092.undo.grant_permissions_to_integrations.sql Grant permissions of integrations table to omnivore_user 2022-08-10 16:47:12 +08:00
0093.do.speech.sql Upload speech marks file to gcs too 2022-08-18 19:24:38 +08:00
0093.undo.speech.sql Enqueue text to speech tasks 2022-08-18 19:23:41 +08:00
0094.do.add_state_to_speech.sql Return signed url 2022-08-18 19:24:38 +08:00
0094.undo.add_state_to_speech.sql Return signed url 2022-08-18 19:24:38 +08:00
0095.do.add_rls_to_speech.sql Add RLS to speech table 2022-08-26 16:56:33 +08:00
0095.undo.add_rls_to_speech.sql Add RLS to speech table 2022-08-26 16:56:33 +08:00
0096.do.subscriptions_icon.sql Add icon field to subscriptions table 2022-09-27 11:58:55 +08:00
0096.undo.subscriptions_icon.sql Add icon field to subscriptions table 2022-09-27 11:58:55 +08:00
0097.do.search_history.sql Save advanced search terms in search history too 2022-10-12 13:35:01 +08:00
0097.undo.search_history.sql Create search_history table and entity class 2022-10-10 17:44:55 +08:00
0098.do.create_features_table.sql Add optInFeature API 2022-11-09 17:35:54 +08:00
0098.undo.create_features_table.sql Remove token in features table 2022-11-09 11:32:08 +08:00
0099.do.rules.sql Add notification endpoint 2022-11-18 14:33:27 +08:00
0099.undo.rules.sql Add rules table migration sql 2022-11-17 14:50:57 +08:00
0100.do.filters.sql Add position in filter table and move filter api 2022-12-01 10:26:32 +08:00
0100.undo.filters.sql Add position in filter table and move filter api 2022-12-01 10:26:32 +08:00
0101.do.add_is_admin_to_group_membership.sql Add is_admin field to group_membership table 2022-12-01 17:47:12 +08:00
0101.undo.add_is_admin_to_group_membership.sql Add is_admin field to group_membership table 2022-12-01 17:47:12 +08:00
0102.do.add_unique_constraint_in_group_membership.sql Add joinGroup API 2022-12-05 12:47:38 +08:00
0102.undo.add_unique_constraint_in_group_membership.sql Add joinGroup API 2022-12-05 12:47:38 +08:00
0103.do.add_delete_permission_to_group.sql Add delete permission to group and membership tables 2022-12-08 16:29:46 +08:00
0103.undo.add_delete_permission_to_group.sql Add delete permission to group and membership tables 2022-12-08 16:29:46 +08:00
0104.do.add_description_to_group.sql Add canPost and canSeeMembers to type Group 2022-12-12 22:40:19 +08:00
0104.undo.add_description_to_group.sql Add canPost and canSeeMembers to type Group 2022-12-12 22:40:19 +08:00
0105.do.add_foreign_key_to_subscription.sql Add unique constraint on user_id and name to subscriptions table 2023-01-09 15:04:01 +08:00
0105.undo.add_foreign_key_to_subscription.sql Add unique constraint on user_id and name to subscriptions table 2023-01-09 15:04:01 +08:00
0106.do.remove_constraints_from_content_display_reports.sql Update migrations file as there was a conflict with previous 2023-01-11 10:57:21 +08:00
0106.undo.remove_constraints_from_content_display_reports.sql Update migrations file as there was a conflict with previous 2023-01-11 10:57:21 +08:00
0107.do.grant_delete_permission_on_subscription.sql Fix typo 2023-01-18 14:44:12 +08:00
0107.undo.grant_delete_permission_on_subscription.sql Fix typo 2023-01-18 14:44:12 +08:00
0108.do.received_emails.sql Fix rebase conflict 2023-01-18 15:01:30 +08:00
0108.undo.received_emails.sql Fix rebase conflict 2023-01-18 15:01:30 +08:00
0109.do.received_email_trigger_query.sql Fix the clear old received emails trigger to only clear current users emails 2023-01-27 15:38:14 +08:00
0109.undo.received_email_trigger_query.sql Fix the clear old received emails trigger to only clear current users emails 2023-01-27 15:38:14 +08:00
0110.do.add_default_value_to_text_in_received_emails.sql Add default empty value to the text field in received_emails table 2023-02-01 13:43:12 +08:00
0110.undo.add_default_value_to_text_in_received_emails.sql Add default empty value to the text field in received_emails table 2023-02-01 13:43:12 +08:00
0111.do.remove_unique_key_on_webhooks.sql Remove unique constraint of user_id and event_types on webhooks table 2023-03-09 14:53:06 +08:00
0111.undo.remove_unique_key_on_webhooks.sql Remove unique constraint of user_id and event_types on webhooks table 2023-03-09 14:53:06 +08:00
0112.do.change_type_in_integration.sql resolve conflicts 2023-04-12 17:04:59 +08:00
0112.undo.change_type_in_integration.sql resolve conflicts 2023-04-12 17:04:59 +08:00
0113.do.add_internal_field_in_labels.sql feat: make newsletters and favorites internal labels 2023-06-09 12:48:46 +08:00
0113.undo.add_internal_field_in_labels.sql feat: make newsletters and favorites internal labels 2023-06-09 12:48:46 +08:00
0114.do.add_category_field_to_filters_table.sql feat: add category field to Filter object 2023-07-03 19:06:45 +08:00
0114.undo.add_category_field_to_filters_table.sql feat: add category field to Filter object 2023-07-03 19:06:45 +08:00
0115.do.add_type_to_subscriptions.sql resolve conflicts 2023-07-06 19:52:31 +08:00
0115.undo.add_type_to_subscriptions.sql resolve conflicts 2023-07-06 19:52:31 +08:00
0116.do.update_label_library_internal.sql change existing labels with name = library to internal 2023-07-18 15:39:54 +08:00
0116.undo.update_label_library_internal.sql change existing labels with name = library to internal 2023-07-18 15:39:54 +08:00
0117.do.add_event_types_to_rules.sql add event_types to rules table and existing data 2023-07-20 17:38:40 +08:00
0117.undo.add_event_types_to_rules.sql add event_types to rules table and existing data 2023-07-20 17:38:40 +08:00
0119.do.add_defaults_to_filters.sql Code Review Comments 2023-09-06 17:51:42 +02:00
0119.undo.add_defaults_to_filters.sql add migration script 2023-10-05 14:31:06 +08:00
0120.do.library_item.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0120.undo.library_item.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0121.do.entity_labels.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0121.undo.entity_labels.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0122.do.alter_labels_table.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0122.undo.alter_labels_table.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0123.do.update_highlight.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0123.undo.update_highlight.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0124.do.recommendation.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0124.undo.recommendation.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0125.do.add_rls.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0125.undo.add_rls.sql reorder migrate sql 2023-10-05 14:31:07 +08:00
0126.do.revert_rls.sql revert rls on old tables 2023-10-05 14:31:07 +08:00
0126.undo.revert_rls.sql revert rls on old tables 2023-10-05 14:31:07 +08:00
0127.do.replace_unique_index_on_library_item.sql Replace the unique constraint on library_item table with a unique index of userId and md5 hashed original url 2023-10-05 14:31:07 +08:00
0127.undo.replace_unique_index_on_library_item.sql Replace the unique constraint on library_item table with a unique index of userId and md5 hashed original url 2023-10-05 14:31:07 +08:00
0128.do.create_index_for_foreign_key.sql create an index for searching by slug 2023-10-05 14:32:05 +08:00
0128.undo.create_index_for_foreign_key.sql create an index for searching by slug 2023-10-05 14:32:05 +08:00
0129.do.add_recommender_names_to_library_item.sql create a trigger to update recommender_names in library_item table 2023-10-05 14:32:05 +08:00
0129.undo.add_recommender_names_to_library_item.sql fetch recommendations separately too 2023-10-05 14:32:05 +08:00
0130.do.update_continue_reading_filter.sql update the filter value to use is:reading of the Continue Reading filter 2023-10-10 15:33:59 +08:00
0130.undo.update_continue_reading_filter.sql update the filter value to use is:reading of the Continue Reading filter 2023-10-10 15:33:59 +08:00
0131.do.add_default_value_to_updated_at.sql Make highlight modification two steps 2023-10-11 19:27:03 +08:00
0131.undo.add_default_value_to_updated_at.sql add default value = now() to updatedAt field in highlight tables only 2023-10-11 18:41:10 +08:00
0132.do.add_highlight_not_null.sql Make highlight modification two steps 2023-10-11 19:27:03 +08:00
0132.undo.add_highlight_not_null.sql Make highlight modification two steps 2023-10-11 19:27:03 +08:00
0133.do.drop_position_trigger_ob_labels.sql drop position trigger on labels table and sort labels by name returned by labels api 2023-10-12 10:39:35 +08:00
0133.undo.drop_position_trigger_ob_labels.sql drop position trigger on labels table and sort labels by name returned by labels api 2023-10-12 10:39:35 +08:00
0134.do.rename_site_tsv_to_site_name_tsv.sql Merge library item imports 2023-10-13 18:26:02 +08:00
0134.undo.rename_site_tsv_to_site_name_tsv.sql Merge library item imports 2023-10-13 18:26:02 +08:00
0135.do.alter_user_status_type.sql soft delete user by calling delete account api 2023-10-16 15:24:53 +08:00
0135.undo.alter_user_status_type.sql soft delete user by calling delete account api 2023-10-16 15:24:53 +08:00
0136.do.add_unique_to_subscription_url.sql update sql to deduplicate rss subscriptions 2023-10-17 16:41:14 +08:00
0136.undo.add_unique_to_subscription_url.sql remove duplicate rss subscriptions by user and url; create a unique constraint 2023-10-16 17:35:29 +08:00
0137.do.alter_library_item_tsv_update_trigger.sql update tsv only if necessary 2023-10-17 12:02:44 +08:00
0137.undo.alter_library_item_tsv_update_trigger.sql update tsv only if necessary 2023-10-17 12:02:44 +08:00
0138.do.add_checksum_to_subscriptions_table.sql Add last fetched column to the database 2023-10-18 16:28:22 +08:00
0138.undo.add_checksum_to_subscriptions_table.sql Cache and check feed checksums to reduce fetching 2023-10-18 16:26:03 +08:00
0139.do.add_scheduled_at_to_subscription.sql fix conflicts with main 2023-10-19 17:44:53 +08:00
0139.undo.add_scheduled_at_to_subscription.sql fix conflicts with main 2023-10-19 17:44:53 +08:00
0140.do.popular_read.sql migrate popular reads into database 2023-10-20 14:31:16 +08:00
0140.undo.popular_read.sql migrate popular reads into database 2023-10-20 14:31:16 +08:00
0141.do.add_index_for_cleanup_to_user.sql add index for status and updated_at columns on user table 2023-10-25 13:02:34 +08:00
0141.undo.add_index_for_cleanup_to_user.sql add index for status and updated_at columns on user table 2023-10-25 13:02:34 +08:00
0142.do.create_omnivore_admin_role.sql create omnivore_admin role and allow omnivore_admin to delete all users 2023-10-25 14:36:15 +08:00
0142.undo.create_omnivore_admin_role.sql create omnivore_admin role and allow omnivore_admin to delete all users 2023-10-25 14:36:15 +08:00
0143.do.add_domain_to_site_name_tsv.sql fix: site scoped search not working for domain and hostname 2023-10-26 22:10:35 +08:00
0143.undo.add_domain_to_site_name_tsv.sql fix: site scoped search not working for domain and hostname 2023-10-26 22:10:35 +08:00
0144.do.add_import_item_state_to_integration.sql add import_item_state column to integrations table 2023-10-30 15:07:52 +08:00
0144.undo.add_import_item_state_to_integration.sql add import_item_state column to integrations table 2023-10-30 15:07:52 +08:00
0145.do.add_fields_to_user_personalization.sql add fields column of type:json to the user_personalization table 2023-11-07 13:50:00 +08:00
0145.undo.add_fields_to_user_personalization.sql add fields column of type:json to the user_personalization table 2023-11-07 13:50:00 +08:00
0146.do.following.sql remove updating folder sql from migration script which caused locks 2023-12-08 15:02:16 +08:00
0146.undo.following.sql remove feeds table 2023-11-14 15:27:58 +08:00
0147.do.add_folder_to_filters.sql replace category with folder in the GQL type 2023-11-16 17:50:30 +08:00
0147.undo.add_folder_to_filters.sql replace category with folder in the GQL type 2023-11-16 17:50:30 +08:00
0148.do.add_source_to_entity_labels.sql add source column to entity_labels table 2023-12-13 14:35:24 +08:00
0148.undo.add_source_to_entity_labels.sql add source column to entity_labels table 2023-12-13 14:35:24 +08:00
0149.do.add_fetch_content_to_subscriptions.sql add fetch_content and folder column to the subscriptions table and folder column to newsletter_emails table 2023-12-14 15:41:54 +08:00
0149.undo.add_fetch_content_to_subscriptions.sql add fetch_content and folder column to the subscriptions table and folder column to newsletter_emails table 2023-12-14 15:41:54 +08:00
0150.do.remove_default_folder_in_subscription.sql make existing newsletters go to inbox folder 2023-12-18 16:08:36 +08:00
0150.undo.remove_default_folder_in_subscription.sql make existing newsletters go to inbox folder 2023-12-18 16:08:36 +08:00
0151.do.add_content_not_fetched_to_library_item_state.sql add content_not_fetched state for items saved without content fetched 2023-12-19 10:41:20 +08:00
0151.undo.add_content_not_fetched_to_library_item_state.sql add content_not_fetched state for items saved without content fetched 2023-12-19 10:41:20 +08:00
0152.do.update_highlights_saved_search.sql Update the default Highlights query 2024-01-03 18:17:25 +08:00
0152.undo.update_highlights_saved_search.sql Update the default Highlights query 2024-01-03 18:17:25 +08:00
0153.do.library_item_user_id_saved_at_idx.sql add index for sorting by saved_at 2024-01-10 17:09:15 +08:00
0153.undo.library_item_user_id_saved_at_idx.sql add index for sorting by saved_at 2024-01-10 17:09:15 +08:00
0154.do.library_item_user_id_updated_at_idx.sql add index for sorting by updated_at 2024-01-10 17:25:21 +08:00
0154.undo.library_item_user_id_updated_at_idx.sql add index for sorting by updated_at 2024-01-10 17:25:21 +08:00
0155.do.library_item_user_id_published_at_idx.sql add index for sorting by read_at 2024-01-10 17:32:23 +08:00
0155.undo.library_item_user_id_published_at_idx.sql add index for sorting by published_at 2024-01-10 17:28:00 +08:00
0156.do.library_item_user_id_read_at_idx.sql add index for sorting by read_at 2024-01-10 17:32:23 +08:00
0156.undo.library_item_user_id_read_at_idx.sql add index for sorting by read_at 2024-01-10 17:32:23 +08:00
0157.do.library_item_user_id_word_count_idx.sql add index for sorting by word_count 2024-01-10 17:34:54 +08:00
0157.undo.library_item_user_id_word_count_idx.sql add index for sorting by word_count 2024-01-10 17:34:54 +08:00
0158.do.create_label_names_update_trigger.sql drop old index 2024-01-11 11:45:22 +08:00
0158.undo.create_label_names_update_trigger.sql drop old index 2024-01-11 11:45:22 +08:00
0159.do.alter_subscriptions.sql save the timestamp when feed fails 2024-01-24 14:54:39 +08:00
0159.undo.alter_subscriptions.sql save the timestamp when feed fails 2024-01-24 14:54:39 +08:00
0160.do.drop_slow_db_triggers.sql fix: drop db triggers which updates labels and highlights in library_item table for locking the table 2024-02-02 09:56:45 +08:00
0160.undo.drop_slow_db_triggers.sql fix: drop db triggers which updates labels and highlights in library_item table for locking the table 2024-02-02 09:56:45 +08:00
0161.do.add_subscriptions_name_index.sql Add user_id to the subscriptions name index 2024-02-06 11:01:39 +08:00
0161.undo.add_subscriptions_name_index.sql Add user_id to the subscriptions name index 2024-02-06 11:01:39 +08:00
0162.do.library_item_user_id_state_index.sql create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
0162.undo.library_item_user_id_state_index.sql create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
0163.do.api_key_index.sql fix tests 2024-02-23 11:17:37 +08:00
0163.undo.api_key_index.sql create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
0164.do.library_item_file_id_index.sql create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
0164.undo.library_item_file_id_index.sql create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
0165.do.rename_preview_content_in_library_item.sql add representation column to the highlight table and gql schema which is either CONTENT or FEED_CONTENT 2024-02-23 17:14:52 +08:00
0165.undo.rename_preview_content_in_library_item.sql add representation column to the highlight table and gql schema which is either CONTENT or FEED_CONTENT 2024-02-23 17:14:52 +08:00
0166.do.add_ai_summary_tables.sql Add summaries, display accont features 2024-02-28 15:14:32 +08:00
0166.undo.add_ai_summary_tables.sql Add summaries, display accont features 2024-02-28 15:14:32 +08:00
0167.do.add_settings_column_to_integrations.sql add settings jsonb column to the integrations 2024-03-05 16:13:50 +08:00
0167.undo.add_settings_column_to_integrations.sql add settings jsonb column to the integrations 2024-03-05 16:13:50 +08:00
0168.do.add_discover_feeds.sql Move migrations 2024-03-14 18:11:46 +08:00
0168.undo.add_discover_feeds.sql Move migrations 2024-03-14 18:11:46 +08:00
0169.do.add_failed_at_to_rule.sql update the migration version number to resolve conflicts 2024-03-20 11:00:26 +08:00
0169.undo.add_failed_at_to_rule.sql update the migration version number to resolve conflicts 2024-03-20 11:00:26 +08:00
0170.do.drop_unique_key_on_rules.sql drop unique constraint on filter column in rules table 2024-04-04 12:17:15 +08:00
0170.undo.drop_unique_key_on_rules.sql drop unique constraint on filter column in rules table 2024-04-04 12:17:15 +08:00
0171.do.migrate_webhooks_and_exporter.sql update integration names 2024-04-04 12:19:18 +08:00
0171.undo.migrate_webhooks_and_exporter.sql add data migration script 2024-04-04 12:19:18 +08:00
0172.do.service_usage.sql enforce usage limits for the API 2024-04-11 11:08:22 +08:00
0172.undo.service_usage.sql add columns for reply_to and reply and create tables for tracking service usage and enforce limit according to the subscription plan 2024-04-11 11:08:22 +08:00