Skip to content

Draft: Test connections during db:migrate

$ bundle exec rails db:migrate
main: == 20220530020221 TestMain: migrating =========================================
📣 [246400] MAIN
👉 [246420] [ApplicationRecord] [gitlabhq_development]
👉 [246440] [Ci::ApplicationRecord] [gitlabhq_development_ci]
👉 [246420] [ActiveRecord::Base] [gitlabhq_development]
main: == 20220530020221 TestMain: migrated (0.0045s) ================================

main: == 20220530020234 TestCi: migrating ===========================================
main: -- The migration is skipped since it modifies the schemas: [:gitlab_ci].
main: -- This database can only apply migrations in one of the following schemas: [:gitlab_main, :gitlab_shared].
main: == 20220530020234 TestCi: migrated (0.0000s) ==================================

ci: == 20220530020221 TestMain: migrating =========================================
ci: -- The migration is skipped since it modifies the schemas: [:gitlab_main].
ci: -- This database can only apply migrations in one of the following schemas: [:gitlab_ci, :gitlab_shared].
ci: == 20220530020221 TestMain: migrated (0.0001s) ================================

ci: == 20220530020234 TestCi: migrating ===========================================
📣 [246640] CI
👉 [246420] [ApplicationRecord] [gitlabhq_development_ci]
👉 [246440] [Ci::ApplicationRecord] [gitlabhq_development_ci]
👉 [246420] [ActiveRecord::Base] [gitlabhq_development_ci]
ci: == 20220530020234 TestCi: migrated (0.0008s) ==================================

Merge request reports