diff --git a/.circleci/config.yml b/.circleci/config.yml index 43d0ae9595..e6554557e5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -200,6 +200,19 @@ jobs: make gen-serialized if [[ -n $(git status --porcelain) ]]; then echo "Please update the serialized files using 'make gen-serialized'"; exit 1; fi + check-migrations: + docker: + - image: mattermost/mattermost-build-server:20220415_golang-1.18.1 + working_directory: ~/mattermost + steps: + - attach_workspace: + at: ~/mattermost/ + - run: + command: | + cd mattermost-server + make migrations-extract + if [[ -n $(git status --porcelain) ]]; then echo "Please update the migrations using make migrations-extract"; exit 1; fi + # Dedicated job for golangci-lint it does not need anything only the server code for that # and to make more clear when the job fails check-golangci-lint: @@ -536,6 +549,9 @@ workflows: - check-mattermost-vet: requires: - setup + - check-migrations: + requires: + - setup - build-api-spec: requires: - setup @@ -549,6 +565,7 @@ workflows: - check-gen-serialized - check-mattermost-vet - check-golangci-lint + - check-migrations - build-api-spec - upload-s3-sha: context: mattermost-ci-pr-builds-s3 diff --git a/Makefile b/Makefile index ce5448e0db..2b159483f1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build package run stop run-client run-server run-haserver stop-haserver stop-client stop-server restart restart-server restart-client restart-haserver start-docker clean-dist clean nuke check-style check-client-style check-server-style check-unit-tests test dist run-client-tests setup-run-client-tests cleanup-run-client-tests test-client build-linux build-osx build-windows package-prep package-linux package-osx package-windows internal-test-web-client vet run-server-for-web-client-tests diff-config prepackaged-plugins prepackaged-binaries test-server test-server-ee test-server-quick test-server-race migrations-bindata new-migration +.PHONY: build package run stop run-client run-server run-haserver stop-haserver stop-client stop-server restart restart-server restart-client restart-haserver start-docker clean-dist clean nuke check-style check-client-style check-server-style check-unit-tests test dist run-client-tests setup-run-client-tests cleanup-run-client-tests test-client build-linux build-osx build-windows package-prep package-linux package-osx package-windows internal-test-web-client vet run-server-for-web-client-tests diff-config prepackaged-plugins prepackaged-binaries test-server test-server-ee test-server-quick test-server-race migrations-bindata new-migration migrations-extract ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) @@ -722,3 +722,8 @@ help: @echo @echo You can modify the default settings for this Makefile creating a file config.mk based on the default-config.mk @echo + +migrations-extract: + @echo Listing migration files + @echo "# Autogenerated file to synchronize migrations sequence in the PR workflow, please do not edit.\n#" > db/migrations/migrations.list + find db/migrations -maxdepth 2 -mindepth 2 | sort >> db/migrations/migrations.list diff --git a/db/migrations/migrations.list b/db/migrations/migrations.list new file mode 100644 index 0000000000..3e871f1225 --- /dev/null +++ b/db/migrations/migrations.list @@ -0,0 +1,354 @@ +# Autogenerated file to synchronize migrations sequence in the PR workflow, please do not edit. +# +db/migrations/mysql/000001_create_teams.down.sql +db/migrations/mysql/000001_create_teams.up.sql +db/migrations/mysql/000002_create_team_members.down.sql +db/migrations/mysql/000002_create_team_members.up.sql +db/migrations/mysql/000003_create_cluster_discovery.down.sql +db/migrations/mysql/000003_create_cluster_discovery.up.sql +db/migrations/mysql/000004_create_command_webhooks.down.sql +db/migrations/mysql/000004_create_command_webhooks.up.sql +db/migrations/mysql/000005_create_compliances.down.sql +db/migrations/mysql/000005_create_compliances.up.sql +db/migrations/mysql/000006_create_emojis.down.sql +db/migrations/mysql/000006_create_emojis.up.sql +db/migrations/mysql/000007_create_user_groups.down.sql +db/migrations/mysql/000007_create_user_groups.up.sql +db/migrations/mysql/000008_create_group_members.down.sql +db/migrations/mysql/000008_create_group_members.up.sql +db/migrations/mysql/000009_create_group_teams.down.sql +db/migrations/mysql/000009_create_group_teams.up.sql +db/migrations/mysql/000010_create_group_channels.down.sql +db/migrations/mysql/000010_create_group_channels.up.sql +db/migrations/mysql/000011_create_link_metadata.down.sql +db/migrations/mysql/000011_create_link_metadata.up.sql +db/migrations/mysql/000012_create_commands.down.sql +db/migrations/mysql/000012_create_commands.up.sql +db/migrations/mysql/000013_create_incoming_webhooks.down.sql +db/migrations/mysql/000013_create_incoming_webhooks.up.sql +db/migrations/mysql/000014_create_outgoing_webhooks.down.sql +db/migrations/mysql/000014_create_outgoing_webhooks.up.sql +db/migrations/mysql/000015_create_systems.down.sql +db/migrations/mysql/000015_create_systems.up.sql +db/migrations/mysql/000016_create_reactions.down.sql +db/migrations/mysql/000016_create_reactions.up.sql +db/migrations/mysql/000017_create_roles.down.sql +db/migrations/mysql/000017_create_roles.up.sql +db/migrations/mysql/000018_create_schemes.down.sql +db/migrations/mysql/000018_create_schemes.up.sql +db/migrations/mysql/000019_create_licenses.down.sql +db/migrations/mysql/000019_create_licenses.up.sql +db/migrations/mysql/000020_create_posts.down.sql +db/migrations/mysql/000020_create_posts.up.sql +db/migrations/mysql/000021_create_product_notice_view_state.down.sql +db/migrations/mysql/000021_create_product_notice_view_state.up.sql +db/migrations/mysql/000022_create_sessions.down.sql +db/migrations/mysql/000022_create_sessions.up.sql +db/migrations/mysql/000023_create_terms_of_service.down.sql +db/migrations/mysql/000023_create_terms_of_service.up.sql +db/migrations/mysql/000024_create_audits.down.sql +db/migrations/mysql/000024_create_audits.up.sql +db/migrations/mysql/000025_create_oauth_access_data.down.sql +db/migrations/mysql/000025_create_oauth_access_data.up.sql +db/migrations/mysql/000026_create_preferences.down.sql +db/migrations/mysql/000026_create_preferences.up.sql +db/migrations/mysql/000027_create_status.down.sql +db/migrations/mysql/000027_create_status.up.sql +db/migrations/mysql/000028_create_tokens.down.sql +db/migrations/mysql/000028_create_tokens.up.sql +db/migrations/mysql/000029_create_bots.down.sql +db/migrations/mysql/000029_create_bots.up.sql +db/migrations/mysql/000030_create_user_access_tokens.down.sql +db/migrations/mysql/000030_create_user_access_tokens.up.sql +db/migrations/mysql/000031_create_remote_clusters.down.sql +db/migrations/mysql/000031_create_remote_clusters.up.sql +db/migrations/mysql/000032_create_sharedchannels.down.sql +db/migrations/mysql/000032_create_sharedchannels.up.sql +db/migrations/mysql/000033_create_sidebar_channels.down.sql +db/migrations/mysql/000033_create_sidebar_channels.up.sql +db/migrations/mysql/000034_create_oauthauthdata.down.sql +db/migrations/mysql/000034_create_oauthauthdata.up.sql +db/migrations/mysql/000035_create_sharedchannelattachments.down.sql +db/migrations/mysql/000035_create_sharedchannelattachments.up.sql +db/migrations/mysql/000036_create_sharedchannelusers.down.sql +db/migrations/mysql/000036_create_sharedchannelusers.up.sql +db/migrations/mysql/000037_create_sharedchannelremotes.down.sql +db/migrations/mysql/000037_create_sharedchannelremotes.up.sql +db/migrations/mysql/000038_create_jobs.down.sql +db/migrations/mysql/000038_create_jobs.up.sql +db/migrations/mysql/000039_create_channel_member_history.down.sql +db/migrations/mysql/000039_create_channel_member_history.up.sql +db/migrations/mysql/000040_create_sidebar_categories.down.sql +db/migrations/mysql/000040_create_sidebar_categories.up.sql +db/migrations/mysql/000041_create_upload_sessions.down.sql +db/migrations/mysql/000041_create_upload_sessions.up.sql +db/migrations/mysql/000042_create_threads.down.sql +db/migrations/mysql/000042_create_threads.up.sql +db/migrations/mysql/000043_thread_memberships.down.sql +db/migrations/mysql/000043_thread_memberships.up.sql +db/migrations/mysql/000044_create_user_terms_of_service.down.sql +db/migrations/mysql/000044_create_user_terms_of_service.up.sql +db/migrations/mysql/000045_create_plugin_key_value_store.down.sql +db/migrations/mysql/000045_create_plugin_key_value_store.up.sql +db/migrations/mysql/000046_create_users.down.sql +db/migrations/mysql/000046_create_users.up.sql +db/migrations/mysql/000047_create_file_info.down.sql +db/migrations/mysql/000047_create_file_info.up.sql +db/migrations/mysql/000048_create_oauth_apps.down.sql +db/migrations/mysql/000048_create_oauth_apps.up.sql +db/migrations/mysql/000049_create_channels.down.sql +db/migrations/mysql/000049_create_channels.up.sql +db/migrations/mysql/000050_create_channelmembers.down.sql +db/migrations/mysql/000050_create_channelmembers.up.sql +db/migrations/mysql/000051_create_msg_root_count.down.sql +db/migrations/mysql/000051_create_msg_root_count.up.sql +db/migrations/mysql/000052_create_public_channels.down.sql +db/migrations/mysql/000052_create_public_channels.up.sql +db/migrations/mysql/000053_create_retention_policies.down.sql +db/migrations/mysql/000053_create_retention_policies.up.sql +db/migrations/mysql/000054_create_crt_channelmembership_count.down.sql +db/migrations/mysql/000054_create_crt_channelmembership_count.up.sql +db/migrations/mysql/000055_create_crt_thread_count_and_unreads.down.sql +db/migrations/mysql/000055_create_crt_thread_count_and_unreads.up.sql +db/migrations/mysql/000056_upgrade_channels_v6.0.down.sql +db/migrations/mysql/000056_upgrade_channels_v6.0.up.sql +db/migrations/mysql/000057_upgrade_command_webhooks_v6.0.down.sql +db/migrations/mysql/000057_upgrade_command_webhooks_v6.0.up.sql +db/migrations/mysql/000058_upgrade_channelmembers_v6.0.down.sql +db/migrations/mysql/000058_upgrade_channelmembers_v6.0.up.sql +db/migrations/mysql/000059_upgrade_users_v6.0.down.sql +db/migrations/mysql/000059_upgrade_users_v6.0.up.sql +db/migrations/mysql/000060_upgrade_jobs_v6.0.down.sql +db/migrations/mysql/000060_upgrade_jobs_v6.0.up.sql +db/migrations/mysql/000061_upgrade_link_metadata_v6.0.down.sql +db/migrations/mysql/000061_upgrade_link_metadata_v6.0.up.sql +db/migrations/mysql/000062_upgrade_sessions_v6.0.down.sql +db/migrations/mysql/000062_upgrade_sessions_v6.0.up.sql +db/migrations/mysql/000063_upgrade_threads_v6.0.down.sql +db/migrations/mysql/000063_upgrade_threads_v6.0.up.sql +db/migrations/mysql/000064_upgrade_status_v6.0.down.sql +db/migrations/mysql/000064_upgrade_status_v6.0.up.sql +db/migrations/mysql/000065_upgrade_groupchannels_v6.0.down.sql +db/migrations/mysql/000065_upgrade_groupchannels_v6.0.up.sql +db/migrations/mysql/000066_upgrade_posts_v6.0.down.sql +db/migrations/mysql/000066_upgrade_posts_v6.0.up.sql +db/migrations/mysql/000067_upgrade_channelmembers_v6.1.down.sql +db/migrations/mysql/000067_upgrade_channelmembers_v6.1.up.sql +db/migrations/mysql/000068_upgrade_teammembers_v6.1.down.sql +db/migrations/mysql/000068_upgrade_teammembers_v6.1.up.sql +db/migrations/mysql/000069_upgrade_jobs_v6.1.down.sql +db/migrations/mysql/000069_upgrade_jobs_v6.1.up.sql +db/migrations/mysql/000070_upgrade_cte_v6.1.down.sql +db/migrations/mysql/000070_upgrade_cte_v6.1.up.sql +db/migrations/mysql/000071_upgrade_sessions_v6.1.down.sql +db/migrations/mysql/000071_upgrade_sessions_v6.1.up.sql +db/migrations/mysql/000072_upgrade_schemes_v6.3.down.sql +db/migrations/mysql/000072_upgrade_schemes_v6.3.up.sql +db/migrations/mysql/000073_upgrade_plugin_key_value_store_v6.3.down.sql +db/migrations/mysql/000073_upgrade_plugin_key_value_store_v6.3.up.sql +db/migrations/mysql/000074_upgrade_users_v6.3.down.sql +db/migrations/mysql/000074_upgrade_users_v6.3.up.sql +db/migrations/mysql/000075_alter_upload_sessions_index.down.sql +db/migrations/mysql/000075_alter_upload_sessions_index.up.sql +db/migrations/mysql/000076_upgrade_lastrootpostat.down.sql +db/migrations/mysql/000076_upgrade_lastrootpostat.up.sql +db/migrations/mysql/000077_upgrade_users_v6.5.down.sql +db/migrations/mysql/000077_upgrade_users_v6.5.up.sql +db/migrations/mysql/000078_create_oauth_mattermost_app_id.down.sql +db/migrations/mysql/000078_create_oauth_mattermost_app_id.up.sql +db/migrations/mysql/000079_usergroups_displayname_index.down.sql +db/migrations/mysql/000079_usergroups_displayname_index.up.sql +db/migrations/mysql/000080_posts_createat_id.down.sql +db/migrations/mysql/000080_posts_createat_id.up.sql +db/migrations/mysql/000081_threads_deleteat.down.sql +db/migrations/mysql/000081_threads_deleteat.up.sql +db/migrations/mysql/000082_upgrade_oauth_mattermost_app_id.down.sql +db/migrations/mysql/000082_upgrade_oauth_mattermost_app_id.up.sql +db/migrations/mysql/000083_threads_threaddeleteat.down.sql +db/migrations/mysql/000083_threads_threaddeleteat.up.sql +db/migrations/mysql/000084_recent_searches.down.sql +db/migrations/mysql/000084_recent_searches.up.sql +db/migrations/mysql/000085_fileinfo_add_archived_column.down.sql +db/migrations/mysql/000085_fileinfo_add_archived_column.up.sql +db/migrations/mysql/000086_add_cloud_limits_archived.down.sql +db/migrations/mysql/000086_add_cloud_limits_archived.up.sql +db/migrations/mysql/000087_sidebar_categories_index.down.sql +db/migrations/mysql/000087_sidebar_categories_index.up.sql +db/migrations/mysql/000088_remaining_migrations.down.sql +db/migrations/mysql/000088_remaining_migrations.up.sql +db/migrations/postgres/000001_create_teams.down.sql +db/migrations/postgres/000001_create_teams.up.sql +db/migrations/postgres/000002_create_team_members.down.sql +db/migrations/postgres/000002_create_team_members.up.sql +db/migrations/postgres/000003_create_cluster_discovery.down.sql +db/migrations/postgres/000003_create_cluster_discovery.up.sql +db/migrations/postgres/000004_create_command_webhooks.down.sql +db/migrations/postgres/000004_create_command_webhooks.up.sql +db/migrations/postgres/000005_create_compliances.down.sql +db/migrations/postgres/000005_create_compliances.up.sql +db/migrations/postgres/000006_create_emojis.down.sql +db/migrations/postgres/000006_create_emojis.up.sql +db/migrations/postgres/000007_create_user_groups.down.sql +db/migrations/postgres/000007_create_user_groups.up.sql +db/migrations/postgres/000008_create_group_members.down.sql +db/migrations/postgres/000008_create_group_members.up.sql +db/migrations/postgres/000009_create_group_teams.down.sql +db/migrations/postgres/000009_create_group_teams.up.sql +db/migrations/postgres/000010_create_group_channels.down.sql +db/migrations/postgres/000010_create_group_channels.up.sql +db/migrations/postgres/000011_create_link_metadata.down.sql +db/migrations/postgres/000011_create_link_metadata.up.sql +db/migrations/postgres/000012_create_commands.down.sql +db/migrations/postgres/000012_create_commands.up.sql +db/migrations/postgres/000013_create_incoming_webhooks.down.sql +db/migrations/postgres/000013_create_incoming_webhooks.up.sql +db/migrations/postgres/000014_create_outgoing_webhooks.down.sql +db/migrations/postgres/000014_create_outgoing_webhooks.up.sql +db/migrations/postgres/000015_create_systems.down.sql +db/migrations/postgres/000015_create_systems.up.sql +db/migrations/postgres/000016_create_reactions.down.sql +db/migrations/postgres/000016_create_reactions.up.sql +db/migrations/postgres/000017_create_roles.down.sql +db/migrations/postgres/000017_create_roles.up.sql +db/migrations/postgres/000018_create_schemes.down.sql +db/migrations/postgres/000018_create_schemes.up.sql +db/migrations/postgres/000019_create_licenses.down.sql +db/migrations/postgres/000019_create_licenses.up.sql +db/migrations/postgres/000020_create_posts.down.sql +db/migrations/postgres/000020_create_posts.up.sql +db/migrations/postgres/000021_create_product_notice_view_state.down.sql +db/migrations/postgres/000021_create_product_notice_view_state.up.sql +db/migrations/postgres/000022_create_sessions.down.sql +db/migrations/postgres/000022_create_sessions.up.sql +db/migrations/postgres/000023_create_terms_of_service.down.sql +db/migrations/postgres/000023_create_terms_of_service.up.sql +db/migrations/postgres/000024_create_audits.down.sql +db/migrations/postgres/000024_create_audits.up.sql +db/migrations/postgres/000025_create_oauth_access_data.down.sql +db/migrations/postgres/000025_create_oauth_access_data.up.sql +db/migrations/postgres/000026_create_preferences.down.sql +db/migrations/postgres/000026_create_preferences.up.sql +db/migrations/postgres/000027_create_status.down.sql +db/migrations/postgres/000027_create_status.up.sql +db/migrations/postgres/000028_create_tokens.down.sql +db/migrations/postgres/000028_create_tokens.up.sql +db/migrations/postgres/000029_create_bots.down.sql +db/migrations/postgres/000029_create_bots.up.sql +db/migrations/postgres/000030_create_user_access_tokens.down.sql +db/migrations/postgres/000030_create_user_access_tokens.up.sql +db/migrations/postgres/000031_create_remote_clusters.down.sql +db/migrations/postgres/000031_create_remote_clusters.up.sql +db/migrations/postgres/000032_create_sharedchannels.down.sql +db/migrations/postgres/000032_create_sharedchannels.up.sql +db/migrations/postgres/000033_create_sidebar_channels.down.sql +db/migrations/postgres/000033_create_sidebar_channels.up.sql +db/migrations/postgres/000034_create_oauthauthdata.down.sql +db/migrations/postgres/000034_create_oauthauthdata.up.sql +db/migrations/postgres/000035_create_sharedchannelattachments.down.sql +db/migrations/postgres/000035_create_sharedchannelattachments.up.sql +db/migrations/postgres/000036_create_sharedchannelusers.down.sql +db/migrations/postgres/000036_create_sharedchannelusers.up.sql +db/migrations/postgres/000037_create_sharedchannelremotes.down.sql +db/migrations/postgres/000037_create_sharedchannelremotes.up.sql +db/migrations/postgres/000038_create_jobs.down.sql +db/migrations/postgres/000038_create_jobs.up.sql +db/migrations/postgres/000039_create_channel_member_history.down.sql +db/migrations/postgres/000039_create_channel_member_history.up.sql +db/migrations/postgres/000040_create_sidebar_categories.down.sql +db/migrations/postgres/000040_create_sidebar_categories.up.sql +db/migrations/postgres/000041_create_upload_sessions.down.sql +db/migrations/postgres/000041_create_upload_sessions.up.sql +db/migrations/postgres/000042_create_threads.down.sql +db/migrations/postgres/000042_create_threads.up.sql +db/migrations/postgres/000043_thread_memberships.down.sql +db/migrations/postgres/000043_thread_memberships.up.sql +db/migrations/postgres/000044_create_user_terms_of_service.down.sql +db/migrations/postgres/000044_create_user_terms_of_service.up.sql +db/migrations/postgres/000045_create_plugin_key_value_store.down.sql +db/migrations/postgres/000045_create_plugin_key_value_store.up.sql +db/migrations/postgres/000046_create_users.down.sql +db/migrations/postgres/000046_create_users.up.sql +db/migrations/postgres/000047_create_file_info.down.sql +db/migrations/postgres/000047_create_file_info.up.sql +db/migrations/postgres/000048_create_oauth_apps.down.sql +db/migrations/postgres/000048_create_oauth_apps.up.sql +db/migrations/postgres/000049_create_channels.down.sql +db/migrations/postgres/000049_create_channels.up.sql +db/migrations/postgres/000050_create_channelmembers.down.sql +db/migrations/postgres/000050_create_channelmembers.up.sql +db/migrations/postgres/000051_create_msg_root_count.down.sql +db/migrations/postgres/000051_create_msg_root_count.up.sql +db/migrations/postgres/000052_create_public_channels.down.sql +db/migrations/postgres/000052_create_public_channels.up.sql +db/migrations/postgres/000053_create_retention_policies.down.sql +db/migrations/postgres/000053_create_retention_policies.up.sql +db/migrations/postgres/000054_create_crt_channelmembership_count.down.sql +db/migrations/postgres/000054_create_crt_channelmembership_count.up.sql +db/migrations/postgres/000055_create_crt_thread_count_and_unreads.down.sql +db/migrations/postgres/000055_create_crt_thread_count_and_unreads.up.sql +db/migrations/postgres/000056_upgrade_channels_v6.0.down.sql +db/migrations/postgres/000056_upgrade_channels_v6.0.up.sql +db/migrations/postgres/000057_upgrade_command_webhooks_v6.0.down.sql +db/migrations/postgres/000057_upgrade_command_webhooks_v6.0.up.sql +db/migrations/postgres/000058_upgrade_channelmembers_v6.0.down.sql +db/migrations/postgres/000058_upgrade_channelmembers_v6.0.up.sql +db/migrations/postgres/000059_upgrade_users_v6.0.down.sql +db/migrations/postgres/000059_upgrade_users_v6.0.up.sql +db/migrations/postgres/000060_upgrade_jobs_v6.0.down.sql +db/migrations/postgres/000060_upgrade_jobs_v6.0.up.sql +db/migrations/postgres/000061_upgrade_link_metadata_v6.0.down.sql +db/migrations/postgres/000061_upgrade_link_metadata_v6.0.up.sql +db/migrations/postgres/000062_upgrade_sessions_v6.0.down.sql +db/migrations/postgres/000062_upgrade_sessions_v6.0.up.sql +db/migrations/postgres/000063_upgrade_threads_v6.0.down.sql +db/migrations/postgres/000063_upgrade_threads_v6.0.up.sql +db/migrations/postgres/000064_upgrade_status_v6.0.down.sql +db/migrations/postgres/000064_upgrade_status_v6.0.up.sql +db/migrations/postgres/000065_upgrade_groupchannels_v6.0.down.sql +db/migrations/postgres/000065_upgrade_groupchannels_v6.0.up.sql +db/migrations/postgres/000066_upgrade_posts_v6.0.down.sql +db/migrations/postgres/000066_upgrade_posts_v6.0.up.sql +db/migrations/postgres/000067_upgrade_channelmembers_v6.1.down.sql +db/migrations/postgres/000067_upgrade_channelmembers_v6.1.up.sql +db/migrations/postgres/000068_upgrade_teammembers_v6.1.down.sql +db/migrations/postgres/000068_upgrade_teammembers_v6.1.up.sql +db/migrations/postgres/000069_upgrade_jobs_v6.1.down.sql +db/migrations/postgres/000069_upgrade_jobs_v6.1.up.sql +db/migrations/postgres/000070_upgrade_cte_v6.1.down.sql +db/migrations/postgres/000070_upgrade_cte_v6.1.up.sql +db/migrations/postgres/000071_upgrade_sessions_v6.1.down.sql +db/migrations/postgres/000071_upgrade_sessions_v6.1.up.sql +db/migrations/postgres/000072_upgrade_schemes_v6.3.down.sql +db/migrations/postgres/000072_upgrade_schemes_v6.3.up.sql +db/migrations/postgres/000073_upgrade_plugin_key_value_store_v6.3.down.sql +db/migrations/postgres/000073_upgrade_plugin_key_value_store_v6.3.up.sql +db/migrations/postgres/000074_upgrade_users_v6.3.down.sql +db/migrations/postgres/000074_upgrade_users_v6.3.up.sql +db/migrations/postgres/000075_alter_upload_sessions_index.down.sql +db/migrations/postgres/000075_alter_upload_sessions_index.up.sql +db/migrations/postgres/000076_upgrade_lastrootpostat.down.sql +db/migrations/postgres/000076_upgrade_lastrootpostat.up.sql +db/migrations/postgres/000077_upgrade_users_v6.5.down.sql +db/migrations/postgres/000077_upgrade_users_v6.5.up.sql +db/migrations/postgres/000078_create_oauth_mattermost_app_id.down.sql +db/migrations/postgres/000078_create_oauth_mattermost_app_id.up.sql +db/migrations/postgres/000079_usergroups_displayname_index.down.sql +db/migrations/postgres/000079_usergroups_displayname_index.up.sql +db/migrations/postgres/000080_posts_createat_id.down.sql +db/migrations/postgres/000080_posts_createat_id.up.sql +db/migrations/postgres/000081_threads_deleteat.down.sql +db/migrations/postgres/000081_threads_deleteat.up.sql +db/migrations/postgres/000082_upgrade_oauth_mattermost_app_id.down.sql +db/migrations/postgres/000082_upgrade_oauth_mattermost_app_id.up.sql +db/migrations/postgres/000083_threads_threaddeleteat.down.sql +db/migrations/postgres/000083_threads_threaddeleteat.up.sql +db/migrations/postgres/000084_recent_searches.down.sql +db/migrations/postgres/000084_recent_searches.up.sql +db/migrations/postgres/000085_fileinfo_add_archived_column.down.sql +db/migrations/postgres/000085_fileinfo_add_archived_column.up.sql +db/migrations/postgres/000086_add_cloud_limits_archived.down.sql +db/migrations/postgres/000086_add_cloud_limits_archived.up.sql +db/migrations/postgres/000087_sidebar_categories_index.down.sql +db/migrations/postgres/000087_sidebar_categories_index.up.sql +db/migrations/postgres/000088_remaining_migrations.down.sql +db/migrations/postgres/000088_remaining_migrations.up.sql