db:rollback-mysql
Passed Started
by
@eread

Evan Read
1-- remove_column(:notification_settings, :issue_due, :boolean)2 -> 0.0233s3== 20180330121048 AddIssueDueToNotificationSettings: reverted (0.0235s) =======4== 20180327101207 RemoveIndexFromEventsTable: reverting =======================5-- transaction_open?()6 -> 0.0000s7-- index_name(:events, {:column=>["author_id"]})8 -> 0.0000s9-- index_exists?(:events, :author_id, {:name=>"index_events_on_author_id"})10 -> 0.0012s11-- add_index(:events, :author_id, {:name=>"index_events_on_author_id"})12 -> 0.0070s13== 20180327101207 RemoveIndexFromEventsTable: reverted (0.0085s) ==============14== 20180326202229 CreateCiBuildTraceChunks: reverting =========================15-- drop_table(:ci_build_trace_chunks, {:id=>:bigserial})16 -> 0.0043s17== 20180326202229 CreateCiBuildTraceChunks: reverted (0.0044s) ================18== 20180323150945 AddPushToMergeRequestToNotificationSettings: reverting ======19-- remove_column(:notification_settings, :push_to_merge_request, :boolean)20 -> 0.0223s21== 20180323150945 AddPushToMergeRequestToNotificationSettings: reverted (0.0230s) 22== 20180320182229 AddIndexesForUserActivityQueries: reverting =================23-- index_name(:events, {:column=>["author_id", "project_id"]})24 -> 0.0000s25-- index_exists?(:events, [:author_id, :project_id], {:name=>"index_events_on_author_id_and_project_id"})26 -> 0.0007s27-- transaction_open?()28 -> 0.0000s29-- index_name(:events, {:column=>["author_id", "project_id"]})30 -> 0.0000s31-- index_exists?(:events, [:author_id, :project_id], {:name=>"index_events_on_author_id_and_project_id"})32 -> 0.0013s33-- index_name(:events, {:name=>"index_events_on_author_id_and_project_id", :column=>[:author_id, :project_id]})34 -> 0.0000s35-- index_name_exists?(:events, "index_events_on_author_id_and_project_id", true)36 -> 0.0004s37-- remove_index(:events, {:name=>"index_events_on_author_id_and_project_id", :column=>[:author_id, :project_id]})38 -> 0.0061s39-- foreign_keys(:user_interacted_projects)40 -> 0.0009s41-- remove_foreign_key(:user_interacted_projects, :users)42 -> 0.0044s43-- index_name(:user_interacted_projects, {:column=>["user_id"]})44 -> 0.0000s45-- index_exists?(:user_interacted_projects, :user_id, {:name=>"index_user_interacted_projects_on_user_id"})46 -> 0.0005s47-- transaction_open?()48 -> 0.0000s49-- index_name(:user_interacted_projects, {:column=>["user_id"]})50 -> 0.0000s51-- index_exists?(:user_interacted_projects, :user_id, {:name=>"index_user_interacted_projects_on_user_id"})52 -> 0.0004s53-- index_name(:user_interacted_projects, {:name=>"index_user_interacted_projects_on_user_id", :column=>:user_id})54 -> 0.0000s55-- index_name_exists?(:user_interacted_projects, "index_user_interacted_projects_on_user_id", true)56 -> 0.0009s57-- remove_index(:user_interacted_projects, {:name=>"index_user_interacted_projects_on_user_id", :column=>:user_id})58 -> 0.0052s59-- foreign_keys(:user_interacted_projects)60 -> 0.0007s61-- transaction_open?()62 -> 0.0000s63-- foreign_keys(:user_interacted_projects)64 -> 0.0016s65-- add_foreign_key(:user_interacted_projects, :users, {:column=>:user_id, :on_delete=>:cascade})66 -> 0.0199s67== 20180320182229 AddIndexesForUserActivityQueries: reverted (0.0447s) ========68== 20180319190020 CreateDeployTokens: reverting ===============================69-- drop_table(:deploy_tokens, {})70 -> 0.0036s71== 20180319190020 CreateDeployTokens: reverted (0.0038s) ======================72== 20180314145917 AddHeaderAndFooterBannersToAppearancesTable: reverting ======73-- remove_column(:appearances, :message_font_color, :text)74 -> 0.0153s75-- remove_column(:appearances, :message_background_color, :text)76 -> 0.0143s77-- remove_column(:appearances, :footer_message_html, :text)78 -> 0.0149s79-- remove_column(:appearances, :footer_message, :text)80 -> 0.0148s81-- remove_column(:appearances, :header_message_html, :text)82 -> 0.0144s83-- remove_column(:appearances, :header_message, :text)84 -> 0.0173s85== 20180314145917 AddHeaderAndFooterBannersToAppearancesTable: reverted (0.0922s) 86== 20180309160427 AddPartialIndexesOnTodos: reverting =========================87-- transaction_open?()88 -> 0.0000s89-- index_exists?(:todos, [:user_id, :id], {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending"})90 -> 0.0015s91-- index_name(:todos, {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending", :column=>[:user_id, :id]})92 -> 0.0000s93-- index_name_exists?(:todos, "index_todos_on_user_id_and_id", true)94 -> 0.0005s95-- index_name(:todos, {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending"})96 -> 0.0000s97-- index_name_exists?(:todos, "index_todos_on_user_id_and_id_pending", false)98 -> 0.0012s99-- remove_index(:todos, {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending", :column=>[:user_id, :id]})100 -> 0.0070s101-- transaction_open?()102 -> 0.0000s103-- index_exists?(:todos, [:user_id, :id], {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done"})104 -> 0.0007s105-- index_name(:todos, {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done", :column=>[:user_id, :id]})106 -> 0.0000s107-- index_name_exists?(:todos, "index_todos_on_user_id_and_id", true)108 -> 0.0015s109-- index_name(:todos, {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done"})110 -> 0.0000s111-- index_name_exists?(:todos, "index_todos_on_user_id_and_id_done", false)112 -> 0.0005s113-- remove_index(:todos, {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done", :column=>[:user_id, :id]})114 -> 0.0062s115== 20180309160427 AddPartialIndexesOnTodos: reverted (0.0200s) ================116== 20180309121820 RescheduleCommitsCountForMergeRequestDiff: reverting ========117== 20180309121820 RescheduleCommitsCountForMergeRequestDiff: reverted (0.0000s) 118== 20180308125206 AddUserInternalRegexToApplicationSetting: reverting =========119-- remove_column(:application_settings, :user_default_internal_regex)120 -> 0.0437s121== 20180308125206 AddUserInternalRegexToApplicationSetting: reverted (0.0437s) 122== 20180308052825 AddSectionNameIdIndexOnCiBuildTraceSections: reverting ======123== 20180308052825 AddSectionNameIdIndexOnCiBuildTraceSections: reverted (0.0000s) 124== 20180307012445 MigrateUpdateHeadPipelineForMergeRequestSidekiqQueue: reverting 125== 20180307012445 MigrateUpdateHeadPipelineForMergeRequestSidekiqQueue: reverted (0.0005s) 126== 20180306164012 AddPathIndexToRedirectRoutes: reverting =====================127== 20180306164012 AddPathIndexToRedirectRoutes: reverted (0.0000s) ============128== 20180306134842 AddMissingIndexesActsAsTaggableOnEngine: reverting ==========129-- transaction_open?()130 -> 0.0000s131-- index_name(:taggings, {:column=>["tag_id"]})132 -> 0.0004s133-- index_exists?(:taggings, :tag_id, {:name=>"index_taggings_on_tag_id"})134 -> 0.0007s135-- index_name(:taggings, {:name=>"index_taggings_on_tag_id", :column=>:tag_id})136 -> 0.0000s137-- index_name_exists?(:taggings, "index_taggings_on_tag_id", true)138 -> 0.0005s139-- remove_index(:taggings, {:name=>"index_taggings_on_tag_id", :column=>:tag_id})140 -> 0.0070s141-- transaction_open?()142 -> 0.0000s143-- index_name(:taggings, {:column=>["taggable_id", "taggable_type"]})144 -> 0.0000s145-- index_exists?(:taggings, [:taggable_id, :taggable_type], {:name=>"index_taggings_on_taggable_id_and_taggable_type"})146 -> 0.0014s147-- index_name(:taggings, {:name=>"index_taggings_on_taggable_id_and_taggable_type", :column=>[:taggable_id, :taggable_type]})148 -> 0.0000s149-- index_name_exists?(:taggings, "index_taggings_on_taggable_id_and_taggable_type", true)150 -> 0.0007s151-- remove_index(:taggings, {:name=>"index_taggings_on_taggable_id_and_taggable_type", :column=>[:taggable_id, :taggable_type]})152 -> 0.0066s153== 20180306134842 AddMissingIndexesActsAsTaggableOnEngine: reverted (0.0180s) =154== 20180306074045 MigrateCreateTraceArtifactSidekiqQueue: reverting ===========155== 20180306074045 MigrateCreateTraceArtifactSidekiqQueue: reverted (0.0004s) ==156== 20180305144721 AddPrivilegedToRunner: reverting ============================157-- remove_column(:clusters_applications_runners, :privileged)158 -> 0.0196s159== 20180305144721 AddPrivilegedToRunner: reverted (0.0197s) ===================160== 20180305100050 RemovePermanentFromRedirectRoutes: reverting ================161-- add_column(:redirect_routes, :permanent, :boolean)162 -> 0.0199s163== 20180305100050 RemovePermanentFromRedirectRoutes: reverted (0.0199s) =======164== 20180305095250 CreateInternalIdsTable: reverting ===========================165-- drop_table(:internal_ids, {:id=>:bigserial})166 -> 0.0036s167== 20180305095250 CreateInternalIdsTable: reverted (0.0038s) ==================168== 20180302152117 EnsureForeignKeysOnClustersApplications: reverting ==========169-- foreign_keys(:clusters_applications_ingress)170 -> 0.0010s171-- remove_foreign_key(:clusters_applications_ingress, {:column=>:cluster_id})172 -> 0.0055s173-- foreign_keys(:clusters_applications_prometheus)174 -> 0.0007s175-- remove_foreign_key(:clusters_applications_prometheus, {:column=>:cluster_id})176 -> 0.0044s177== 20180302152117 EnsureForeignKeysOnClustersApplications: reverted (0.0126s) =178== 20180301084653 ChangeProjectNamespaceIdNotNull: reverting ==================179-- change_column_null(:projects, :namespace_id, true)180 -> 0.0545s181== 20180301084653 ChangeProjectNamespaceIdNotNull: reverted (0.0546s) =========182== 20180301010859 CreateCiBuildsMetadataTable: reverting ======================183-- drop_table(:ci_builds_metadata, {})184 -> 0.0039s185== 20180301010859 CreateCiBuildsMetadataTable: reverted (0.0040s) =============186== 20180228172924 AddIncludePrivateContributionsToUsers: reverting ============187-- remove_column(:users, :include_private_contributions, :boolean)188 -> 0.0385s189== 20180228172924 AddIncludePrivateContributionsToUsers: reverted (0.0386s) ===190== 20180227182112 AddGroupIdToBoardsCe: reverting =============================191-- column_exists?(:boards, :group_id)192 -> 0.0021s193-- remove_foreign_key(:boards, {:column=>:group_id})194 -> 0.0048s195-- index_name(:boards, {:column=>["group_id"]})196 -> 0.0000s197-- index_exists?(:boards, :group_id, {:name=>"index_boards_on_group_id"})198 -> 0.0004s199-- index_name(:boards, {:column=>:group_id})200 -> 0.0000s201-- index_name_exists?(:boards, "index_boards_on_group_id", true)202 -> 0.0004s203-- remove_index(:boards, {:column=>:group_id, :name=>"index_boards_on_group_id"})204 -> 0.0055s205-- remove_column(:boards, :group_id)206 -> 0.0170s207-- execute("DELETE from boards WHERE project_id IS NULL")208 -> 0.0004s209-- change_column_null(:boards, :project_id, false)210 -> 0.0186s211== 20180227182112 AddGroupIdToBoardsCe: reverted (0.0505s) ====================212== 20180226050030 AddChecksumToCiJobArtifacts: reverting ======================213-- remove_column(:ci_job_artifacts, :file_sha256, :binary)214 -> 0.0202s215== 20180226050030 AddChecksumToCiJobArtifacts: reverted (0.0204s) =============216== 20180223144945 AddAllowLocalRequestsFromHooksAndServicesToApplicationSettings: reverting 217-- remove_column(:application_settings, :allow_local_requests_from_hooks_and_services)218 -> 0.0439s219== 20180223144945 AddAllowLocalRequestsFromHooksAndServicesToApplicationSettings: reverted (0.0449s) 220== 20180223124427 BuildUserInteractedProjectsTable: reverting =================221-- execute("TRUNCATE user_interacted_projects")222 -> 0.0067s223-- foreign_keys(:user_interacted_projects)224 -> 0.0010s225-- remove_foreign_key(:user_interacted_projects, :users)226 -> 0.0049s227-- foreign_keys(:user_interacted_projects)228 -> 0.0007s229-- remove_foreign_key(:user_interacted_projects, :projects)230 -> 0.0041s231-- indexes(:user_interacted_projects)232 -> 0.0015s233-- transaction_open?()234 -> 0.0000s235-- indexes(:user_interacted_projects)236 -> 0.0005s237-- index_name(:user_interacted_projects, {:name=>"index_user_interacted_projects_on_project_id_and_user_id"})238 -> 0.0000s239-- index_name_exists?(:user_interacted_projects, "index_user_interacted_projects_on_project_id_and_user_id", true)240 -> 0.0005s241-- remove_index(:user_interacted_projects, {:name=>"index_user_interacted_projects_on_project_id_and_user_id"})242 -> 0.0188s243-- indexes(:user_interacted_projects)244 -> 0.0016s245-- transaction_open?()246 -> 0.0000s247-- index_exists?(:user_interacted_projects, [:project_id, :user_id], {:name=>"user_interacted_projects_non_unique_index"})248 -> 0.0004s249-- add_index(:user_interacted_projects, [:project_id, :user_id], {:name=>"user_interacted_projects_non_unique_index"})250 -> 0.0081s251== 20180223124427 BuildUserInteractedProjectsTable: reverted (0.0497s) ========252== 20180223120443 CreateUserInteractedProjectsTable: reverting ================253-- drop_table(:user_interacted_projects)254 -> 0.0034s255== 20180223120443 CreateUserInteractedProjectsTable: reverted (0.0034s) =======256== 20180222043024 AddIpAddressToRunner: reverting =============================257-- remove_column(:ci_runners, :ip_address, :string)258 -> 0.0219s259== 20180222043024 AddIpAddressToRunner: reverted (0.0228s) ====================260== 20180221151752 AddAllowMaintainerToPushToMergeRequests: reverting ==========261-- remove_column(:merge_requests, :allow_maintainer_to_push)262 -> 0.0449s263== 20180221151752 AddAllowMaintainerToPushToMergeRequests: reverted (0.0450s) =264== 20180220150310 RemoveEmptyExternUidAuth0Identities: reverting ==============265== 20180220150310 RemoveEmptyExternUidAuth0Identities: reverted (0.0000s) =====266== 20180219153455 AddMaximumTimeoutToCiRunners: reverting =====================267-- remove_column(:ci_runners, :maximum_timeout, :integer)268 -> 0.0256s269== 20180219153455 AddMaximumTimeoutToCiRunners: reverted (0.0257s) ============270== 20180216121030 EnqueueVerifyPagesDomainWorkers: reverting ==================271== 20180216121030 EnqueueVerifyPagesDomainWorkers: reverted (0.0000s) =========272== 20180216121020 FillPagesDomainVerificationCode: reverting ==================273-- change_column_null(:pages_domains, :verification_code, true)274 -> 0.0324s275== 20180216121020 FillPagesDomainVerificationCode: reverted (0.0325s) =========276== 20180216120050 PagesDomainsVerificationGracePeriod: reverting ==============277== 20180216120050 PagesDomainsVerificationGracePeriod: reverted (0.0000s) =====278== 20180216120040 AddPagesDomainEnabledUntilIndex: reverting ==================279-- transaction_open?()280 -> 0.0000s281-- index_name(:pages_domains, {:column=>["verified_at", "enabled_until"]})282 -> 0.0000s283-- index_exists?(:pages_domains, [:verified_at, :enabled_until], {:name=>"index_pages_domains_on_verified_at_and_enabled_until"})284 -> 0.0017s285-- index_name(:pages_domains, {:name=>"index_pages_domains_on_verified_at_and_enabled_until", :column=>[:verified_at, :enabled_until]})286 -> 0.0000s287-- index_name_exists?(:pages_domains, "index_pages_domains_on_verified_at_and_enabled_until", true)288 -> 0.0005s289-- remove_index(:pages_domains, {:name=>"index_pages_domains_on_verified_at_and_enabled_until", :column=>[:verified_at, :enabled_until]})290 -> 0.0072s291-- transaction_open?()292 -> 0.0000s293-- index_name(:pages_domains, {:column=>["project_id", "enabled_until"]})294 -> 0.0000s295-- index_exists?(:pages_domains, [:project_id, :enabled_until], {:name=>"index_pages_domains_on_project_id_and_enabled_until"})296 -> 0.0005s297-- index_name(:pages_domains, {:name=>"index_pages_domains_on_project_id_and_enabled_until", :column=>[:project_id, :enabled_until]})298 -> 0.0000s299-- index_name_exists?(:pages_domains, "index_pages_domains_on_project_id_and_enabled_until", true)300 -> 0.0015s301-- remove_index(:pages_domains, {:name=>"index_pages_domains_on_project_id_and_enabled_until", :column=>[:project_id, :enabled_until]})302 -> 0.0058s303== 20180216120040 AddPagesDomainEnabledUntilIndex: reverted (0.0178s) =========304== 20180216120030 AddPagesDomainEnabledUntil: reverting =======================305-- remove_column(:pages_domains, :enabled_until, :datetime_with_timezone)306 -> 0.0214s307== 20180216120030 AddPagesDomainEnabledUntil: reverted (0.0216s) ==============308== 20180216120020 AllowDomainVerificationToBeDisabled: reverting ==============309-- remove_column(:application_settings, :pages_domain_verification_enabled, :boolean, {:default=>true, :null=>false})310 -> 0.0479s311== 20180216120020 AllowDomainVerificationToBeDisabled: reverted (0.0481s) =====312== 20180216120010 AddPagesDomainVerifiedAtIndex: reverting ====================313-- transaction_open?()314 -> 0.0000s315-- index_name(:pages_domains, {:column=>["verified_at"]})316 -> 0.0000s317-- index_exists?(:pages_domains, :verified_at, {:name=>"index_pages_domains_on_verified_at"})318 -> 0.0006s319-- index_name(:pages_domains, {:name=>"index_pages_domains_on_verified_at", :column=>:verified_at})320 -> 0.0000s321-- index_name_exists?(:pages_domains, "index_pages_domains_on_verified_at", true)322 -> 0.0004s323-- remove_index(:pages_domains, {:name=>"index_pages_domains_on_verified_at", :column=>:verified_at})324 -> 0.0056s325== 20180216120010 AddPagesDomainVerifiedAtIndex: reverted (0.0079s) ===========326== 20180216120000 AddPagesDomainVerification: reverting =======================327-- remove_column(:pages_domains, :verification_code, :string)328 -> 0.0194s329-- remove_column(:pages_domains, :verified_at, :datetime_with_timezone)330 -> 0.0187s331== 20180216120000 AddPagesDomainVerification: reverted (0.0384s) ==============332== 20180215181245 UsersNameLowerIndex: reverting ==============================333== 20180215181245 UsersNameLowerIndex: reverted (0.0000s) =====================334== 20180214155405 CreateClustersApplicationsRunners: reverting ================335-- foreign_keys(:clusters_applications_runners)336 -> 0.0011s337-- remove_foreign_key(:clusters_applications_runners, {:column=>:runner_id})338 -> 0.0059s339-- drop_table(:clusters_applications_runners)340 -> 0.0036s341== 20180214155405 CreateClustersApplicationsRunners: reverted (0.0107s) =======342== 20180214093516 CreateBadges: reverting =====================================343-- remove_foreign_key(:badges, {:column=>:group_id})344 -> 0.0049s345-- drop_table(:badges, {})346 -> 0.0035s347== 20180214093516 CreateBadges: reverted (0.0086s) ============================348== 20180213131630 AddPartialIndexToProjectsForIndexOnlyScans: reverting =======349-- index_exists?(:projects, :id, {:name=>"index_projects_on_id_partial_for_visibility"})350 -> 0.0006s351-- transaction_open?()352 -> 0.0009s353-- indexes(:projects)354 -> 0.0006s355-- index_name(:projects, {:name=>"index_projects_on_id_partial_for_visibility"})356 -> 0.0000s357-- index_name_exists?(:projects, "index_projects_on_id_partial_for_visibility", true)358 -> 0.0005s359-- remove_index(:projects, {:name=>"index_projects_on_id_partial_for_visibility"})360 -> 0.0070s361== 20180213131630 AddPartialIndexToProjectsForIndexOnlyScans: reverted (0.0099s) 362== 20180212102028 RemoveTmpPartialNullIndexFromBuilds: reverting ==============363-- transaction_open?()364 -> 0.0000s365-- index_exists?(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_partial_null_index"})366 -> 0.0015s367-- add_index(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_partial_null_index"})368 -> 0.0085s369== 20180212102028 RemoveTmpPartialNullIndexFromBuilds: reverted (0.0102s) =====370== 20180212101928 ScheduleBuildStageMigration: reverting ======================371== 20180212101928 ScheduleBuildStageMigration: reverted (0.0000s) =============372== 20180212101828 AddTmpPartialNullIndexToBuilds: reverting ===================373-- transaction_open?()374 -> 0.0000s375-- indexes(:ci_builds)376 -> 0.0015s377-- index_name(:ci_builds, {:name=>"tmp_id_partial_null_index"})378 -> 0.0000s379-- index_name_exists?(:ci_builds, "tmp_id_partial_null_index", true)380 -> 0.0007s381-- remove_index(:ci_builds, {:name=>"tmp_id_partial_null_index"})382 -> 0.0063s383== 20180212101828 AddTmpPartialNullIndexToBuilds: reverted (0.0098s) ==========384== 20180212030105 AddExternalIpToClustersApplicationsIngress: reverting =======385-- remove_column(:clusters_applications_ingress, :external_ip, :string)386 -> 0.0176s387== 20180212030105 AddExternalIpToClustersApplicationsIngress: reverted (0.0178s) 388== 20180209165249 AddClosedByToIssues: reverting ==============================389-- remove_foreign_key(:issues, {:column=>:closed_by_id})390 -> 0.0053s391-- remove_column(:issues, :closed_by_id)392 -> 0.0404s393== 20180209165249 AddClosedByToIssues: reverted (0.0458s) =====================394== 20180209115333 CreateChatopsTables: reverting ==============================395-- remove_foreign_key(:ci_pipeline_chat_data, {:column=>:pipeline_id})396 -> 0.0063s397-- drop_table(:ci_pipeline_chat_data, {:id=>:bigserial})398 -> 0.0041s399== 20180209115333 CreateChatopsTables: reverted (0.0106s) =====================400== 20180208183958 SchedulePopulateUntrackedUploadsIfNeeded: reverting =========401== 20180208183958 SchedulePopulateUntrackedUploadsIfNeeded: reverted (0.0000s) 402== 20180206200543 ResetEventsPrimaryKeySequence: reverting ====================403== 20180206200543 ResetEventsPrimaryKeySequence: reverted (0.0000s) ===========404== 20180204200836 ChangeAuthorIdToNotNullInTodos: reverting ===================405-- change_column_null(:todos, :author_id, true)406 -> 0.0320s407== 20180204200836 ChangeAuthorIdToNotNullInTodos: reverted (0.0321s) ==========408== 20180202111106 RemoveProjectLabelsGroupId: reverting =======================409== 20180202111106 RemoveProjectLabelsGroupId: reverted (0.0000s) ==============410== 20180201145907 MigrateRemainingIssuesClosedAt: reverting ===================411== 20180201145907 MigrateRemainingIssuesClosedAt: reverted (0.0000s) ==========412== 20180201110056 AddForeignKeysToTodos: reverting ============================413-- remove_foreign_key(:todos, {:column=>:user_id})414 -> 0.0067s415-- remove_foreign_key(:todos, {:column=>:author_id})416 -> 0.0085s417-- remove_foreign_key(:todos, :notes)418 -> 0.0057s419== 20180201110056 AddForeignKeysToTodos: reverted (0.0210s) ===================420== 20180201102129 AddUniqueConstraintToTrendingProjectsProjectId: reverting ===421-- rename_index(:trending_projects, "index_trending_projects_on_project_id", "index_trending_projects_on_project_id_old")422 -> 0.0046s423-- transaction_open?()424 -> 0.0000s425-- index_name(:trending_projects, {:column=>["project_id"]})426 -> 0.0000s427-- index_exists?(:trending_projects, :project_id, {:name=>"index_trending_projects_on_project_id"})428 -> 0.0004s429-- add_index(:trending_projects, :project_id, {:name=>"index_trending_projects_on_project_id"})430 -> 0.0106s431-- transaction_open?()432 -> 0.0000s433-- indexes(:trending_projects)434 -> 0.0005s435-- index_name(:trending_projects, {:name=>"index_trending_projects_on_project_id_old"})436 -> 0.0000s437-- index_name_exists?(:trending_projects, "index_trending_projects_on_project_id_old", true)438 -> 0.0013s439-- remove_index(:trending_projects, {:name=>"index_trending_projects_on_project_id_old"})440 -> 0.0058s441== 20180201102129 AddUniqueConstraintToTrendingProjectsProjectId: reverted (0.0239s) 442== 20180129193323 AddUploadsBuilderContext: reverting =========================443-- remove_column(:uploads, :secret, :string)444 -> 0.0229s445-- remove_column(:uploads, :mount_point, :string)446 -> 0.0244s447== 20180129193323 AddUploadsBuilderContext: reverted (0.0484s) ================448== 20180125214301 CreateUserCallouts: reverting ===============================449-- index_name(:user_callouts, {:column=>[:user_id, :feature_name]})450 -> 0.0000s451-- index_name_exists?(:user_callouts, "index_user_callouts_on_user_id_and_feature_name", true)452 -> 0.0006s453-- remove_index(:user_callouts, {:column=>[:user_id, :feature_name], :name=>"index_user_callouts_on_user_id_and_feature_name"})454 -> 0.0067s455-- drop_table(:user_callouts, {})456 -> 0.0034s457== 20180125214301 CreateUserCallouts: reverted (0.0119s) ======================458== 20180122162010 AddAutoDevopsDomainToApplicationSettings: reverting =========459-- remove_column(:application_settings, :auto_devops_domain, :string)460 -> 0.0472s461== 20180122162010 AddAutoDevopsDomainToApplicationSettings: reverted (0.0473s) 462== 20180122154930 ScheduleSetConfidentialNoteEventsOnServices: reverting ======463== 20180122154930 ScheduleSetConfidentialNoteEventsOnServices: reverted (0.0000s) 464== 20180119160751 OptimizeCiJobArtifacts: reverting ===========================465-- transaction_open?()466 -> 0.0000s467-- index_name(:ci_job_artifacts, {:column=>["expire_at", "job_id"]})468 -> 0.0000s469-- index_exists?(:ci_job_artifacts, [:expire_at, :job_id], {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id"})470 -> 0.0005s471-- index_name(:ci_job_artifacts, {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id", :column=>[:expire_at, :job_id]})472 -> 0.0000s473-- index_name_exists?(:ci_job_artifacts, "index_ci_job_artifacts_on_expire_at_and_job_id", true)474 -> 0.0005s475-- remove_index(:ci_job_artifacts, {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id", :column=>[:expire_at, :job_id]})476 -> 0.0066s477-- transaction_open?()478 -> 0.0000s479-- index_name(:ci_builds, {:column=>["artifacts_expire_at"]})480 -> 0.0000s481-- index_exists?(:ci_builds, [:artifacts_expire_at], {:where=>"artifacts_file <> ''", :name=>"index_ci_builds_on_artifacts_expire_at"})482 -> 0.0015s483-- index_name(:ci_builds, {:where=>"artifacts_file <> ''", :name=>"index_ci_builds_on_artifacts_expire_at", :column=>[:artifacts_expire_at]})484 -> 0.0000s485-- index_name_exists?(:ci_builds, "index_ci_builds_on_artifacts_expire_at", true)486 -> 0.0015s487-- remove_index(:ci_builds, {:where=>"artifacts_file <> ''", :name=>"index_ci_builds_on_artifacts_expire_at", :column=>[:artifacts_expire_at]})488 -> 0.0069s489== 20180119160751 OptimizeCiJobArtifacts: reverted (0.0189s) ==================490== 20180119135717 AddUploaderIndexToUploads: reverting ========================491-- transaction_open?()492 -> 0.0000s493-- index_name(:uploads, {:column=>["uploader", "path"]})494 -> 0.0000s495-- index_exists?(:uploads, [:uploader, :path], {:name=>"index_uploads_on_uploader_and_path"})496 -> 0.0527s497-- index_name(:uploads, {:name=>"index_uploads_on_uploader_and_path", :column=>[:uploader, :path]})498 -> 0.0000s499-- index_name_exists?(:uploads, "index_uploads_on_uploader_and_path", true)500 -> 0.0008s501-- remove_index(:uploads, {:name=>"index_uploads_on_uploader_and_path", :column=>[:uploader, :path]})502 -> 0.0067s503-- transaction_open?()504 -> 0.0000s505-- index_name(:uploads, {:column=>["path"]})506 -> 0.0000s507-- index_exists?(:uploads, :path, {:using=>:btree, :name=>"index_uploads_on_path"})508 -> 0.0005s509-- add_index(:uploads, :path, {:using=>:btree, :name=>"index_uploads_on_path"})510 -> 0.0066s511== 20180119135717 AddUploaderIndexToUploads: reverted (0.0679s) ===============512== 20180119121225 RemoveRedundantPipelineStages: reverting ====================513-- transaction_open?()514 -> 0.0000s515-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})516 -> 0.0000s517-- index_exists?(:ci_stages, [:pipeline_id, :name], {:unique=>true, :name=>"index_ci_stages_on_pipeline_id_and_name"})518 -> 0.0005s519-- index_name(:ci_stages, {:unique=>true, :name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})520 -> 0.0000s521-- index_name_exists?(:ci_stages, "index_ci_stages_on_pipeline_id_and_name", true)522 -> 0.0004s523-- remove_index(:ci_stages, {:unique=>true, :name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})524 -> 0.0056s525-- transaction_open?()526 -> 0.0000s527-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})528 -> 0.0000s529-- index_exists?(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})530 -> 0.0005s531-- add_index(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})532 -> 0.0071s533== 20180119121225 RemoveRedundantPipelineStages: reverted (0.0146s) ===========534== 20180116193854 CreateLfsFileLocks: reverting ===============================535-- foreign_keys(:lfs_file_locks)536 -> 0.0010s537-- remove_foreign_key(:lfs_file_locks, {:column=>:project_id})538 -> 0.0046s539-- index_name(:lfs_file_locks, {:column=>["project_id", "path"]})540 -> 0.0000s541-- index_exists?(:lfs_file_locks, [:project_id, :path], {:name=>"index_lfs_file_locks_on_project_id_and_path"})542 -> 0.0004s543-- transaction_open?()544 -> 0.0000s545-- index_name(:lfs_file_locks, {:column=>["project_id", "path"]})546 -> 0.0000s547-- index_exists?(:lfs_file_locks, [:project_id, :path], {:name=>"index_lfs_file_locks_on_project_id_and_path"})548 -> 0.0005s549-- index_name(:lfs_file_locks, {:name=>"index_lfs_file_locks_on_project_id_and_path", :column=>[:project_id, :path]})550 -> 0.0000s551-- index_name_exists?(:lfs_file_locks, "index_lfs_file_locks_on_project_id_and_path", true)552 -> 0.0005s553-- remove_index(:lfs_file_locks, {:name=>"index_lfs_file_locks_on_project_id_and_path", :column=>[:project_id, :path]})554 -> 0.0055s555-- drop_table(:lfs_file_locks)556 -> 0.0035s557== 20180116193854 CreateLfsFileLocks: reverted (0.0165s) ======================558== 20180115201419 AddIndexUpdatedAtToIssues: reverting ========================559-- transaction_open?()560 -> 0.0000s561-- index_name(:issues, {:column=>["updated_at"]})562 -> 0.0000s563-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})564 -> 0.0007s565-- index_name(:issues, {:name=>"index_issues_on_updated_at", :column=>:updated_at})566 -> 0.0000s567-- index_name_exists?(:issues, "index_issues_on_updated_at", true)568 -> 0.0006s569-- remove_index(:issues, {:name=>"index_issues_on_updated_at", :column=>:updated_at})570 -> 0.0062s571== 20180115201419 AddIndexUpdatedAtToIssues: reverted (0.0078s) ===============572== 20180113220114 ReworkRedirectRoutesIndexes: reverting ======================573-- transaction_open?()574 -> 0.0000s575-- index_name(:redirect_routes, {:column=>["permanent"]})576 -> 0.0000s577-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})578 -> 0.0005s579-- add_index(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})580 -> 0.0087s581== 20180113220114 ReworkRedirectRoutesIndexes: reverted (0.0094s) =============582== 20180109183319 ChangeDefaultValueForPagesHttpsOnly: reverting ==============583-- change_column_default(:projects, :pages_https_only, nil)584 -> 0.0076s585== 20180109183319 ChangeDefaultValueForPagesHttpsOnly: reverted (0.0077s) =====586== 20180105212544 AddCommitsCountToMergeRequestDiff: reverting ================587-- remove_column(:merge_request_diffs, :commits_count)588 -> 0.0188s589== 20180105212544 AddCommitsCountToMergeRequestDiff: reverted (0.0189s) =======590== 20180104131052 ScheduleSetConfidentialNoteEventsOnWebhooks: reverting ======591== 20180104131052 ScheduleSetConfidentialNoteEventsOnWebhooks: reverted (0.0000s) 592== 20180103123548 AddConfidentialNoteEventsToServices: reverting ==============593-- remove_column(:services, :confidential_note_events)594 -> 0.0198s595== 20180103123548 AddConfidentialNoteEventsToServices: reverted (0.0199s) =====596== 20180102220145 AddPagesHttpsOnlyToProjects: reverting ======================597-- remove_column(:projects, :pages_https_only, :boolean)598 -> 0.0443s599== 20180102220145 AddPagesHttpsOnlyToProjects: reverted (0.0444s) =============600== 20180101160630 ChangeProjectIdForPrometheusMetrics: reverting ==============601-- change_column_null(:prometheus_metrics, :project_id, false)602 -> 0.0236s603== 20180101160630 ChangeProjectIdForPrometheusMetrics: reverted (0.0237s) =====604== 20180101160629 CreatePrometheusMetrics: reverting ==========================605-- drop_table(:prometheus_metrics, {})606 -> 0.0036s607== 20180101160629 CreatePrometheusMetrics: reverted (0.0037s) =================608== 20171230123729 AddRebaseCommitShaToMergeRequestsCe: reverting ==============609-- column_exists?(:merge_requests, :rebase_commit_sha)610 -> 0.0019s611-- remove_column(:merge_requests, :rebase_commit_sha)612 -> 0.0504s613== 20171230123729 AddRebaseCommitShaToMergeRequestsCe: reverted (0.0524s) =====614== 20171229225929 ChangeUserProjectLimitNotNullAndRemoveDefault: reverting ====615-- change_column_null(:users, :projects_limit, true)616 -> 0.0456s617-- change_column_default(:users, :projects_limit, 10)618 -> 0.0086s619== 20171229225929 ChangeUserProjectLimitNotNullAndRemoveDefault: reverted (0.0543s) 620== 20171222183504 AddJobsCacheIndexToProject: reverting =======================621-- remove_column(:projects, :jobs_cache_index, :integer)622 -> 0.0491s623== 20171222183504 AddJobsCacheIndexToProject: reverted (0.0493s) ==============624== 20171222115326 AddConfidentialNoteEventsToWebHooks: reverting ==============625-- remove_column(:web_hooks, :confidential_note_events)626 -> 0.0206s627== 20171222115326 AddConfidentialNoteEventsToWebHooks: reverted (0.0206s) =====628== 20171221140220 ScheduleIssuesClosedAtTypeChange: reverting =================629-- columns("issues")630 -> 0.0014s631-- add_column("issues", "closed_at_for_type_change", :datetime)632 -> 0.0425s633-- quote_table_name("issues")634 -> 0.0000s635-- quote_column_name(:closed_at)636 -> 0.0000s637-- quote_column_name("closed_at_for_type_change")638 -> 0.0000s639-- execute("CREATE TRIGGER trigger_08acb26c5ecf_insert\nBEFORE INSERT\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")640 -> 0.0043s641-- execute("CREATE TRIGGER trigger_08acb26c5ecf_update\nBEFORE UPDATE\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")642 -> 0.0047s643== 20171221140220 ScheduleIssuesClosedAtTypeChange: reverted (0.1450s) ========644== 20171220191323 AddIndexOnNamespacesLowerName: reverting ====================645== 20171220191323 AddIndexOnNamespacesLowerName: reverted (0.0000s) ===========646== 20171219121201 NormalizeExternUidFromIdentities: reverting =================647== 20171219121201 NormalizeExternUidFromIdentities: reverted (0.0000s) ========648== 20171216112339 AddForeignKeyForMembers: reverting ==========================649-- remove_foreign_key(:members, {:column=>:user_id})650 -> 0.0047s651== 20171216112339 AddForeignKeyForMembers: reverted (0.0048s) =================652== 20171216111734 CleanUpForMembers: reverting ================================653== 20171216111734 CleanUpForMembers: reverted (0.0000s) =======================654== 20171215121259 RemoveCanPushFromKeys: reverting ============================655-- transaction_open?()656 -> 0.0000s657-- transaction()658-- add_column(:keys, :can_push, :boolean, {:default=>nil})659 -> 0.0199s660-- change_column_default(:keys, :can_push, false)661 -> 0.0051s662 -> 0.0258s663-- transaction_open?()664 -> 0.0000s665-- exec_query("SELECT COUNT(*) AS count FROM `keys`")666 -> 0.0004s667-- change_column_null(:keys, :can_push, false)668 -> 0.0211s669== 20171215121259 RemoveCanPushFromKeys: reverted (0.0476s) ===================670== 20171215121205 PostPopulateCanPushFromDeployKeysProjects: reverting ========671== 20171215121205 PostPopulateCanPushFromDeployKeysProjects: reverted (0.0026s) 672== 20171215113714 PopulateCanPushFromDeployKeysProjects: reverting ============673== 20171215113714 PopulateCanPushFromDeployKeysProjects: reverted (0.0011s) ===674== 20171214144320 AddStoreColumnToUploads: reverting ==========================675-- remove_column(:uploads, :store, :integer)676 -> 0.0222s677== 20171214144320 AddStoreColumnToUploads: reverted (0.0224s) =================678== 20171213160445 MigrateGithubImporterAdvanceStageSidekiqQueue: reverting ====679== 20171213160445 MigrateGithubImporterAdvanceStageSidekiqQueue: reverted (0.0004s) 680== 20171212203433 CreateClustersApplicationsPrometheus: reverting =============681-- drop_table(:clusters_applications_prometheus, {})682 -> 0.0035s683== 20171212203433 CreateClustersApplicationsPrometheus: reverted (0.0036s) ====684== 20171211145425 AddCanPushToDeployKeysProjects: reverting ===================685-- remove_column(:deploy_keys_projects, :can_push)686 -> 0.0186s687== 20171211145425 AddCanPushToDeployKeysProjects: reverted (0.0187s) ==========688== 20171207185153 AddMergeRequestStateIndex: reverting ========================689-- transaction_open?()690 -> 0.0000s691-- indexes(:merge_requests)692 -> 0.0007s693-- index_name(:merge_requests, {:name=>"index_merge_requests_on_source_project_and_branch_state_opened"})694 -> 0.0000s695-- index_name_exists?(:merge_requests, "index_merge_requests_on_source_project_and_branch_state_opened", true)696 -> 0.0006s697-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_source_project_and_branch_state_opened"})698 -> 0.0056s699== 20171207185153 AddMergeRequestStateIndex: reverted (0.0072s) ===============700== 20171207150344 RemoveDeletedAtColumns: reverting ===========================701-- column_exists?(:issues, :deleted_at)702 -> 0.0013s703-- add_column(:issues, :deleted_at, :datetime_with_timezone)704 -> 0.0394s705-- index_name(:issues, {:column=>["deleted_at"]})706 -> 0.0000s707-- index_exists?(:issues, :deleted_at, {:name=>"index_issues_on_deleted_at"})708 -> 0.0009s709-- transaction_open?()710 -> 0.0000s711-- index_name(:issues, {:column=>["deleted_at"]})712 -> 0.0000s713-- index_exists?(:issues, :deleted_at, {:name=>"index_issues_on_deleted_at"})714 -> 0.0007s715-- add_index(:issues, :deleted_at, {:name=>"index_issues_on_deleted_at"})716 -> 0.0096s717-- column_exists?(:merge_requests, :deleted_at)718 -> 0.0019s719-- add_column(:merge_requests, :deleted_at, :datetime_with_timezone)720 -> 0.0540s721-- index_name(:merge_requests, {:column=>["deleted_at"]})722 -> 0.0000s723-- index_exists?(:merge_requests, :deleted_at, {:name=>"index_merge_requests_on_deleted_at"})724 -> 0.0009s725-- transaction_open?()726 -> 0.0000s727-- index_name(:merge_requests, {:column=>["deleted_at"]})728 -> 0.0000s729-- index_exists?(:merge_requests, :deleted_at, {:name=>"index_merge_requests_on_deleted_at"})730 -> 0.0006s731-- add_index(:merge_requests, :deleted_at, {:name=>"index_merge_requests_on_deleted_at"})732 -> 0.0097s733-- column_exists?(:namespaces, :deleted_at)734 -> 0.0016s735-- add_column(:namespaces, :deleted_at, :datetime_with_timezone)736 -> 0.0310s737-- index_name(:namespaces, {:column=>["deleted_at"]})738 -> 0.0000s739-- index_exists?(:namespaces, :deleted_at, {:name=>"index_namespaces_on_deleted_at"})740 -> 0.0008s741-- transaction_open?()742 -> 0.0000s743-- index_name(:namespaces, {:column=>["deleted_at"]})744 -> 0.0000s745-- index_exists?(:namespaces, :deleted_at, {:name=>"index_namespaces_on_deleted_at"})746 -> 0.0006s747-- add_index(:namespaces, :deleted_at, {:name=>"index_namespaces_on_deleted_at"})748 -> 0.0090s749-- column_exists?(:ci_pipeline_schedules, :deleted_at)750 -> 0.0011s751-- add_column(:ci_pipeline_schedules, :deleted_at, :datetime_with_timezone)752 -> 0.0218s753-- index_name(:ci_pipeline_schedules, {:column=>["deleted_at"]})754 -> 0.0000s755-- index_exists?(:ci_pipeline_schedules, :deleted_at, {:name=>"index_ci_pipeline_schedules_on_deleted_at"})756 -> 0.0006s757-- transaction_open?()758 -> 0.0000s759-- index_name(:ci_pipeline_schedules, {:column=>["deleted_at"]})760 -> 0.0000s761-- index_exists?(:ci_pipeline_schedules, :deleted_at, {:name=>"index_ci_pipeline_schedules_on_deleted_at"})762 -> 0.0005s763-- add_index(:ci_pipeline_schedules, :deleted_at, {:name=>"index_ci_pipeline_schedules_on_deleted_at"})764 -> 0.0090s765-- column_exists?(:ci_triggers, :deleted_at)766 -> 0.0010s767-- add_column(:ci_triggers, :deleted_at, :datetime_with_timezone)768 -> 0.0194s769-- index_name(:ci_triggers, {:column=>["deleted_at"]})770 -> 0.0000s771-- index_exists?(:ci_triggers, :deleted_at, {:name=>"index_ci_triggers_on_deleted_at"})772 -> 0.0005s773-- transaction_open?()774 -> 0.0000s775-- index_name(:ci_triggers, {:column=>["deleted_at"]})776 -> 0.0000s777-- index_exists?(:ci_triggers, :deleted_at, {:name=>"index_ci_triggers_on_deleted_at"})778 -> 0.0004s779-- add_index(:ci_triggers, :deleted_at, {:name=>"index_ci_triggers_on_deleted_at"})780 -> 0.0100s781== 20171207150344 RemoveDeletedAtColumns: reverted (0.2284s) ==================782== 20171207150343 RemoveSoftRemovedObjects: reverting =========================783== 20171207150343 RemoveSoftRemovedObjects: reverted (0.0000s) ================784== 20171207150300 RemoveProjectLabelsGroupIdCopy: reverting ===================785== 20171207150300 RemoveProjectLabelsGroupIdCopy: reverted (0.0000s) ==========786== 20171206221519 AddPermanentIndexToRedirectRoute: reverting =================787-- index_name(:redirect_routes, {:column=>["permanent"]})788 -> 0.0000s789-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})790 -> 0.0006s791-- transaction_open?()792 -> 0.0000s793-- index_name(:redirect_routes, {:column=>["permanent"]})794 -> 0.0000s795-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})796 -> 0.0004s797-- index_name(:redirect_routes, {:name=>"index_redirect_routes_on_permanent", :column=>:permanent})798 -> 0.0000s799-- index_name_exists?(:redirect_routes, "index_redirect_routes_on_permanent", true)800 -> 0.0005s801-- remove_index(:redirect_routes, {:name=>"index_redirect_routes_on_permanent", :column=>:permanent})802 -> 0.0056s803== 20171206221519 AddPermanentIndexToRedirectRoute: reverted (0.0074s) ========804== 20171205190711 RescheduleForkNetworkCreationCaller: reverting ==============805== 20171205190711 RescheduleForkNetworkCreationCaller: reverted (0.0000s) =====806== 20171204204233 AddPermanentToRedirectRoute: reverting ======================807-- remove_column(:redirect_routes, :permanent)808 -> 0.0199s809== 20171204204233 AddPermanentToRedirectRoute: reverted (0.0200s) =============810== 20171128214150 SchedulePopulateMergeRequestMetricsWithEventsData: reverting 811-- execute("update merge_request_metrics set latest_closed_at = null")812 -> 0.0004s813-- execute("update merge_request_metrics set latest_closed_by_id = null")814 -> 0.0003s815-- execute("update merge_request_metrics set merged_by_id = null")816 -> 0.0004s817== 20171128214150 SchedulePopulateMergeRequestMetricsWithEventsData: reverted (0.0012s) 818== 20171127151038 AddEventsRelatedColumnsToMergeRequestMetrics: reverting =====819-- foreign_keys(:merge_request_metrics)820 -> 0.0009s821-- remove_foreign_key(:merge_request_metrics, {:column=>:merged_by_id})822 -> 0.0046s823-- foreign_keys(:merge_request_metrics)824 -> 0.0007s825-- remove_foreign_key(:merge_request_metrics, {:column=>:latest_closed_by_id})826 -> 0.0042s827-- remove_columns(:merge_request_metrics, :merged_by_id, :latest_closed_by_id, :latest_closed_at)828 -> 0.0655s829== 20171127151038 AddEventsRelatedColumnsToMergeRequestMetrics: reverted (0.0762s) 830== 20171124150326 RescheduleForkNetworkCreation: reverting ====================831== 20171124150326 RescheduleForkNetworkCreation: reverted (0.0000s) ===========832== 20171124132536 MakeMergeRequestStatusesNotNull: reverting ==================833-- change_column_null(:merge_requests, :merge_status, true)834 -> 0.0503s835-- change_column_null(:merge_requests, :state, true)836 -> 0.0480s837== 20171124132536 MakeMergeRequestStatusesNotNull: reverted (0.0986s) =========838== 20171124125748 PopulateMissingMergeRequestStatuses: reverting ==============839== 20171124125748 PopulateMissingMergeRequestStatuses: reverted (0.0000s) =====840== 20171124125042 AddDefaultValuesToMergeRequestStates: reverting =============841-- change_column_default(:merge_requests, :state, nil)842 -> 0.0067s843-- change_column_default(:merge_requests, :merge_status, nil)844 -> 0.0064s845== 20171124125042 AddDefaultValuesToMergeRequestStates: reverted (0.0132s) ====846== 20171124104327 MigrateKubernetesServiceToNewClustersArchitectures: reverting 847== 20171124104327 MigrateKubernetesServiceToNewClustersArchitectures: reverted (0.0000s) 848== 20171124100152 RemoveIndexOnMergeRequestDiffsMergeRequestDiffId: reverting =849-- transaction_open?()850 -> 0.0000s851-- index_name(:merge_request_diffs, {:column=>["merge_request_id"]})852 -> 0.0000s853-- index_exists?(:merge_request_diffs, :merge_request_id, {:name=>"index_merge_request_diffs_on_merge_request_id"})854 -> 0.0006s855-- add_index(:merge_request_diffs, :merge_request_id, {:name=>"index_merge_request_diffs_on_merge_request_id"})856 -> 0.0093s857== 20171124100152 RemoveIndexOnMergeRequestDiffsMergeRequestDiffId: reverted (0.0100s) 858== 20171124095655 AddIndexOnMergeRequestDiffsMergeRequestIdAndId: reverting ===859-- index_name(:merge_request_diffs, {:column=>["merge_request_id", "id"]})860 -> 0.0000s861-- index_exists?(:merge_request_diffs, [:merge_request_id, :id], {:name=>"index_merge_request_diffs_on_merge_request_id_and_id"})862 -> 0.0005s863-- transaction_open?()864 -> 0.0000s865-- index_name(:merge_request_diffs, {:column=>["merge_request_id", "id"]})866 -> 0.0000s867-- index_exists?(:merge_request_diffs, [:merge_request_id, :id], {:name=>"index_merge_request_diffs_on_merge_request_id_and_id"})868 -> 0.0004s869-- index_name(:merge_request_diffs, {:name=>"index_merge_request_diffs_on_merge_request_id_and_id", :column=>[:merge_request_id, :id]})870 -> 0.0000s871-- index_name_exists?(:merge_request_diffs, "index_merge_request_diffs_on_merge_request_id_and_id", true)872 -> 0.0005s873-- remove_index(:merge_request_diffs, {:name=>"index_merge_request_diffs_on_merge_request_id_and_id", :column=>[:merge_request_id, :id]})874 -> 0.0062s875== 20171124095655 AddIndexOnMergeRequestDiffsMergeRequestIdAndId: reverted (0.0081s) 876== 20171123101046 RemoveOldCircuitbreakerConfig: reverting ====================877-- add_column(:application_settings, :circuitbreaker_backoff_threshold, :integer, {:default=>80})878 -> 0.0448s879-- add_column(:application_settings, :circuitbreaker_failure_wait_time, :integer, {:default=>30})880 -> 0.0458s881== 20171123101046 RemoveOldCircuitbreakerConfig: reverted (0.0908s) ===========882== 20171123101020 UpdateCircuitbreakerDefaults: reverting =====================883-- change_column_default(:application_settings, :circuitbreaker_failure_count_threshold, 160)884 -> 0.0129s885-- change_column_default(:application_settings, :circuitbreaker_storage_timeout, 30)886 -> 0.0122s887== 20171123101020 UpdateCircuitbreakerDefaults: reverted (0.0305s) ============888== 20171123094802 AddCircuitbreakerCheckIntervalToApplicationSettings: reverting 889-- remove_column(:application_settings, :circuitbreaker_check_interval)890 -> 0.0440s891== 20171123094802 AddCircuitbreakerCheckIntervalToApplicationSettings: reverted (0.0441s) 892== 20171122131600 AddNewProjectGuidelinesToAppearances: reverting =============893-- remove_column(:appearances, :new_project_guidelines_html, :text, {})894 -> 0.0183s895-- remove_column(:appearances, :new_project_guidelines, :text, {})896 -> 0.0156s897== 20171122131600 AddNewProjectGuidelinesToAppearances: reverted (0.0342s) ====898== 20171121160421 RemoveMergeRequestDiffStCommitsAndStDiffs: reverting ========899-- add_column(:merge_request_diffs, :st_diffs, :text)900 -> 0.0192s901-- add_column(:merge_request_diffs, :st_commits, :text)902 -> 0.0185s903== 20171121160421 RemoveMergeRequestDiffStCommitsAndStDiffs: reverted (0.0380s) 904== 20171121144800 CiPipelinesIndexOnProjectIdRefStatusId: reverting ===========905-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status"]})906 -> 0.0000s907-- index_exists?(:ci_pipelines, [:project_id, :ref, :status], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status"})908 -> 0.0008s909-- transaction_open?()910 -> 0.0000s911-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status"]})912 -> 0.0000s913-- index_exists?(:ci_pipelines, [:project_id, :ref, :status], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status"})914 -> 0.0005s915-- add_index(:ci_pipelines, [:project_id, :ref, :status], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status"})916 -> 0.0094s917-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status", "id"]})918 -> 0.0000s919-- index_exists?(:ci_pipelines, [:project_id, :ref, :status, :id], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"})920 -> 0.0007s921-- transaction_open?()922 -> 0.0000s923-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status", "id"]})924 -> 0.0000s925-- index_exists?(:ci_pipelines, [:project_id, :ref, :status, :id], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"})926 -> 0.0005s927-- index_name(:ci_pipelines, {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id", :column=>[:project_id, :ref, :status, :id]})928 -> 0.0000s929-- index_name_exists?(:ci_pipelines, "index_ci_pipelines_on_project_id_and_ref_and_status_and_id", true)930 -> 0.0005s931-- remove_index(:ci_pipelines, {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id", :column=>[:project_id, :ref, :status, :id]})932 -> 0.0058s933== 20171121144800 CiPipelinesIndexOnProjectIdRefStatusId: reverted (0.0189s) ==934== 20171121135738 CleanUpFromMergeRequestDiffsAndCommits: reverting ===========935== 20171121135738 CleanUpFromMergeRequestDiffsAndCommits: reverted (0.0000s) ==936== 20171116135628 AddEnvironmentScopeToClusters: reverting ====================937-- remove_column(:clusters, :environment_scope)938 -> 0.0199s939== 20171116135628 AddEnvironmentScopeToClusters: reverted (0.0199s) ===========940== 20171115164540 PopulateMergeRequestsLatestMergeRequestDiffIdTakeTwo: reverting 941== 20171115164540 PopulateMergeRequestsLatestMergeRequestDiffIdTakeTwo: reverted (0.0000s) 942== 20171114162227 MergeRequestsMilestoneIdForeignKey: reverting ===============943-- remove_foreign_key(:merge_requests, {:column=>:milestone_id})944 -> 0.0067s945== 20171114162227 MergeRequestsMilestoneIdForeignKey: reverted (0.0067s) ======946== 20171114161914 MergeRequestsSourceProjectIdForeignKey: reverting ===========947-- remove_foreign_key(:merge_requests, {:column=>:source_project_id})948 -> 0.0052s949-- change_column_null(:merge_requests, :source_project_id, false)950 -> 0.0522s951== 20171114161914 MergeRequestsSourceProjectIdForeignKey: reverted (0.0576s) ==952== 20171114161720 MergeRequestsMergeUserIdForeignKey: reverting ===============953-- remove_foreign_key(:merge_requests, {:column=>:merge_user_id})954 -> 0.0053s955-- transaction_open?()956 -> 0.0000s957-- index_name(:merge_requests, {:column=>["merge_user_id"]})958 -> 0.0000s959-- index_exists?(:merge_requests, :merge_user_id, {:name=>"index_merge_requests_on_merge_user_id"})960 -> 0.0007s961-- index_name(:merge_requests, {:name=>"index_merge_requests_on_merge_user_id", :column=>:merge_user_id})962 -> 0.0000s963-- index_name_exists?(:merge_requests, "index_merge_requests_on_merge_user_id", true)964 -> 0.0006s965-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_merge_user_id", :column=>:merge_user_id})966 -> 0.0061s967== 20171114161720 MergeRequestsMergeUserIdForeignKey: reverted (0.0131s) ======968== 20171114160904 MergeRequestsUpdatedByIdForeignKey: reverting ===============969-- remove_foreign_key(:merge_requests, {:column=>:updated_by_id})970 -> 0.0050s971-- transaction_open?()972 -> 0.0000s973-- index_name(:merge_requests, {:column=>["updated_by_id"]})974 -> 0.0000s975-- index_exists?(:merge_requests, :updated_by_id, {:name=>"index_merge_requests_on_updated_by_id"})976 -> 0.0006s977-- index_name(:merge_requests, {:name=>"index_merge_requests_on_updated_by_id", :column=>:updated_by_id})978 -> 0.0000s979-- index_name_exists?(:merge_requests, "index_merge_requests_on_updated_by_id", true)980 -> 0.0005s981-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_updated_by_id", :column=>:updated_by_id})982 -> 0.0066s983== 20171114160904 MergeRequestsUpdatedByIdForeignKey: reverted (0.0131s) ======984== 20171114160005 MergeRequestsAssigneeIdForeignKey: reverting ================985-- remove_foreign_key(:merge_requests, {:column=>:assignee_id})986 -> 0.0112s987== 20171114160005 MergeRequestsAssigneeIdForeignKey: reverted (0.0113s) =======988== 20171114150259 MergeRequestsAuthorIdForeignKey: reverting ==================989-- remove_foreign_key(:merge_requests, {:column=>:author_id})990 -> 0.0052s991== 20171114150259 MergeRequestsAuthorIdForeignKey: reverted (0.0053s) =========992== 20171114104051 RemoveEmptyForkNetworks: reverting ==========================993== 20171114104051 RemoveEmptyForkNetworks: reverted (0.0000s) =================994== 20171106180641 CleanupAddTimezoneToIssuesClosedAt: reverting ===============995-- transaction_open?()996 -> 0.0000s997-- columns(:issues)998 -> 0.0013s999-- add_column(:issues, "closed_at_for_type_change", :datetime, {:limit=>nil, :precision=>0, :scale=>nil})1000 -> 0.0401s1001-- quote_table_name(:issues)1002 -> 0.0000s1003-- quote_column_name(:closed_at)1004 -> 0.0000s1005-- quote_column_name("closed_at_for_type_change")1006 -> 0.0000s1007-- execute("CREATE TRIGGER trigger_08acb26c5ecf_insert\nBEFORE INSERT\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")1008 -> 0.0044s1009-- execute("CREATE TRIGGER trigger_08acb26c5ecf_update\nBEFORE UPDATE\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")1010 -> 0.0046s1011-- transaction_open?()1012 -> 0.0000s1013-- exec_query("SELECT COUNT(*) AS count FROM `issues`")1014 -> 0.0008s1015-- indexes(:issues)1016 -> 0.0008s1017-- foreign_keys(:issues)1018 -> 0.0010s1019== 20171106180641 CleanupAddTimezoneToIssuesClosedAt: reverted (0.0552s) ======1020== 20171106171453 AddTimezoneToIssuesClosedAt: reverting ======================Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.1021If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).1022You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)1023If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.1024DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)1025Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.1026If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).1027You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)1028If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.1029DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)1030-- transaction()1031-- execute("DROP TRIGGER IF EXISTS trigger_08acb26c5ecf_insert")1032 -> 0.0028s1033-- execute("DROP TRIGGER IF EXISTS trigger_08acb26c5ecf_update")1034 -> 0.0008s1035-- remove_column(:issues, :closed_at)1036 -> 0.0388s1037-- rename_column(:issues, "closed_at_for_type_change", :closed_at)1038 -> 0.0079s1039 -> 0.0528s1040== 20171106171453 AddTimezoneToIssuesClosedAt: reverted (0.0528s) =============1041== 20171106155656 TurnIssuesDueDateIndexToPartialIndex: reverting =============1042-- transaction_open?()1043 -> 0.0000s1044-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})1045 -> 0.0009s1046-- add_index(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})1047 -> 0.0091s1048-- transaction_open?()1049 -> 0.0000s1050-- indexes(:issues)1051 -> 0.0007s1052-- index_name(:issues, {:name=>"idx_issues_on_project_id_and_due_date_and_id_and_state_partial"})1053 -> 0.0000s1054-- index_name_exists?(:issues, "idx_issues_on_project_id_and_due_date_and_id_and_state_partial", true)1055 -> 0.0007s1056-- remove_index(:issues, {:name=>"idx_issues_on_project_id_and_due_date_and_id_and_state_partial"})1057 -> 0.0054s1058== 20171106155656 TurnIssuesDueDateIndexToPartialIndex: reverted (0.0171s) ====1059== 20171106154015 RemoveIssuesBranchName: reverting ===========================1060-- add_column(:issues, :branch_name, :string)1061 -> 0.0480s1062== 20171106154015 RemoveIssuesBranchName: reverted (0.0481s) ==================1063== 20171106151218 IssuesMovedToIdForeignKey: reverting ========================1064-- remove_foreign_key(:issues, {:column=>:moved_to_id})1065 -> 0.0052s1066-- transaction_open?()1067 -> 0.0000s1068-- index_name(:issues, {:column=>["moved_to_id"]})1069 -> 0.0000s1070-- index_exists?(:issues, :moved_to_id, {:name=>"index_issues_on_moved_to_id"})1071 -> 0.0008s1072-- index_name(:issues, {:name=>"index_issues_on_moved_to_id", :column=>:moved_to_id})1073 -> 0.0000s1074-- index_name_exists?(:issues, "index_issues_on_moved_to_id", true)1075 -> 0.0006s1076-- remove_index(:issues, {:name=>"index_issues_on_moved_to_id", :column=>:moved_to_id})1077 -> 0.0058s1078== 20171106151218 IssuesMovedToIdForeignKey: reverted (0.0128s) ===============1079== 20171106150657 IssuesUpdatedByIdForeignKey: reverting ======================1080-- remove_foreign_key(:issues, {:column=>:updated_by_id})1081 -> 0.0052s1082-- transaction_open?()1083 -> 0.0000s1084-- index_name(:issues, {:column=>["updated_by_id"]})1085 -> 0.0000s1086-- index_exists?(:issues, :updated_by_id, {:name=>"index_issues_on_updated_by_id"})1087 -> 0.0007s1088-- index_name(:issues, {:name=>"index_issues_on_updated_by_id", :column=>:updated_by_id})1089 -> 0.0000s1090-- index_name_exists?(:issues, "index_issues_on_updated_by_id", true)1091 -> 0.0005s1092-- remove_index(:issues, {:name=>"index_issues_on_updated_by_id", :column=>:updated_by_id})1093 -> 0.0065s1094== 20171106150657 IssuesUpdatedByIdForeignKey: reverted (0.0133s) =============1095== 20171106135924 IssuesMilestoneIdForeignKey: reverting ======================1096-- remove_foreign_key(:issues, {:column=>:milestone_id})1097 -> 0.0051s1098== 20171106135924 IssuesMilestoneIdForeignKey: reverted (0.0052s) =============1099== 20171106133911 AddPasswordAuthenticationEnabledForGitToApplicationSettings: reverting 1100-- remove_column(:application_settings, :password_authentication_enabled_for_git, :boolean, {:default=>true, :null=>false})1101 -> 0.0442s1102== 20171106133911 AddPasswordAuthenticationEnabledForGitToApplicationSettings: reverted (0.0444s) 1103== 20171106133144 CleanupApplicationSettingsPasswordAuthenticationEnabledRename: reverting 1104-- transaction_open?()1105 -> 0.0000s1106-- columns(:application_settings)1107 -> 0.0039s1108-- add_column(:application_settings, :password_authentication_enabled, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})1109 -> 0.0439s1110-- quote_table_name(:application_settings)1111 -> 0.0000s1112-- quote_column_name(:password_authentication_enabled_for_web)1113 -> 0.0000s1114-- quote_column_name(:password_authentication_enabled)1115 -> 0.0000s1116-- execute("CREATE TRIGGER trigger_57c951d82cc7_insert\nBEFORE INSERT\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled` = NEW.`password_authentication_enabled_for_web`\n")1117 -> 0.0044s1118-- execute("CREATE TRIGGER trigger_57c951d82cc7_update\nBEFORE UPDATE\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled` = NEW.`password_authentication_enabled_for_web`\n")1119 -> 0.0055s1120-- transaction_open?()1121 -> 0.0000s1122-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")1123 -> 0.0009s1124-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")1125 -> 0.0004s1126-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")1127 -> 0.0004s1128-- execute("UPDATE `application_settings` SET `password_authentication_enabled` = `application_settings`.`password_authentication_enabled_for_web` WHERE `application_settings`.`id` >= 1")1129 -> 0.0014s1130-- indexes(:application_settings)1131 -> 0.0005s1132-- foreign_keys(:application_settings)1133 -> 0.0008s1134== 20171106133144 CleanupApplicationSettingsPasswordAuthenticationEnabledRename: reverted (0.0657s) 1135== 20171106133143 RenameApplicationSettingsPasswordAuthenticationEnabledToPasswordAuthenticationEnabledForWeb: reverting 1136-- execute("DROP TRIGGER IF EXISTS trigger_57c951d82cc7_insert")1137 -> 0.0026s1138-- execute("DROP TRIGGER IF EXISTS trigger_57c951d82cc7_update")1139 -> 0.0009s1140-- remove_column(:application_settings, :password_authentication_enabled_for_web)1141 -> 0.0433s1142== 20171106133143 RenameApplicationSettingsPasswordAuthenticationEnabledToPasswordAuthenticationEnabledForWeb: reverted (0.0484s) 1143== 20171106132212 IssuesConfidentialNotNull: reverting ========================1144== 20171106132212 IssuesConfidentialNotNull: reverted (0.0000s) ===============1145== 20171106101200 CreateClustersKubernetesIngressApps: reverting ==============1146-- drop_table(:clusters_applications_ingress, {})1147 -> 0.0036s1148== 20171106101200 CreateClustersKubernetesIngressApps: reverted (0.0037s) =====1149== 20171103140253 TrackUntrackedUploads: reverting ============================1150== 20171103140253 TrackUntrackedUploads: reverted (0.0005s) ===================1151== 20171103000000 SetUploadsPathSizeForMysql: reverting =======================1152-- change_column(:uploads, :path, :string)1153 -> 0.0263s1154== 20171103000000 SetUploadsPathSizeForMysql: reverted (0.0263s) ==============1155== 20171101134435 RemoveRefFetchedFromMergeRequests: reverting ================1156-- add_column(:merge_requests, :ref_fetched, :boolean)1157 -> 0.0442s1158== 20171101134435 RemoveRefFetchedFromMergeRequests: reverted (0.0444s) =======1159== 20171101130535 AddGitalyTimeoutPropertiesToApplicationSettings: reverting ==1160-- remove_column(:application_settings, :gitaly_timeout_default)1161 -> 0.0413s1162-- remove_column(:application_settings, :gitaly_timeout_medium)1163 -> 0.0423s1164-- remove_column(:application_settings, :gitaly_timeout_fast)1165 -> 0.0429s1166== 20171101130535 AddGitalyTimeoutPropertiesToApplicationSettings: reverted (0.1267s) 1167== 20171031100710 CreateClustersKubernetesHelmApps: reverting =================1168-- drop_table(:clusters_applications_helm, {})1169 -> 0.0034s1170== 20171031100710 CreateClustersKubernetesHelmApps: reverted (0.0035s) ========1171== 20171026082505 ScheduleMergeRequestLatestMergeRequestDiffIdMigrations: reverting 1172== 20171026082505 ScheduleMergeRequestLatestMergeRequestDiffIdMigrations: reverted (0.0000s) 1173== 20171025110159 AddLatestMergeRequestDiffIdToMergeRequests: reverting =======1174-- remove_foreign_key(:merge_requests, {:column=>:latest_merge_request_diff_id})1175 -> 0.0053s1176-- index_name(:merge_requests, {:column=>["latest_merge_request_diff_id"]})1177 -> 0.0000s1178-- index_exists?(:merge_requests, :latest_merge_request_diff_id, {:name=>"index_merge_requests_on_latest_merge_request_diff_id"})1179 -> 0.0006s1180-- transaction_open?()1181 -> 0.0000s1182-- index_name(:merge_requests, {:column=>["latest_merge_request_diff_id"]})1183 -> 0.0000s1184-- index_exists?(:merge_requests, :latest_merge_request_diff_id, {:name=>"index_merge_requests_on_latest_merge_request_diff_id"})1185 -> 0.0006s1186-- index_name(:merge_requests, {:name=>"index_merge_requests_on_latest_merge_request_diff_id", :column=>:latest_merge_request_diff_id})1187 -> 0.0000s1188-- index_name_exists?(:merge_requests, "index_merge_requests_on_latest_merge_request_diff_id", true)1189 -> 0.0006s1190-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_latest_merge_request_diff_id", :column=>:latest_merge_request_diff_id})1191 -> 0.0060s1192-- remove_column(:merge_requests, :latest_merge_request_diff_id)1193 -> 0.0397s1194== 20171025110159 AddLatestMergeRequestDiffIdToMergeRequests: reverted (0.0533s) 1195== 20171019141859 FixDevTimezoneSchema: reverting =============================1196== 20171019141859 FixDevTimezoneSchema: reverted (0.0000s) ====================1197== 20171017145932 AddNewCircuitbreakerSettingsToApplicationSettings: reverting 1198-- remove_column(:application_settings, :circuitbreaker_backoff_threshold, :integer, {:default=>80})1199 -> 0.0434s1200-- remove_column(:application_settings, :circuitbreaker_access_retries, :integer, {:default=>3})1201 -> 0.0454s1202== 20171017145932 AddNewCircuitbreakerSettingsToApplicationSettings: reverted (0.0891s) 1203== 20171013104327 MigrateGcpClustersToNewClustersArchitectures: reverting =====1204-- execute("DELETE FROM clusters")1205 -> 0.0005s1206== 20171013104327 MigrateGcpClustersToNewClustersArchitectures: reverted (0.0005s) 1207== 20171013094327 CreateNewClustersArchitectures: reverting ===================1208-- drop_table(:cluster_providers_gcp, {})1209 -> 0.0039s1210-- drop_table(:cluster_platforms_kubernetes, {})1211 -> 0.0035s1212-- drop_table(:cluster_projects, {})1213 -> 0.0033s1214-- drop_table(:clusters, {})1215 -> 0.0032s1216== 20171013094327 CreateNewClustersArchitectures: reverted (0.0142s) ==========1217== 20171012150314 RemoveUserAuthenticationToken: reverting ====================1218-- add_column(:users, :authentication_token, :string)1219 -> 0.0409s1220-- transaction_open?()1221 -> 0.0000s1222-- index_name(:users, {:column=>["authentication_token"]})1223 -> 0.0000s1224-- index_exists?(:users, :authentication_token, {:unique=>true, :name=>"index_users_on_authentication_token"})1225 -> 0.0007s1226-- add_index(:users, :authentication_token, {:unique=>true, :name=>"index_users_on_authentication_token"})1227 -> 0.0095s1228== 20171012150314 RemoveUserAuthenticationToken: reverted (0.0515s) ===========1229== 20171012125712 MigrateUserAuthenticationTokenToPersonalAccessToken: reverting 1230-- execute("UPDATE users\nINNER JOIN personal_access_tokens AS pats\nON users.id = pats.user_id\nSET authentication_token = pats.token\nWHERE pats.name = 'Private Token'\n")1231 -> 0.0005s1232-- execute("DELETE FROM personal_access_tokens\nWHERE name = 'Private Token'\nAND EXISTS (\n SELECT true\n FROM users\n WHERE id = personal_access_tokens.user_id\n AND authentication_token = personal_access_tokens.token\n)\n")1233 -> 0.0004s1234== 20171012125712 MigrateUserAuthenticationTokenToPersonalAccessToken: reverted (0.0010s) 1235== 20171012101043 AddCircuitBreakerPropertiesToApplicationSettings: reverting =1236-- remove_column(:application_settings, :circuitbreaker_storage_timeout, :integer, {:default=>30})1237 -> 0.0466s1238-- remove_column(:application_settings, :circuitbreaker_failure_reset_time, :integer, {:default=>1800})1239 -> 0.0442s1240-- remove_column(:application_settings, :circuitbreaker_failure_wait_time, :integer, {:default=>30})1241 -> 0.0445s1242-- remove_column(:application_settings, :circuitbreaker_failure_count_threshold, :integer, {:default=>160})1243 -> 0.0448s1244== 20171012101043 AddCircuitBreakerPropertiesToApplicationSettings: reverted (0.1807s) 1245== 20171006220837 AddGlobalRateLimitsToApplicationSettings: reverting =========1246-- remove_column(:application_settings, :throttle_authenticated_web_period_in_seconds)1247 -> 0.0444s1248-- remove_column(:application_settings, :throttle_authenticated_web_requests_per_period)1249 -> 0.0438s1250-- remove_column(:application_settings, :throttle_authenticated_web_enabled)1251 -> 0.0413s1252-- remove_column(:application_settings, :throttle_authenticated_api_period_in_seconds)1253 -> 0.0431s1254-- remove_column(:application_settings, :throttle_authenticated_api_requests_per_period)1255 -> 0.0446s1256-- remove_column(:application_settings, :throttle_authenticated_api_enabled)1257 -> 0.0433s1258-- remove_column(:application_settings, :throttle_unauthenticated_period_in_seconds)1259 -> 0.0446s1260-- remove_column(:application_settings, :throttle_unauthenticated_requests_per_period)1261 -> 0.0434s1262-- remove_column(:application_settings, :throttle_unauthenticated_enabled)1263 -> 0.0440s1264== 20171006220837 AddGlobalRateLimitsToApplicationSettings: reverted (0.3930s) 1265== 20171006091000 AddNameForeignKeyToCiBuildTraceSections: reverting ==========1266-- remove_foreign_key(:ci_build_trace_sections, {:column=>:section_name_id})1267 -> 0.0050s1268== 20171006091000 AddNameForeignKeyToCiBuildTraceSections: reverted (0.0050s) =1269== 20171006090100 CreateCiBuildTraceSectionNames: reverting ===================1270-- remove_foreign_key(:ci_build_trace_section_names, {:column=>:project_id})1271 -> 0.0047s1272-- drop_table(:ci_build_trace_section_names)1273 -> 0.0036s1274== 20171006090100 CreateCiBuildTraceSectionNames: reverted (0.0084s) ==========1275== 20171006090010 AddBuildForeignKeyToCiBuildTraceSections: reverting =========1276-- remove_foreign_key(:ci_build_trace_sections, {:column=>:build_id})1277 -> 0.0047s1278== 20171006090010 AddBuildForeignKeyToCiBuildTraceSections: reverted (0.0047s) 1279== 20171006090001 CreateCiBuildTraceSections: reverting =======================1280-- index_name(:ci_build_trace_sections, {:column=>[:build_id, :section_name_id]})1281 -> 0.0000s1282-- index_name_exists?(:ci_build_trace_sections, "index_ci_build_trace_sections_on_build_id_and_section_name_id", true)1283 -> 0.0005s1284-- remove_index(:ci_build_trace_sections, {:column=>[:build_id, :section_name_id], :name=>"index_ci_build_trace_sections_on_build_id_and_section_name_id"})1285 -> 0.0055s1286-- drop_table(:ci_build_trace_sections, {})1287 -> 0.0038s1288== 20171006090001 CreateCiBuildTraceSections: reverted (0.0101s) ==============1289== 20171005130944 ScheduleCreateGpgKeySubkeysFromGpgKeys: reverting ===========1290== 20171005130944 ScheduleCreateGpgKeySubkeysFromGpgKeys: reverted (0.0000s) ==1291== 20171004121444 MakeSureFastForwardOptionExists: reverting ==================1292-- column_exists?(:projects, :merge_requests_ff_only_enabled)1293 -> 0.0021s1294-- remove_column(:projects, :merge_requests_ff_only_enabled)1295 -> 0.0538s1296== 20171004121444 MakeSureFastForwardOptionExists: reverted (0.0561s) =========1297== 20170929131201 PopulateForkNetworks: reverting =============================1298== 20170929131201 PopulateForkNetworks: reverted (0.0000s) ====================1299== 20170929080234 AddFailureReasonToPipelines: reverting ======================1300-- remove_column(:ci_pipelines, :failure_reason, :integer)1301 -> 0.0315s1302== 20170929080234 AddFailureReasonToPipelines: reverted (0.0316s) =============1303== 20170928133643 CreateForkNetworkMembers: reverting =========================1304-- foreign_keys(:fork_network_members)1305 -> 0.0011s1306-- remove_foreign_key(:fork_network_members, {:column=>:forked_from_project_id})1307 -> 0.0047s1308-- drop_table(:fork_network_members)1309 -> 0.0034s1310== 20170928133643 CreateForkNetworkMembers: reverted (0.0093s) ================1311== 20170928124105 CreateForkNetworks: reverting ===============================1312-- foreign_keys(:fork_networks)1313 -> 0.0009s1314-- remove_foreign_key(:fork_networks, {:column=>:root_project_id})1315 -> 0.0043s1316-- drop_table(:fork_networks)1317 -> 0.0034s1318== 20170928124105 CreateForkNetworks: reverted (0.0086s) ======================1319== 20170928100231 AddCompositeIndexOnMergeRequestsMergeCommitSha: reverting ===1320-- index_exists?(:merge_requests, [:target_project_id, :merge_commit_sha, :id], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})1321 -> 0.0007s1322-- transaction_open?()1323 -> 0.0000s1324-- index_exists?(:merge_requests, [:target_project_id, :merge_commit_sha, :id], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})1325 -> 0.0006s1326-- index_name(:merge_requests, {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id", :column=>[:target_project_id, :merge_commit_sha, :id]})1327 -> 0.0000s1328-- index_name_exists?(:merge_requests, "index_merge_requests_on_target_project_id_and_merge_commit_sha_and_id", true)1329 -> 0.0007s1330-- index_name(:merge_requests, {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})1331 -> 0.0000s1332-- index_name_exists?(:merge_requests, "index_merge_requests_on_tp_id_and_merge_commit_sha_and_id", false)1333 -> 0.0006s1334-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id", :column=>[:target_project_id, :merge_commit_sha, :id]})1335 -> 0.0068s1336== 20170928100231 AddCompositeIndexOnMergeRequestsMergeCommitSha: reverted (0.0097s) 1337== 20170927161718 CreateGpgKeySubkeys: reverting ==============================1338-- remove_reference(:gpg_signatures, :gpg_key_subkey, {:index=>true, :foreign_key=>true})1339 -> 0.0288s1340-- drop_table(:gpg_key_subkeys)1341 -> 0.0036s1342== 20170927161718 CreateGpgKeySubkeys: reverted (0.0325s) =====================1343== 20170927122209 AddPartialIndexForLabelsTemplate: reverting =================1344-- transaction_open?()1345 -> 0.0000s1346-- index_name("labels", {:column=>["template"]})1347 -> 0.0000s1348-- index_exists?("labels", ["template"], {:where=>"template", :name=>"index_labels_on_template"})1349 -> 0.0006s1350-- index_name("labels", {:where=>"template", :name=>"index_labels_on_template", :column=>["template"]})1351 -> 0.0000s1352-- index_name_exists?("labels", "index_labels_on_template", true)1353 -> 0.0005s1354-- remove_index("labels", {:where=>"template", :name=>"index_labels_on_template", :column=>["template"]})1355 -> 0.0065s1356== 20170927122209 AddPartialIndexForLabelsTemplate: reverted (0.0080s) ========1357== 20170927112319 UpdateNotesTypeForImport: reverting =========================1358== 20170927112319 UpdateNotesTypeForImport: reverted (0.0000s) ================1359== 20170927112318 UpdateLegacyDiffNotesTypeForImport: reverting ===============1360== 20170927112318 UpdateLegacyDiffNotesTypeForImport: reverted (0.0000s) ======1361== 20170927095921 AddCiBuildsIndexForJobscontroller: reverting ================1362-- index_name(:ci_builds, {:column=>["project_id"]})1363 -> 0.0000s1364-- index_exists?(:ci_builds, :project_id, {:name=>"index_ci_builds_on_project_id"})1365 -> 0.0008s1366-- transaction_open?()1367 -> 0.0000s1368-- index_name(:ci_builds, {:column=>["project_id"]})1369 -> 0.0000s1370-- index_exists?(:ci_builds, :project_id, {:name=>"index_ci_builds_on_project_id"})1371 -> 0.0007s1372-- add_index(:ci_builds, :project_id, {:name=>"index_ci_builds_on_project_id"})1373 -> 0.0098s1374-- index_name(:ci_builds, {:column=>["project_id", "id"]})1375 -> 0.0000s1376-- index_exists?(:ci_builds, [:project_id, :id], {:name=>"index_ci_builds_on_project_id_and_id"})1377 -> 0.0008s1378-- transaction_open?()1379 -> 0.0000s1380-- index_name(:ci_builds, {:column=>["project_id", "id"]})1381 -> 0.0000s1382-- index_exists?(:ci_builds, [:project_id, :id], {:name=>"index_ci_builds_on_project_id_and_id"})1383 -> 0.0006s1384-- index_name(:ci_builds, {:name=>"index_ci_builds_on_project_id_and_id", :column=>[:project_id, :id]})1385 -> 0.0001s1386-- index_name_exists?(:ci_builds, "index_ci_builds_on_project_id_and_id", true)1387 -> 0.0007s1388-- remove_index(:ci_builds, {:name=>"index_ci_builds_on_project_id_and_id", :column=>[:project_id, :id]})1389 -> 0.0065s1390== 20170927095921 AddCiBuildsIndexForJobscontroller: reverted (0.0205s) =======1391== 20170926150348 ScheduleMergeRequestDiffMigrationsTakeTwo: reverting ========1392== 20170926150348 ScheduleMergeRequestDiffMigrationsTakeTwo: reverted (0.0000s) 1393== 20170925184228 AddFaviconToAppearances: reverting ==========================1394-- remove_column(:appearances, :favicon, :string)1395 -> 0.0152s1396== 20170925184228 AddFaviconToAppearances: reverted (0.0153s) =================1397== 20170924094327 CreateGcpClusters: reverting ================================1398-- drop_table(:gcp_clusters, {})1399 -> 0.0036s1400== 20170924094327 CreateGcpClusters: reverted (0.0038s) =======================1401== 20170921115009 AddProjectRepositoryStorageIndex: reverting =================1402-- index_name(:projects, {:column=>["repository_storage"]})1403 -> 0.0000s1404-- index_exists?(:projects, :repository_storage, {:name=>"index_projects_on_repository_storage"})1405 -> 0.0006s1406-- transaction_open?()1407 -> 0.0000s1408-- index_name(:projects, {:column=>["repository_storage"]})1409 -> 0.0000s1410-- index_exists?(:projects, :repository_storage, {:name=>"index_projects_on_repository_storage"})1411 -> 0.0006s1412-- index_name(:projects, {:name=>"index_projects_on_repository_storage", :column=>:repository_storage})1413 -> 0.0000s1414-- index_name_exists?(:projects, "index_projects_on_repository_storage", true)1415 -> 0.0005s1416-- remove_index(:projects, {:name=>"index_projects_on_repository_storage", :column=>:repository_storage})1417 -> 0.0065s1418== 20170921115009 AddProjectRepositoryStorageIndex: reverted (0.0086s) ========1419== 20170921101004 NormalizeLdapExternUids: reverting ==========================1420== 20170921101004 NormalizeLdapExternUids: reverted (0.0000s) =================1421== 20170919211300 RemoveTemporaryCiBuildsIndex: reverting =====================1422-- transaction_open?()1423 -> 0.0000s1424-- index_exists?("ci_builds", ["id"], {:name=>"index_for_ci_builds_retried_migration", :where=>"(retried IS NULL)", :using=>:btree})1425 -> 0.0007s1426-- add_index("ci_builds", ["id"], {:name=>"index_for_ci_builds_retried_migration", :where=>"(retried IS NULL)", :using=>:btree})1427 -> 0.0078s1428== 20170919211300 RemoveTemporaryCiBuildsIndex: reverted (0.0088s) ============1429== 20170918223303 AddDeploymentsIndexForLastDeployment: reverting =============1430-- transaction_open?()1431 -> 0.0000s1432-- index_name(:deployments, {:column=>["environment_id", "id"]})1433 -> 0.0000s1434-- index_exists?(:deployments, [:environment_id, :id], {:name=>"index_deployments_on_environment_id_and_id"})1435 -> 0.0005s1436-- index_name(:deployments, {:name=>"index_deployments_on_environment_id_and_id", :column=>[:environment_id, :id]})1437 -> 0.0000s1438-- index_name_exists?(:deployments, "index_deployments_on_environment_id_and_id", true)1439 -> 0.0005s1440-- remove_index(:deployments, {:name=>"index_deployments_on_environment_id_and_id", :column=>[:environment_id, :id]})1441 -> 0.0054s1442== 20170918223303 AddDeploymentsIndexForLastDeployment: reverted (0.0067s) ====1443== 20170918222253 ReorganizeDeploymentsIndexes: reverting =====================1444-- index_name(:deployments, {:column=>["project_id", "environment_id", "iid"]})1445 -> 0.0000s1446-- index_exists?(:deployments, [:project_id, :environment_id, :iid], {:name=>"index_deployments_on_project_id_and_environment_id_and_iid"})1447 -> 0.0005s1448-- transaction_open?()1449 -> 0.0000s1450-- index_name(:deployments, {:column=>["project_id", "environment_id", "iid"]})1451 -> 0.0000s1452-- index_exists?(:deployments, [:project_id, :environment_id, :iid], {:name=>"index_deployments_on_project_id_and_environment_id_and_iid"})1453 -> 0.0004s1454-- add_index(:deployments, [:project_id, :environment_id, :iid], {:name=>"index_deployments_on_project_id_and_environment_id_and_iid"})1455 -> 0.0072s1456-- index_name(:deployments, {:column=>["environment_id", "iid", "project_id"]})1457 -> 0.0000s1458-- index_exists?(:deployments, [:environment_id, :iid, :project_id], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id"})1459 -> 0.0006s1460-- transaction_open?()1461 -> 0.0000s1462-- index_name(:deployments, {:column=>["environment_id", "iid", "project_id"]})1463 -> 0.0000s1464-- index_exists?(:deployments, [:environment_id, :iid, :project_id], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id"})1465 -> 0.0005s1466-- index_name(:deployments, {:name=>"index_deployments_on_environment_id_and_iid_and_project_id", :column=>[:environment_id, :iid, :project_id]})1467 -> 0.0000s1468-- index_name_exists?(:deployments, "index_deployments_on_environment_id_and_iid_and_project_id", true)1469 -> 0.0006s1470-- remove_index(:deployments, {:name=>"index_deployments_on_environment_id_and_iid_and_project_id", :column=>[:environment_id, :iid, :project_id]})1471 -> 0.0056s1472== 20170918222253 ReorganizeDeploymentsIndexes: reverted (0.0161s) ============1473== 20170918140927 CreateGroupCustomAttributes: reverting ======================1474-- remove_foreign_key(:group_custom_attributes, {:column=>:group_id})1475 -> 0.0048s1476-- drop_table(:group_custom_attributes, {})1477 -> 0.0036s1478== 20170918140927 CreateGroupCustomAttributes: reverted (0.0086s) =============1479== 20170918111708 CreateProjectCustomAttributes: reverting ====================1480-- drop_table(:project_custom_attributes, {})1481 -> 0.0039s1482== 20170918111708 CreateProjectCustomAttributes: reverted (0.0040s) ===========1483== 20170918072949 AddFileStoreJobArtifacts: reverting =========================1484-- remove_column(:ci_job_artifacts, :file_store, :integer)1485 -> 0.0199s1486== 20170918072949 AddFileStoreJobArtifacts: reverted (0.0200s) ================1487== 20170918072948 CreateJobArtifacts: reverting ===============================1488-- drop_table(:ci_job_artifacts, {})1489 -> 0.0038s1490== 20170918072948 CreateJobArtifacts: reverted (0.0039s) ======================1491== 20170914135630 AddIndexForRecentPushEvents: reverting ======================1492-- index_name(:merge_requests, {:column=>["source_project_id"]})1493 -> 0.0000s1494-- index_exists?(:merge_requests, :source_project_id, {:name=>"index_merge_requests_on_source_project_id"})1495 -> 0.0007s1496-- transaction_open?()1497 -> 0.0000s1498-- index_name(:merge_requests, {:column=>["source_project_id"]})1499 -> 0.0000s1500-- index_exists?(:merge_requests, :source_project_id, {:name=>"index_merge_requests_on_source_project_id"})1501 -> 0.0006s1502-- add_index(:merge_requests, :source_project_id, {:name=>"index_merge_requests_on_source_project_id"})1503 -> 0.0080s1504-- index_name(:merge_requests, {:column=>["source_project_id", "source_branch"]})1505 -> 0.0000s1506-- index_exists?(:merge_requests, [:source_project_id, :source_branch], {:name=>"index_merge_requests_on_source_project_id_and_source_branch"})1507 -> 0.0008s1508-- transaction_open?()1509 -> 0.0000s1510-- index_name(:merge_requests, {:column=>["source_project_id", "source_branch"]})1511 -> 0.0000s1512-- index_exists?(:merge_requests, [:source_project_id, :source_branch], {:name=>"index_merge_requests_on_source_project_id_and_source_branch"})1513 -> 0.0006s1514-- index_name(:merge_requests, {:name=>"index_merge_requests_on_source_project_id_and_source_branch", :column=>[:source_project_id, :source_branch]})1515 -> 0.0000s1516-- index_name_exists?(:merge_requests, "index_merge_requests_on_source_project_id_and_source_branch", true)1517 -> 0.0007s1518-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_source_project_id_and_source_branch", :column=>[:source_project_id, :source_branch]})1519 -> 0.0062s1520== 20170914135630 AddIndexForRecentPushEvents: reverted (0.0183s) =============1521== 20170913180600 FixProjectsWithoutProjectFeature: reverting =================1522== 20170913180600 FixProjectsWithoutProjectFeature: reverted (0.0000s) ========1523== 20170913131410 EnvironmentsProjectIdNotNull: reverting =====================1524-- change_column_null(:environments, :project_id, true)1525 -> 0.0226s1526== 20170913131410 EnvironmentsProjectIdNotNull: reverted (0.0227s) ============1527== 20170912113435 CleanStagesStatusesMigration: reverting =====================1528== 20170912113435 CleanStagesStatusesMigration: reverted (0.0000s) ============1529== 20170909150936 AddSpentAtToTimelogs: reverting =============================1530-- remove_column(:timelogs, :spent_at)1531 -> 0.0243s1532== 20170909150936 AddSpentAtToTimelogs: reverted (0.0244s) ====================1533== 20170909090114 AddEmailConfirmationIndex: reverting ========================1534-- index_name(:emails, {:column=>["confirmation_token"]})1535 -> 0.0000s1536-- index_exists?(:emails, :confirmation_token, {:name=>"index_emails_on_confirmation_token"})1537 -> 0.0007s1538-- transaction_open?()1539 -> 0.0000s1540-- index_name(:emails, {:column=>["confirmation_token"]})1541 -> 0.0000s1542-- index_exists?(:emails, :confirmation_token, {:name=>"index_emails_on_confirmation_token"})1543 -> 0.0004s1544-- index_name(:emails, {:name=>"index_emails_on_confirmation_token", :column=>:confirmation_token})1545 -> 0.0000s1546-- index_name_exists?(:emails, "index_emails_on_confirmation_token", true)1547 -> 0.0004s1548-- remove_index(:emails, {:name=>"index_emails_on_confirmation_token", :column=>:confirmation_token})1549 -> 0.0072s1550== 20170909090114 AddEmailConfirmationIndex: reverted (0.0091s) ===============1551== 20170907170235 DeleteConflictingRedirectRoutes: reverting ==================1552== 20170907170235 DeleteConflictingRedirectRoutes: reverted (0.0000s) =========1553== 20170906133745 AddRunnersTokenToGroups: reverting ==========================1554-- remove_column(:namespaces, :runners_token, :string)1555 -> 0.0327s1556== 20170906133745 AddRunnersTokenToGroups: reverted (0.0328s) =================1557== 20170905112933 AddResolvedByPushToNotes: reverting =========================1558-- remove_column(:notes, :resolved_by_push, :boolean)1559 -> 0.0345s1560== 20170905112933 AddResolvedByPushToNotes: reverted (0.0346s) ================1561== 20170904092148 AddEmailConfirmation: reverting =============================1562-- remove_column(:emails, :confirmation_sent_at, :datetime_with_timezone)1563 -> 0.0233s1564-- remove_column(:emails, :confirmed_at, :datetime_with_timezone)1565 -> 0.0199s1566-- remove_column(:emails, :confirmation_token, :string)1567 -> 0.0201s1568== 20170904092148 AddEmailConfirmation: reverted (0.0637s) ====================1569== 20170901071411 AddForeignKeyToIssueAuthor: reverting =======================1570-- remove_foreign_key(:issues, {:column=>:author_id})1571 -> 0.0063s1572== 20170901071411 AddForeignKeyToIssueAuthor: reverted (0.0064s) ==============1573== 20170831195038 RemoveValidSignatureFromGpgSignatures: reverting ============1574-- add_column(:gpg_signatures, :valid_signature, :boolean)1575 -> 0.0262s1576== 20170831195038 RemoveValidSignatureFromGpgSignatures: reverted (0.0262s) ===1577== 20170831092813 AddConfigSourceToPipelines: reverting =======================1578-- remove_column(:ci_pipelines, :config_source, :integer, {:allow_null=>true})1579 -> 0.0293s1580== 20170831092813 AddConfigSourceToPipelines: reverted (0.0295s) ==============1581== 20170830150306 DropEventsForMigrationTable: reverting ======================1582-- create_table(:events_for_migration, {})1583 -> 0.0269s1584== 20170830150306 DropEventsForMigrationTable: reverted (0.0307s) =============1585== 20170830131015 SwapEventMigrationTables: reverting =========================1586-- rename_table(:events, :events_old)1587 -> 0.0225s1588-- rename_table(:events_for_migration, :events)1589 -> 0.0322s1590-- rename_table(:events_old, :events_for_migration)1591 -> 0.0206s1592-- execute("ALTER TABLE events AUTO_INCREMENT = 1")1593 -> 0.0034s1594== 20170830131015 SwapEventMigrationTables: reverted (0.0802s) ================1595== 20170830130119 StealRemainingEventMigrationJobs: reverting =================1596== 20170830130119 StealRemainingEventMigrationJobs: reverted (0.0000s) ========1597== 20170830125940 AddFailureReasonToCiBuilds: reverting =======================1598-- remove_column(:ci_builds, :failure_reason, :integer)1599 -> 0.0490s1600== 20170830125940 AddFailureReasonToCiBuilds: reverted (0.0491s) ==============1601== 20170830084744 DestroyGpgSignatures: reverting =============================1602== 20170830084744 DestroyGpgSignatures: reverted (0.0000s) ====================1603== 20170828170516 RemoveUserExternalMailColumns: reverting ====================1604-- add_column(:users, :external_email, :boolean)1605 -> 0.0413s1606== 20170828170516 RemoveUserExternalMailColumns: reverted (0.0415s) ===========1607== 20170828170513 RemoveUserEmailProviderColumn: reverting ====================1608-- add_column(:users, :email_provider, :string)1609 -> 0.0417s1610== 20170828170513 RemoveUserEmailProviderColumn: reverted (0.0418s) ===========1611== 20170828170502 PostDeployMigrateUserExternalMailData: reverting ============1612== 20170828170502 PostDeployMigrateUserExternalMailData: reverted (0.0027s) ===1613== 20170828135939 MigrateUserExternalMailData: reverting ======================1614== 20170828135939 MigrateUserExternalMailData: reverted (0.0012s) =============1615== 20170828093725 CreateProjectAutoDevOps: reverting ==========================1616-- drop_table(:project_auto_devops)1617 -> 0.0036s1618== 20170828093725 CreateProjectAutoDevOps: reverted (0.0036s) =================1619== 20170827123848 AddIndexOnMergeRequestDiffCommitSha: reverting ==============1620-- index_name(:merge_request_diff_commits, {:column=>["sha"]})1621 -> 0.0000s1622-- index_exists?(:merge_request_diff_commits, :sha, {:name=>"index_merge_request_diff_commits_on_sha"})1623 -> 0.0007s1624-- index_name(:merge_request_diff_commits, {:column=>:sha})1625 -> 0.0000s1626-- index_name_exists?(:merge_request_diff_commits, "index_merge_request_diff_commits_on_sha", true)1627 -> 0.0007s1628-- remove_index(:merge_request_diff_commits, {:column=>:sha, :name=>"index_merge_request_diff_commits_on_sha"})1629 -> 0.0070s1630== 20170827123848 AddIndexOnMergeRequestDiffCommitSha: reverted (0.0088s) =====1631== 20170825154015 ResolveOutdatedDiffDiscussions: reverting ===================1632-- remove_column(:projects, :resolve_outdated_diff_discussions, :boolean)1633 -> 0.0402s1634== 20170825154015 ResolveOutdatedDiffDiscussions: reverted (0.0403s) ==========1635== 20170825104051 MigrateIssuesToGhostUser: reverting =========================1636== 20170825104051 MigrateIssuesToGhostUser: reverted (0.0000s) ================1637== 20170825015534 AddFileStoreToLfsObjects: reverting =========================1638-- remove_column(:lfs_objects, :file_store, :integer)1639 -> 0.0172s1640== 20170825015534 AddFileStoreToLfsObjects: reverted (0.0173s) ================1641== 20170824162758 AllowAppearancesDescriptionHtmlNull: reverting ==============1642== 20170824162758 AllowAppearancesDescriptionHtmlNull: reverted (0.0000s) =====1643== 20170824101926 AddAutoDevopsEnabledToApplicationSettings: reverting ========1644-- remove_column(:application_settings, :auto_devops_enabled, :boolean)1645 -> 0.0449s1646== 20170824101926 AddAutoDevopsEnabledToApplicationSettings: reverted (0.0450s) 1647== 20170822101017 MigratePipelineSidekiqQueues: reverting =====================1648== 20170822101017 MigratePipelineSidekiqQueues: reverted (0.0009s) ============1649== 20170820120108 CreateUserSyncedAttributesMetadata: reverting ===============1650-- drop_table(:user_synced_attributes_metadata, {})1651 -> 0.0037s1652== 20170820120108 CreateUserSyncedAttributesMetadata: reverted (0.0038s) ======1653== 20170820100558 CorrectProtectedTagsForeignKeys: reverting ==================1654== 20170820100558 CorrectProtectedTagsForeignKeys: reverted (0.0000s) =========1655== 20170817123339 AddVerificationStatusToGpgSignatures: reverting =============1656-- remove_column(:gpg_signatures, :verification_status)1657 -> 0.0269s1658== 20170817123339 AddVerificationStatusToGpgSignatures: reverted (0.0269s) ====1659== 20170816234252 AddThemeIdToUsers: reverting ================================1660-- remove_column(:users, :theme_id, :integer, {:limit=>2})1661 -> 0.0431s1662== 20170816234252 AddThemeIdToUsers: reverted (0.0432s) =======================1663== 20170816153940 AddIndexOnCiBuildsProtected: reverting ======================1664-- index_name(:ci_builds, {:column=>["protected"]})1665 -> 0.0000s1666-- index_exists?(:ci_builds, :protected, {:name=>"index_ci_builds_on_protected"})1667 -> 0.0009s1668-- transaction_open?()1669 -> 0.0000s1670-- index_name(:ci_builds, {:column=>["protected"]})1671 -> 0.0000s1672-- index_exists?(:ci_builds, :protected, {:name=>"index_ci_builds_on_protected"})1673 -> 0.0008s1674-- index_name(:ci_builds, {:name=>"index_ci_builds_on_protected", :column=>:protected})1675 -> 0.0000s1676-- index_name_exists?(:ci_builds, "index_ci_builds_on_protected", true)1677 -> 0.0007s1678-- remove_index(:ci_builds, {:name=>"index_ci_builds_on_protected", :column=>:protected})1679 -> 0.0068s1680== 20170816153940 AddIndexOnCiBuildsProtected: reverted (0.0096s) =============1681== 20170816143940 AddProtectedToCiPipelines: reverting ========================1682-- remove_column(:ci_pipelines, :protected, :boolean)1683 -> 0.0324s1684== 20170816143940 AddProtectedToCiPipelines: reverted (0.0325s) ===============1685== 20170816133940 AddProtectedToCiBuilds: reverting ===========================1686-- remove_column(:ci_builds, :protected, :boolean)1687 -> 0.0518s1688== 20170816133940 AddProtectedToCiBuilds: reverted (0.0520s) ==================1689== 20170816133938 AddAccessLevelToCiRunners: reverting ========================1690-- remove_column(:ci_runners, :access_level)1691 -> 0.0247s1692== 20170816133938 AddAccessLevelToCiRunners: reverted (0.0247s) ===============1693== 20170816102555 CleanupNonexistingNamespacePendingDeleteProjects: reverting =1694== 20170816102555 CleanupNonexistingNamespacePendingDeleteProjects: reverted (0.0000s) 1695== 20170815221154 AddDiscussionLockedToIssuable: reverting ====================1696-- remove_column(:merge_requests, :discussion_locked)1697 -> 0.0416s1698-- remove_column(:issues, :discussion_locked)1699 -> 0.0374s1700== 20170815221154 AddDiscussionLockedToIssuable: reverted (0.0791s) ===========1701== 20170815060945 RemoveDuplicateMrEvents: reverting ==========================1702== 20170815060945 RemoveDuplicateMrEvents: reverted (0.0000s) =================1703== 20170809161910 AddProjectExportEnabledToApplicationSettings: reverting =====1704-- remove_column(:application_settings, :project_export_enabled)1705 -> 0.0456s1706== 20170809161910 AddProjectExportEnabledToApplicationSettings: reverted (0.0456s) 1707== 20170809142252 CleanupAppearancesSchema: reverting =========================1708-- change_column_null(:appearances, :title, true)1709 -> 0.0187s1710-- change_column_null(:appearances, :description, true)1711 -> 0.0185s1712-- change_column_null(:appearances, :created_at, true)1713 -> 0.0186s1714-- change_column_null(:appearances, :updated_at, true)1715 -> 0.0176s1716-- change_column(:appearances, :created_at, :datetime)1717 -> 0.0200s1718-- change_column(:appearances, :updated_at, :datetime)1719 -> 0.0203s1720== 20170809142252 CleanupAppearancesSchema: reverted (0.1141s) ================1721== 20170809134534 AddBroadcastMessageNotNullConstraints: reverting ============1722-- change_column_null(:broadcast_messages, :starts_at, true)1723 -> 0.0208s1724-- change_column_null(:broadcast_messages, :ends_at, true)1725 -> 0.0187s1726-- change_column_null(:broadcast_messages, :created_at, true)1727 -> 0.0192s1728-- change_column_null(:broadcast_messages, :updated_at, true)1729 -> 0.0188s1730-- change_column_null(:broadcast_messages, :message_html, true)1731 -> 0.0191s1732== 20170809134534 AddBroadcastMessageNotNullConstraints: reverted (0.0969s) ===1733== 20170809133343 AddBroadcastMessagesIndex: reverting ========================1734-- transaction_open?()1735 -> 0.0000s1736-- index_name(:broadcast_messages, {:column=>["starts_at", "ends_at", "id"]})1737 -> 0.0000s1738-- index_exists?(:broadcast_messages, [:starts_at, :ends_at, :id], {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id"})1739 -> 0.0007s1740-- index_name(:broadcast_messages, {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id", :column=>[:starts_at, :ends_at, :id]})1741 -> 0.0000s1742-- index_name_exists?(:broadcast_messages, "index_broadcast_messages_on_starts_at_and_ends_at_and_id", true)1743 -> 0.0005s1744-- remove_index(:broadcast_messages, {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id", :column=>[:starts_at, :ends_at, :id]})1745 -> 0.0057s1746== 20170809133343 AddBroadcastMessagesIndex: reverted (0.0072s) ===============1747== 20170807190736 MovePersonalSnippetFilesIntoCorrectFolder: reverting ========1748== 20170807190736 MovePersonalSnippetFilesIntoCorrectFolder: reverted (0.0009s) 1749== 20170807160457 RemoveLockedAtColumnFromMergeRequests: reverting ============1750-- add_column(:merge_requests, :locked_at, :datetime_with_timezone)1751 -> 0.0398s1752== 20170807160457 RemoveLockedAtColumnFromMergeRequests: reverted (0.0398s) ===1753== 20170807071105 AddHashedStorageToSettings: reverting =======================1754-- remove_columns(:application_settings, :hashed_storage_enabled)1755 -> 0.0427s1756== 20170807071105 AddHashedStorageToSettings: reverted (0.0428s) ==============1757== 20170803130232 ReorganiseIssuesIndexesForFasterSorting: reverting ==========1758-- index_name(:issues, {:column=>["project_id"]})1759 -> 0.0000s1760-- index_exists?(:issues, :project_id, {:name=>"index_issues_on_project_id"})1761 -> 0.0009s1762-- transaction_open?()1763 -> 0.0000s1764-- index_name(:issues, {:column=>["project_id"]})1765 -> 0.0000s1766-- index_exists?(:issues, :project_id, {:name=>"index_issues_on_project_id"})1767 -> 0.0007s1768-- add_index(:issues, :project_id, {:name=>"index_issues_on_project_id"})1769 -> 0.0089s1770-- index_name(:issues, {:column=>["created_at"]})1771 -> 0.0000s1772-- index_exists?(:issues, :created_at, {:name=>"index_issues_on_created_at"})1773 -> 0.0007s1774-- transaction_open?()1775 -> 0.0000s1776-- index_name(:issues, {:column=>["created_at"]})1777 -> 0.0000s1778-- index_exists?(:issues, :created_at, {:name=>"index_issues_on_created_at"})1779 -> 0.0006s1780-- add_index(:issues, :created_at, {:name=>"index_issues_on_created_at"})1781 -> 0.0087s1782-- index_name(:issues, {:column=>["due_date"]})1783 -> 0.0000s1784-- index_exists?(:issues, :due_date, {:name=>"index_issues_on_due_date"})1785 -> 0.0006s1786-- transaction_open?()1787 -> 0.0000s1788-- index_name(:issues, {:column=>["due_date"]})1789 -> 0.0000s1790-- index_exists?(:issues, :due_date, {:name=>"index_issues_on_due_date"})1791 -> 0.0006s1792-- add_index(:issues, :due_date, {:name=>"index_issues_on_due_date"})1793 -> 0.0084s1794-- index_name(:issues, {:column=>["updated_at"]})1795 -> 0.0000s1796-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})1797 -> 0.0007s1798-- transaction_open?()1799 -> 0.0000s1800-- index_name(:issues, {:column=>["updated_at"]})1801 -> 0.0000s1802-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})1803 -> 0.0007s1804-- add_index(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})1805 -> 0.0092s1806-- index_name(:issues, {:column=>["project_id", "created_at", "id", "state"]})1807 -> 0.0000s1808-- index_exists?(:issues, [:project_id, :created_at, :id, :state], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state"})1809 -> 0.0007s1810-- transaction_open?()1811 -> 0.0000s1812-- index_name(:issues, {:column=>["project_id", "created_at", "id", "state"]})1813 -> 0.0000s1814-- index_exists?(:issues, [:project_id, :created_at, :id, :state], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state"})1815 -> 0.0006s1816-- index_name(:issues, {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state", :column=>[:project_id, :created_at, :id, :state]})1817 -> 0.0000s1818-- index_name_exists?(:issues, "index_issues_on_project_id_and_created_at_and_id_and_state", true)1819 -> 0.0007s1820-- remove_index(:issues, {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state", :column=>[:project_id, :created_at, :id, :state]})1821 -> 0.0060s1822-- index_name(:issues, {:column=>["project_id", "due_date", "id", "state"]})1823 -> 0.0001s1824-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})1825 -> 0.0009s1826-- transaction_open?()1827 -> 0.0000s1828-- index_name(:issues, {:column=>["project_id", "due_date", "id", "state"]})1829 -> 0.0000s1830-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})1831 -> 0.0015s1832-- index_name(:issues, {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state", :column=>[:project_id, :due_date, :id, :state]})1833 -> 0.0000s1834-- index_name_exists?(:issues, "index_issues_on_project_id_and_due_date_and_id_and_state", true)1835 -> 0.0011s1836-- remove_index(:issues, {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state", :column=>[:project_id, :due_date, :id, :state]})1837 -> 0.0066s1838-- index_name(:issues, {:column=>["project_id", "updated_at", "id", "state"]})1839 -> 0.0000s1840-- index_exists?(:issues, [:project_id, :updated_at, :id, :state], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state"})1841 -> 0.0009s1842-- transaction_open?()1843 -> 0.0000s1844-- index_name(:issues, {:column=>["project_id", "updated_at", "id", "state"]})1845 -> 0.0000s1846-- index_exists?(:issues, [:project_id, :updated_at, :id, :state], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state"})1847 -> 0.0007s1848-- index_name(:issues, {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state", :column=>[:project_id, :updated_at, :id, :state]})1849 -> 0.0000s1850-- index_name_exists?(:issues, "index_issues_on_project_id_and_updated_at_and_id_and_state", true)1851 -> 0.0006s1852-- remove_index(:issues, {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state", :column=>[:project_id, :updated_at, :id, :state]})1853 -> 0.0063s1854== 20170803130232 ReorganiseIssuesIndexesForFasterSorting: reverted (0.0704s) =1855== 20170803090603 CalculateConvDevIndexPercentages: reverting =================1856== 20170803090603 CalculateConvDevIndexPercentages: reverted (0.0000s) ========1857== 20170802013652 AddStorageFieldsToProject: reverting ========================1858-- remove_column(:projects, :storage_version)1859 -> 0.0418s1860== 20170802013652 AddStorageFieldsToProject: reverted (0.0419s) ===============1861== 20170731183033 AddMergeJidToMergeRequests: reverting =======================1862-- remove_column(:merge_requests, :merge_jid, :string)1863 -> 0.0391s1864== 20170731183033 AddMergeJidToMergeRequests: reverted (0.0392s) ==============1865== 20170731175128 AddPercentagesToConvDev: reverting ==========================1866-- remove_column(:conversational_development_index_metrics, :percentage_boards)1867 -> 0.0178s1868-- remove_column(:conversational_development_index_metrics, :percentage_ci_pipelines)1869 -> 0.0167s1870-- remove_column(:conversational_development_index_metrics, :percentage_deployments)1871 -> 0.0165s1872-- remove_column(:conversational_development_index_metrics, :percentage_environments)1873 -> 0.0154s1874-- remove_column(:conversational_development_index_metrics, :percentage_issues)1875 -> 0.0152s1876-- remove_column(:conversational_development_index_metrics, :percentage_merge_requests)1877 -> 0.0155s1878-- remove_column(:conversational_development_index_metrics, :percentage_milestones)1879 -> 0.0148s1880-- remove_column(:conversational_development_index_metrics, :percentage_notes)1881 -> 0.0145s1882-- remove_column(:conversational_development_index_metrics, :percentage_projects_prometheus_active)1883 -> 0.0160s1884-- remove_column(:conversational_development_index_metrics, :percentage_service_desk_issues)1885 -> 0.0140s1886== 20170731175128 AddPercentagesToConvDev: reverted (0.1570s) =================1887== 20170728101014 RemoveEventsFromNotificationSettings: reverting =============1888-- add_column(:notification_settings, :events, :text)1889 -> 0.0199s1890== 20170728101014 RemoveEventsFromNotificationSettings: reverted (0.0200s) ====1891== 20170727123534 AddIndexOnEventsProjectIdId: reverting ======================1892-- index_name(:events, {:column=>["project_id"]})1893 -> 0.0000s1894-- index_exists?(:events, :project_id, {:name=>"index_events_on_project_id"})1895 -> 0.0006s1896-- transaction_open?()1897 -> 0.0000s1898-- index_name(:events, {:column=>["project_id"]})1899 -> 0.0000s1900-- index_exists?(:events, :project_id, {:name=>"index_events_on_project_id"})1901 -> 0.0005s1902-- add_index(:events, :project_id, {:name=>"index_events_on_project_id"})1903 -> 0.0083s1904-- index_name(:events, {:column=>["project_id", "id"]})1905 -> 0.0000s1906-- index_exists?(:events, [:project_id, :id], {:name=>"index_events_on_project_id_and_id"})1907 -> 0.0005s1908-- index_name(:events_for_migration, {:column=>["project_id"]})1909 -> 0.0000s1910-- index_exists?(:events_for_migration, :project_id, {:name=>"index_events_for_migration_on_project_id"})1911 -> 0.0005s1912-- transaction_open?()1913 -> 0.0000s1914-- index_name(:events_for_migration, {:column=>["project_id"]})1915 -> 0.0000s1916-- index_exists?(:events_for_migration, :project_id, {:name=>"index_events_for_migration_on_project_id"})1917 -> 0.0004s1918-- add_index(:events_for_migration, :project_id, {:name=>"index_events_for_migration_on_project_id"})1919 -> 0.0067s1920-- index_name(:events_for_migration, {:column=>["project_id", "id"]})1921 -> 0.0000s1922-- index_exists?(:events_for_migration, [:project_id, :id], {:name=>"index_events_for_migration_on_project_id_and_id"})1923 -> 0.0005s1924== 20170727123534 AddIndexOnEventsProjectIdId: reverted (0.0188s) =============1925== 20170725145659 AddBinaryToMergeRequestDiffFiles: reverting =================1926-- remove_column(:merge_request_diff_files, :binary, :boolean)1927 -> 0.0152s1928== 20170725145659 AddBinaryToMergeRequestDiffFiles: reverted (0.0153s) ========1929== 20170724214302 AddLowerPathIndexToRedirectRoutes: reverting ================1930== 20170724214302 AddLowerPathIndexToRedirectRoutes: reverted (0.0000s) =======1931== 20170720130749 AddForeignKeyToCiPipelineVariables: reverting ===============1932-- remove_foreign_key(:ci_pipeline_variables, {:column=>:pipeline_id})1933 -> 0.0050sArel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.1934If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).1935You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)1936If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.1937DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)1938Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.1939If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).1940You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)1941If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.1942DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)1943== 20170720130749 AddForeignKeyToCiPipelineVariables: reverted (0.0051s) ======1944== 20170720130522 CreateCiPipelineVariables: reverting ========================1945-- drop_table(:ci_pipeline_variables)1946 -> 0.0038s1947== 20170720130522 CreateCiPipelineVariables: reverted (0.0039s) ===============1948== 20170720122741 CreateUserCustomAttributes: reverting =======================1949-- drop_table(:user_custom_attributes, {})1950 -> 0.0037s1951== 20170720122741 CreateUserCustomAttributes: reverted (0.0038s) ==============1952== 20170720111708 AddLockVersionToCiStages: reverting =========================1953-- remove_column(:ci_stages, :lock_version, :integer)1954 -> 0.0208s1955== 20170720111708 AddLockVersionToCiStages: reverted (0.0209s) ================1956== 20170719150301 MergeIssuableReopenedIntoOpenedState: reverting =============1957== 20170719150301 MergeIssuableReopenedIntoOpenedState: reverted (0.0000s) ====1958== 20170717200542 AddTrustedColumnToOauthApplications: reverting ==============1959-- remove_column(:oauth_applications, :trusted)1960 -> 0.0196s1961== 20170717200542 AddTrustedColumnToOauthApplications: reverted (0.0196s) =====1962== 20170717150329 EnqueueMigrateSystemUploadsToNewFolder: reverting ===========1963== 20170717150329 EnqueueMigrateSystemUploadsToNewFolder: reverted (0.0009s) ==1964== 20170717111152 CleanupMoveSystemUploadFolderSymlink: reverting =============1965-- /builds/gitlab-org/gitlab-ce/public/uploads/-/system doesn't exist, skipping.1966== 20170717111152 CleanupMoveSystemUploadFolderSymlink: reverted (0.0000s) ====1967== 20170717074009 MoveSystemUploadFolder: reverting ===========================1968-- /builds/gitlab-org/gitlab-ce/public/uploads/-/system doesn't exist, no need to move it.1969== 20170717074009 MoveSystemUploadFolder: reverted (0.0000s) ==================1970== 20170713104829 AddForeignKeyToMergeRequests: reverting =====================1971-- foreign_keys(:merge_requests)1972 -> 0.0009s1973-- remove_foreign_key(:merge_requests, {:column=>:head_pipeline_id})1974 -> 0.0049s1975== 20170713104829 AddForeignKeyToMergeRequests: reverted (0.0059s) ============1976== 20170711145558 MigrateStagesStatuses: reverting ============================1977-- transaction_open?()1978 -> 0.0000s1979-- exec_query("SELECT COUNT(*) AS count FROM `ci_stages`")1980 -> 0.0004s1981== 20170711145558 MigrateStagesStatuses: reverted (0.0006s) ===================1982== 20170711145320 AddStatusToCiStages: reverting ==============================1983-- remove_column(:ci_stages, :status, :integer)1984 -> 0.0201s1985== 20170711145320 AddStatusToCiStages: reverted (0.0203s) =====================1986== 20170710083355 CleanStageIdReferenceMigration: reverting ===================1987== 20170710083355 CleanStageIdReferenceMigration: reverted (0.0000s) ==========1988== 20170707184244 RemoveWrongVersionsFromSchemaVersions: reverting ============1989== 20170707184244 RemoveWrongVersionsFromSchemaVersions: reverted (0.0000s) ===1990== 20170707184243 AddGroupMilestoneIdIndexes: reverting =======================1991-- remove_foreign_key(:milestones, {:column=>:group_id})1992 -> 0.0046s1993-- transaction_open?()1994 -> 0.0000s1995-- index_name(:milestones, {:column=>["group_id"]})1996 -> 0.0000s1997-- index_exists?(:milestones, :group_id, {:name=>"index_milestones_on_group_id"})1998 -> 0.0005s1999-- index_name(:milestones, {:name=>"index_milestones_on_group_id", :column=>:group_id})2000 -> 0.0000s2001-- index_name_exists?(:milestones, "index_milestones_on_group_id", true)2002 -> 0.0004s2003-- remove_index(:milestones, {:name=>"index_milestones_on_group_id", :column=>:group_id})2004 -> 0.0050s2005== 20170707184243 AddGroupMilestoneIdIndexes: reverted (0.0109s) ==============2006== 20170707183807 AddGroupIdToMilestones: reverting ===========================2007-- execute("DELETE from milestones WHERE project_id IS NULL")2008 -> 0.0004s2009-- remove_column(:milestones, :group_id)2010 -> 0.0201s2011-- change_column(:milestones, :project_id, :integer, {:null=>false})2012 -> 0.0212s2013== 20170707183807 AddGroupIdToMilestones: reverted (0.0418s) ==================2014== 20170706151212 AddPerformanceBarAllowedGroupIdToApplicationSettings: reverting 2015-- remove_column(:application_settings, :performance_bar_allowed_group_id, :integer)2016 -> 0.0439s2017== 20170706151212 AddPerformanceBarAllowedGroupIdToApplicationSettings: reverted (0.0441s) 2018== 20170703130158 ScheduleMergeRequestDiffMigrations: reverting ===============2019== 20170703130158 ScheduleMergeRequestDiffMigrations: reverted (0.0000s) ======2020== 20170703102400 AddStageIdForeignKeyToBuilds: reverting =====================2021-- foreign_keys(:ci_builds)2022 -> 0.0010s2023-- remove_foreign_key(:ci_builds, {:column=>:stage_id})2024 -> 0.0050s2025-- index_name(:ci_builds, {:column=>["stage_id"]})2026 -> 0.0000s2027-- index_exists?(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})2028 -> 0.0008s2029-- transaction_open?()2030 -> 0.0000s2031-- index_name(:ci_builds, {:column=>["stage_id"]})2032 -> 0.0000s2033-- index_exists?(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})2034 -> 0.0006s2035-- index_name(:ci_builds, {:name=>"index_ci_builds_on_stage_id", :column=>:stage_id})2036 -> 0.0000s2037-- index_name_exists?(:ci_builds, "index_ci_builds_on_stage_id", true)2038 -> 0.0005s2039-- remove_index(:ci_builds, {:name=>"index_ci_builds_on_stage_id", :column=>:stage_id})2040 -> 0.0063s2041== 20170703102400 AddStageIdForeignKeyToBuilds: reverted (0.0147s) ============2042== 20170629180131 CleanupApplicationSettingsSigninEnabledRename: reverting ====2043-- transaction_open?()2044 -> 0.0000s2045-- columns(:application_settings)2046 -> 0.0033s2047-- add_column(:application_settings, :signin_enabled, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})2048 -> 0.0443s2049-- quote_table_name(:application_settings)2050 -> 0.0000s2051-- quote_column_name(:password_authentication_enabled)2052 -> 0.0000s2053-- quote_column_name(:signin_enabled)2054 -> 0.0000s2055-- execute("CREATE TRIGGER trigger_cfdf4901b33a_insert\nBEFORE INSERT\nON `application_settings`\nFOR EACH ROW\nSET NEW.`signin_enabled` = NEW.`password_authentication_enabled`\n")2056 -> 0.0044s2057-- execute("CREATE TRIGGER trigger_cfdf4901b33a_update\nBEFORE UPDATE\nON `application_settings`\nFOR EACH ROW\nSET NEW.`signin_enabled` = NEW.`password_authentication_enabled`\n")2058 -> 0.0044s2059-- transaction_open?()2060 -> 0.0000s2061-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")2062 -> 0.0011s2063-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")2064 -> 0.0004s2065-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")2066 -> 0.0006s2067-- execute("UPDATE `application_settings` SET `signin_enabled` = `application_settings`.`password_authentication_enabled` WHERE `application_settings`.`id` >= 1")2068 -> 0.0014s2069-- indexes(:application_settings)2070 -> 0.0004s2071-- foreign_keys(:application_settings)2072 -> 0.0008s2073== 20170629180131 CleanupApplicationSettingsSigninEnabledRename: reverted (0.0644s) 2074== 20170629171610 RenameApplicationSettingsSigninEnabledToPasswordAuthenticationEnabled: reverting 2075-- execute("DROP TRIGGER IF EXISTS trigger_cfdf4901b33a_insert")2076 -> 0.0037s2077-- execute("DROP TRIGGER IF EXISTS trigger_cfdf4901b33a_update")2078 -> 0.0009s2079-- remove_column(:application_settings, :password_authentication_enabled)2080 -> 0.0449s2081== 20170629171610 RenameApplicationSettingsSigninEnabledToPasswordAuthenticationEnabled: reverted (0.0511s) 2082== 20170628080858 MigrateStageIdReferenceInBackground: reverting ==============2083== 20170628080858 MigrateStageIdReferenceInBackground: reverted (0.0000s) =====2084== 20170627101016 ScheduleEventMigrations: reverting ==========================2085== 20170627101016 ScheduleEventMigrations: reverted (0.0000s) =================2086== 20170623080805 RemoveCiVariablesProjectIdIndex: reverting ==================2087-- index_name(:ci_variables, {:column=>["project_id"]})2088 -> 0.0000s2089-- index_exists?(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})2090 -> 0.0006s2091-- transaction_open?()2092 -> 0.0000s2093-- index_name(:ci_variables, {:column=>["project_id"]})2094 -> 0.0000s2095-- index_exists?(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})2096 -> 0.0005s2097-- add_index(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})2098 -> 0.0102s2099== 20170623080805 RemoveCiVariablesProjectIdIndex: reverted (0.0117s) =========2100== 20170622162730 AddRefFetchedToMergeRequest: reverting ======================2101-- remove_column(:merge_requests, :ref_fetched, :boolean)2102 -> 0.0390s2103== 20170622162730 AddRefFetchedToMergeRequest: reverted (0.0391s) =============2104== 20170622135728 AddUniqueConstraintToCiVariables: reverting =================2105-- index_exists?(:ci_variables, [:project_id, :key, :environment_scope], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope"})2106 -> 0.0007s2107-- index_name(:ci_variables, {:column=>["project_id"]})2108 -> 0.0000s2109-- index_exists?(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})2110 -> 0.0004s2111-- transaction_open?()2112 -> 0.0000s2113-- index_exists?(:ci_variables, [:project_id, :key, :environment_scope], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope"})2114 -> 0.0005s2115-- index_name(:ci_variables, {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope", :column=>[:project_id, :key, :environment_scope]})2116 -> 0.0000s2117-- index_name_exists?(:ci_variables, "index_ci_variables_on_project_id_and_key_and_environment_scope", true)2118 -> 0.0005s2119-- remove_index(:ci_variables, {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope", :column=>[:project_id, :key, :environment_scope]})2120 -> 0.0058s2121== 20170622135728 AddUniqueConstraintToCiVariables: reverted (0.0083s) ========2122== 20170622135628 AddEnvironmentScopeToCiVariables: reverting =================2123-- remove_column(:ci_variables, :environment_scope)2124 -> 0.0178s2125== 20170622135628 AddEnvironmentScopeToCiVariables: reverted (0.0179s) ========2126== 20170622135451 RenameDuplicatedVariableKey: reverting ======================2127== 20170622135451 RenameDuplicatedVariableKey: reverted (0.0000s) =============2128== 20170622132212 AddForeignKeyForMergeRequestDiffs: reverting ================2129-- remove_foreign_key(:merge_request_diffs, {:column=>:merge_request_id})2130 -> 0.0049s2131== 20170622132212 AddForeignKeyForMergeRequestDiffs: reverted (0.0049s) =======2132== 20170622130029 CorrectProtectedBranchesForeignKeys: reverting ==============2133== 20170622130029 CorrectProtectedBranchesForeignKeys: reverted (0.0000s) =====2134== 20170621102400 AddStageIdIndexToBuilds: reverting ==========================2135== 20170621102400 AddStageIdIndexToBuilds: reverted (0.0000s) =================2136== 20170620065449 AddForeignKeyToCiPipelineScheduleVariables: reverting =======2137-- remove_foreign_key(:ci_pipeline_schedule_variables, {:column=>:pipeline_schedule_id})2138 -> 0.0049s2139== 20170620065449 AddForeignKeyToCiPipelineScheduleVariables: reverted (0.0050s) 2140== 20170620064728 CreateCiPipelineScheduleVariables: reverting ================2141-- drop_table(:ci_pipeline_schedule_variables)2142 -> 0.0038s2143== 20170620064728 CreateCiPipelineScheduleVariables: reverted (0.0038s) =======2144== 20170619144837 AddIndexForHeadPipelineMergeRequest: reverting ==============2145-- index_name(:merge_requests, {:column=>["head_pipeline_id"]})2146 -> 0.0000s2147-- index_exists?(:merge_requests, :head_pipeline_id, {:name=>"index_merge_requests_on_head_pipeline_id"})2148 -> 0.0008s2149-- transaction_open?()2150 -> 0.0000s2151-- index_name(:merge_requests, {:column=>["head_pipeline_id"]})2152 -> 0.0000s2153-- index_exists?(:merge_requests, :head_pipeline_id, {:name=>"index_merge_requests_on_head_pipeline_id"})2154 -> 0.0006s2155-- index_name(:merge_requests, {:name=>"index_merge_requests_on_head_pipeline_id", :column=>:head_pipeline_id})2156 -> 0.0000s2157-- index_name_exists?(:merge_requests, "index_merge_requests_on_head_pipeline_id", true)2158 -> 0.0005s2159-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_head_pipeline_id", :column=>:head_pipeline_id})2160 -> 0.0057s2161== 20170619144837 AddIndexForHeadPipelineMergeRequest: reverted (0.0080s) =====2162== 20170616133147 CreateMergeRequestDiffCommits: reverting ====================2163-- drop_table(:merge_request_diff_commits, {:id=>false})2164 -> 0.0037s2165== 20170616133147 CreateMergeRequestDiffCommits: reverted (0.0038s) ===========2166== 20170614115405 MergeRequestDiffFileLimitsToMysql: reverting ================2167== 20170614115405 MergeRequestDiffFileLimitsToMysql: reverted (0.0000s) =======2168== 20170613154149 CreateGpgSignatures: reverting ==============================2169-- drop_table(:gpg_signatures, {})2170 -> 0.0035s2171== 20170613154149 CreateGpgSignatures: reverted (0.0036s) =====================2172== 20170613111224 CleanAppearanceSymlinks: reverting ==========================2173== 20170613111224 CleanAppearanceSymlinks: reverted (0.0001s) =================2174== 20170612071012 MovePersonalSnippetsFiles: reverting ========================2175-- select_all("SELECT uploads.path, uploads.model_id, snippets.description FROM uploads INNER JOIN snippets ON snippets.id = uploads.model_id WHERE uploader = 'PersonalFileUploader'")2176 -> 0.0009s2177== 20170612071012 MovePersonalSnippetsFiles: reverted (0.0010s) ===============2178== 20170609183112 RemovePositionFromIssuables: reverting ======================2179-- add_column(:merge_requests, :position, :integer)2180 -> 0.0373s2181-- add_column(:issues, :position, :integer)2182 -> 0.0382s2183== 20170609183112 RemovePositionFromIssuables: reverted (0.0757s) =============2184== 20170608171156 CreateMergeRequestDiffFiles: reverting ======================2185-- drop_table(:merge_request_diff_files, {:id=>false})2186 -> 0.0037s2187== 20170608171156 CreateMergeRequestDiffFiles: reverted (0.0039s) =============2188== 20170608152748 CreatePushEventPayloadsTables: reverting ====================2189-- drop_table(:push_event_payloads)2190 -> 0.0032s2191== 20170608152748 CreatePushEventPayloadsTables: reverted (0.0032s) ===========2192== 20170608152747 PrepareEventsTableForPushEventsMigration: reverting =========2193-- drop_table(:events_for_migration)2194 -> 0.0036s2195== 20170608152747 PrepareEventsTableForPushEventsMigration: reverted (0.0037s) 2196== 20170607121233 ConvertCustomNotificationSettingsToColumns: reverting =======2197== 20170607121233 ConvertCustomNotificationSettingsToColumns: reverted (0.0038s) 2198== 20170606202615 MoveAppearanceToSystemDir: reverting ========================2199-- /builds/gitlab-org/gitlab-ce/public/uploads/-/system/appearance did not exist, skipping2200== 20170606202615 MoveAppearanceToSystemDir: reverted (0.0001s) ===============2201== 20170606154216 AddNotificationSettingColumns: reverting ====================2202-- remove_column(:notification_settings, :success_pipeline, :boolean)2203 -> 0.0247s2204-- remove_column(:notification_settings, :failed_pipeline, :boolean)2205 -> 0.0227s2206-- remove_column(:notification_settings, :merge_merge_request, :boolean)2207 -> 0.0217s2208-- remove_column(:notification_settings, :reassign_merge_request, :boolean)2209 -> 0.0217s2210-- remove_column(:notification_settings, :close_merge_request, :boolean)2211 -> 0.0207s2212-- remove_column(:notification_settings, :reopen_merge_request, :boolean)2213 -> 0.0202s2214-- remove_column(:notification_settings, :new_merge_request, :boolean)2215 -> 0.0197s2216-- remove_column(:notification_settings, :reassign_issue, :boolean)2217 -> 0.0211s2218-- remove_column(:notification_settings, :close_issue, :boolean)2219 -> 0.0215s2220-- remove_column(:notification_settings, :reopen_issue, :boolean)2221 -> 0.0232s2222-- remove_column(:notification_settings, :new_issue, :boolean)2223 -> 0.0220s2224-- remove_column(:notification_settings, :new_note, :boolean)2225 -> 0.0198s2226== 20170606154216 AddNotificationSettingColumns: reverted (0.2604s) ===========2227== 20170603200744 AddEmailProviderToUsers: reverting ==========================2228-- remove_column(:users, :email_provider, :string)2229 -> 0.0380s2230== 20170603200744 AddEmailProviderToUsers: reverted (0.0382s) =================2231== 20170602154813 AddHelpPageSupportUrlToApplicationSettings: reverting =======2232-- remove_column(:application_settings, :help_page_support_url, :string)2233 -> 0.0425s2234== 20170602154813 AddHelpPageSupportUrlToApplicationSettings: reverted (0.0426s) 2235== 20170602154736 AddHelpPageHideCommercialContentToApplicationSettings: reverting 2236-- remove_column(:application_settings, :help_page_hide_commercial_content, :boolean, {:default=>false})2237 -> 0.0426s2238== 20170602154736 AddHelpPageHideCommercialContentToApplicationSettings: reverted (0.0428s) 2239== 20170601163708 AddArtifactsStoreToCiBuild: reverting =======================2240-- remove_column(:ci_builds, :artifacts_metadata_store, :integer)2241 -> 0.0443s2242-- remove_column(:ci_builds, :artifacts_file_store, :integer)2243 -> 0.0414s2244== 20170601163708 AddArtifactsStoreToCiBuild: reverted (0.0859s) ==============2245== 20170531203055 CleanupUsersLdapEmailRename: reverting ======================2246-- transaction_open?()2247 -> 0.0000s2248-- columns(:users)2249 -> 0.0025s2250-- add_column(:users, :ldap_email, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})2251 -> 0.0396s2252-- quote_table_name(:users)2253 -> 0.0000s2254-- quote_column_name(:external_email)2255 -> 0.0000s2256-- quote_column_name(:ldap_email)2257 -> 0.0000s2258-- execute("CREATE TRIGGER trigger_9016d0b57d10_insert\nBEFORE INSERT\nON `users`\nFOR EACH ROW\nSET NEW.`ldap_email` = NEW.`external_email`\n")2259 -> 0.0048s2260-- execute("CREATE TRIGGER trigger_9016d0b57d10_update\nBEFORE UPDATE\nON `users`\nFOR EACH ROW\nSET NEW.`ldap_email` = NEW.`external_email`\n")2261 -> 0.0042s2262-- transaction_open?()2263 -> 0.0000s2264-- exec_query("SELECT COUNT(*) AS count FROM `users`")2265 -> 0.0008s2266-- indexes(:users)2267 -> 0.0006s2268-- foreign_keys(:users)2269 -> 0.0008s2270== 20170531203055 CleanupUsersLdapEmailRename: reverted (0.0557s) =============2271== 20170531202042 RenameUsersLdapEmailToExternalEmail: reverting ==============2272-- execute("DROP TRIGGER IF EXISTS trigger_9016d0b57d10_insert")2273 -> 0.0022s2274-- execute("DROP TRIGGER IF EXISTS trigger_9016d0b57d10_update")2275 -> 0.0007s2276-- remove_column(:users, :external_email)2277 -> 0.0403s2278== 20170531202042 RenameUsersLdapEmailToExternalEmail: reverted (0.0447s) =====2279== 20170531180233 AddAuthorizedKeysEnabledToApplicationSettings: reverting ====2280-- remove_column(:application_settings, :authorized_keys_enabled)2281 -> 0.0447s2282== 20170531180233 AddAuthorizedKeysEnabledToApplicationSettings: reverted (0.0448s) 2283== 20170530130129 ProjectForeignKeysWithCascadingDeletes: reverting ===========2284-- remove_foreign_key(:boards, {:column=>:project_id})2285 -> 0.0061s2286-- remove_foreign_key(:lists, {:column=>:label_id})2287 -> 0.0046s2288-- remove_foreign_key(:lists, {:column=>:board_id})2289 -> 0.0045s2290-- remove_foreign_key(:services, {:column=>:project_id})2291 -> 0.0055s2292-- remove_foreign_key(:forked_project_links, {:column=>:forked_to_project_id})2293 -> 0.0046s2294-- remove_foreign_key(:merge_requests, {:column=>:target_project_id})2295 -> 0.0047s2296-- remove_foreign_key(:labels, {:column=>:project_id})2297 -> 0.0043s2298-- remove_foreign_key(:issues, {:column=>:project_id})2299 -> 0.0047s2300-- remove_foreign_key(:events, {:column=>:project_id})2301-- remove_foreign_key(:milestones, {:column=>:project_id})2302 -> 0.0042s2303-- remove_foreign_key(:notes, {:column=>:project_id})2304 -> 0.0049s2305-- remove_foreign_key(:snippets, {:column=>:project_id})2306 -> 0.0048s2307-- remove_foreign_key(:web_hooks, {:column=>:project_id})2308 -> 0.0047s2309-- remove_foreign_key(:protected_branch_merge_access_levels, {:column=>:protected_branch_id})2310 -> 0.0047s2311-- remove_foreign_key(:protected_branch_push_access_levels, {:column=>:protected_branch_id})2312 -> 0.0048s2313-- remove_foreign_key(:protected_branches, {:column=>:project_id})2314 -> 0.0049s2315-- remove_foreign_key(:protected_tags, {:column=>:project_id})2316 -> 0.0046s2317-- remove_foreign_key(:deploy_keys_projects, {:column=>:project_id})2318 -> 0.0056s2319-- remove_foreign_key(:users_star_projects, {:column=>:project_id})2320 -> 0.0046s2321-- remove_foreign_key(:releases, {:column=>:project_id})2322 -> 0.0059s2323-- remove_foreign_key(:project_group_links, {:column=>:project_id})2324 -> 0.0047s2325-- remove_foreign_key(:pages_domains, {:column=>:project_id})2326 -> 0.0055s2327-- remove_foreign_key(:todos, {:column=>:project_id})2328 -> 0.0046s2329-- remove_foreign_key(:project_import_data, {:column=>:project_id})2330 -> 0.0045s2331-- remove_foreign_key(:project_features, {:column=>:project_id})2332 -> 0.0043s2333-- remove_foreign_key(:ci_builds, {:column=>:project_id})2334 -> 0.0048s2335-- remove_foreign_key(:ci_pipelines, {:column=>:project_id})2336 -> 0.0046s2337-- remove_foreign_key(:ci_runner_projects, {:column=>:project_id})2338 -> 0.0041s2339-- remove_foreign_key(:ci_triggers, {:column=>:project_id})2340 -> 0.0044s2341-- remove_foreign_key(:environments, {:column=>:project_id})2342 -> 0.0046s2343-- remove_foreign_key(:deployments, {:column=>:project_id})2344 -> 0.0044s2345-- foreign_keys(:boards)2346 -> 0.0007s2347-- transaction_open?()2348 -> 0.0001s2349-- foreign_keys(:boards)2350 -> 0.0007s2351-- add_foreign_key(:boards, :projects, {:column=>:project_id, :on_delete=>:cascade})2352 -> 0.0208s2353-- foreign_keys(:lists)2354 -> 0.0009s2355-- transaction_open?()2356 -> 0.0000s2357-- foreign_keys(:lists)2358 -> 0.0007s2359-- add_foreign_key(:lists, :labels, {:column=>:label_id, :on_delete=>:cascade})2360 -> 0.0238s2361-- foreign_keys(:lists)2362 -> 0.0014s2363-- transaction_open?()2364 -> 0.0000s2365-- foreign_keys(:lists)2366 -> 0.0007s2367-- add_foreign_key(:lists, :boards, {:column=>:board_id, :on_delete=>:cascade})2368 -> 0.0244s2369-- foreign_keys(:protected_branch_merge_access_levels)2370 -> 0.0010s2371-- transaction_open?()2372 -> 0.0000s2373-- foreign_keys(:protected_branch_merge_access_levels)2374 -> 0.0008s2375-- add_foreign_key(:protected_branch_merge_access_levels, :protected_branches, {:column=>:protected_branch_id, :on_delete=>:cascade})2376 -> 0.0207s2377-- foreign_keys(:protected_branch_push_access_levels)2378 -> 0.0010s2379-- transaction_open?()2380 -> 0.0001s2381-- foreign_keys(:protected_branch_push_access_levels)2382 -> 0.0008s2383-- add_foreign_key(:protected_branch_push_access_levels, :protected_branches, {:column=>:protected_branch_id, :on_delete=>:cascade})2384 -> 0.0214s2385-- transaction_open?()2386 -> 0.0001s2387-- index_name(:project_group_links, {:column=>["project_id"]})2388 -> 0.0001s2389-- index_exists?(:project_group_links, :project_id, {:name=>"index_project_group_links_on_project_id"})2390 -> 0.0008s2391-- index_name(:project_group_links, {:name=>"index_project_group_links_on_project_id", :column=>:project_id})2392 -> 0.0001s2393-- index_name_exists?(:project_group_links, "index_project_group_links_on_project_id", true)2394 -> 0.0006s2395-- remove_index(:project_group_links, {:name=>"index_project_group_links_on_project_id", :column=>:project_id})2396 -> 0.0059s2397-- transaction_open?()2398 -> 0.0000s2399-- index_name(:pages_domains, {:column=>["project_id"]})2400 -> 0.0000s2401-- index_exists?(:pages_domains, :project_id, {:name=>"index_pages_domains_on_project_id"})2402 -> 0.0005s2403-- index_name(:pages_domains, {:name=>"index_pages_domains_on_project_id", :column=>:project_id})2404 -> 0.0000s2405-- index_name_exists?(:pages_domains, "index_pages_domains_on_project_id", true)2406 -> 0.0004s2407-- remove_index(:pages_domains, {:name=>"index_pages_domains_on_project_id", :column=>:project_id})2408 -> 0.0063s2409== 20170530130129 ProjectForeignKeysWithCascadingDeletes: reverted (0.2822s) ==2410== 20170526190000 MigrateBuildStageReferenceAgain: reverting ==================2411-- transaction_open?()2412 -> 0.0000s2413-- exec_query("SELECT COUNT(*) AS count FROM `ci_builds`")2414 -> 0.0005s2415== 20170526190000 MigrateBuildStageReferenceAgain: reverted (0.0007s) =========2416== 20170526185921 MigrateBuildStageReference: reverting =======================2417== 20170526185921 MigrateBuildStageReference: reverted (0.0000s) ==============2418== 20170526185901 RemoveStageIdIndexFromBuilds: reverting =====================2419== 20170526185901 RemoveStageIdIndexFromBuilds: reverted (0.0000s) ============2420== 20170526185858 CreateIndexInPipelineStages: reverting ======================2421-- transaction_open?()2422 -> 0.0000s2423-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})2424 -> 0.0000s2425-- index_exists?(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})2426 -> 0.0005s2427-- index_name(:ci_stages, {:name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})2428 -> 0.0000s2429-- index_name_exists?(:ci_stages, "index_ci_stages_on_pipeline_id_and_name", true)2430 -> 0.0007s2431-- remove_index(:ci_stages, {:name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})2432 -> 0.0067s2433== 20170526185858 CreateIndexInPipelineStages: reverted (0.0082s) =============2434== 20170526185842 MigratePipelineStages: reverting ============================2435== 20170526185842 MigratePipelineStages: reverted (0.0000s) ===================2436== 20170526185602 AddStageIdToCiBuilds: reverting =============================2437-- remove_column(:ci_builds, :stage_id, :integer)2438 -> 0.0490s2439== 20170526185602 AddStageIdToCiBuilds: reverted (0.0490s) ====================2440== 20170525174156 CreateFeatureTables: reverting ==============================2441-- drop_table(:feature_gates)2442 -> 0.0323s2443-- drop_table(:features)2444 -> 0.0037s2445== 20170525174156 CreateFeatureTables: reverted (0.0361s) =====================2446== 20170525140254 RenameAllReservedPathsAgain: reverting ======================2447== 20170525140254 RenameAllReservedPathsAgain: reverted (0.0006s) =============2448== 20170525132202 CreatePipelineStages: reverting =============================2449-- drop_table(:ci_stages)2450 -> 0.0034s2451== 20170525132202 CreatePipelineStages: reverted (0.0035s) ====================2452== 20170525130758 AddForeignKeyToGroupVariables: reverting ====================2453-- remove_foreign_key(:ci_group_variables, {:column=>:group_id})2454 -> 0.0057s2455== 20170525130758 AddForeignKeyToGroupVariables: reverted (0.0057s) ===========2456== 20170525130346 CreateGroupVariablesTable: reverting ========================2457-- drop_table(:ci_group_variables)2458 -> 0.0034s2459== 20170525130346 CreateGroupVariablesTable: reverted (0.0034s) ===============2460== 20170524161101 AddProtectedToCiVariables: reverting ========================2461-- remove_column(:ci_variables, :protected)2462 -> 0.0180s2463== 20170524161101 AddProtectedToCiVariables: reverted (0.0180s) ===============2464== 20170524125940 AddSourceToCiPipeline: reverting ============================2465-- remove_column(:ci_pipelines, :source, :integer)2466 -> 0.0305s2467== 20170524125940 AddSourceToCiPipeline: reverted (0.0306s) ===================2468$ bundle exec rake db:migrate2469WARNING: sha_attribute :source_sha is invalid since the column doesn't exist - you may need to run database migrations2470WARNING: sha_attribute :target_sha is invalid since the column doesn't exist - you may need to run database migrations2471== 20170524125940 AddSourceToCiPipeline: migrating ============================2472-- add_column(:ci_pipelines, :source, :integer)2473 -> 0.0311s2474== 20170524125940 AddSourceToCiPipeline: migrated (0.0312s) ===================2475== 20170524161101 AddProtectedToCiVariables: migrating ========================2476-- transaction_open?()2477 -> 0.0000s2478-- transaction()2479-- add_column(:ci_variables, :protected, :boolean, {:default=>nil})2480 -> 0.0162s2481-- change_column_default(:ci_variables, :protected, false)2482 -> 0.0047s2483 -> 0.0217s2484-- transaction_open?()2485 -> 0.0000s2486-- exec_query("SELECT COUNT(*) AS count FROM `ci_variables`")2487 -> 0.0004s2488-- change_column_null(:ci_variables, :protected, false)2489 -> 0.0183s2490== 20170524161101 AddProtectedToCiVariables: migrated (0.0408s) ===============2491== 20170525130346 CreateGroupVariablesTable: migrating ========================2492-- create_table(:ci_group_variables, {})2493 -> 0.0110s2494-- add_index(:ci_group_variables, [:group_id, :key], {:unique=>true})2495 -> 0.0086s2496== 20170525130346 CreateGroupVariablesTable: migrated (0.0197s) ===============2497== 20170525130758 AddForeignKeyToGroupVariables: migrating ====================2498-- transaction_open?()2499 -> 0.0000s2500-- foreign_keys(:ci_group_variables)2501 -> 0.0009s2502-- add_foreign_key(:ci_group_variables, :namespaces, {:column=>:group_id, :on_delete=>:cascade})2503 -> 0.0207s2504== 20170525130758 AddForeignKeyToGroupVariables: migrated (0.0218s) ===========2505== 20170525132202 CreatePipelineStages: migrating =============================2506-- create_table(:ci_stages, {})2507 -> 0.0112s2508-- transaction_open?()2509 -> 0.0000s2510-- foreign_keys(:ci_stages)2511 -> 0.0012s2512-- add_foreign_key(:ci_stages, :projects, {:column=>:project_id, :on_delete=>:cascade})2513 -> 0.0207s2514-- transaction_open?()2515 -> 0.0000s2516-- foreign_keys(:ci_stages)2517 -> 0.0012s2518-- add_foreign_key(:ci_stages, :ci_pipelines, {:column=>:pipeline_id, :on_delete=>:cascade})2519 -> 0.0214s2520-- transaction_open?()2521 -> 0.0000s2522-- index_name(:ci_stages, {:column=>["project_id"]})2523 -> 0.0000s2524-- index_exists?(:ci_stages, :project_id, {:name=>"index_ci_stages_on_project_id"})2525 -> 0.0009s2526-- add_index(:ci_stages, :project_id, {:name=>"index_ci_stages_on_project_id"})2527 -> 0.0096s2528-- transaction_open?()2529 -> 0.0000s2530-- index_name(:ci_stages, {:column=>["pipeline_id"]})2531 -> 0.0000s2532-- index_exists?(:ci_stages, :pipeline_id, {:name=>"index_ci_stages_on_pipeline_id"})2533 -> 0.0005s2534-- add_index(:ci_stages, :pipeline_id, {:name=>"index_ci_stages_on_pipeline_id"})2535 -> 0.0076s2536== 20170525132202 CreatePipelineStages: migrated (0.0752s) ====================2537== 20170525140254 RenameAllReservedPathsAgain: migrating ======================2538== 20170525140254 RenameAllReservedPathsAgain: migrated (0.1074s) =============2539== 20170525174156 CreateFeatureTables: migrating ==============================2540-- create_table(:features, {})2541 -> 0.0110s2542-- add_index(:features, :key, {:unique=>true})2543 -> 0.0080s2544-- create_table(:feature_gates, {})2545 -> 0.0097s2546-- add_index(:feature_gates, [:feature_key, :key, :value], {:unique=>true})2547 -> 0.0078s2548== 20170525174156 CreateFeatureTables: migrated (0.0367s) =====================2549== 20170526185602 AddStageIdToCiBuilds: migrating =============================2550-- add_column(:ci_builds, :stage_id, :integer)2551 -> 0.0426s2552== 20170526185602 AddStageIdToCiBuilds: migrated (0.0427s) ====================2553== 20170526185842 MigratePipelineStages: migrating ============================2554-- execute("INSERT INTO ci_stages (project_id, pipeline_id, name)\n SELECT project_id, commit_id, stage FROM ci_builds\n WHERE stage IS NOT NULL\n AND stage_id IS NULL\n AND EXISTS (SELECT 1 FROM projects WHERE projects.id = ci_builds.project_id)\n AND EXISTS (SELECT 1 FROM ci_pipelines WHERE ci_pipelines.id = ci_builds.commit_id)\n GROUP BY project_id, commit_id, stage\n ORDER BY MAX(stage_idx)\n")2555 -> 0.0007s2556== 20170526185842 MigratePipelineStages: migrated (0.0008s) ===================2557== 20170526185858 CreateIndexInPipelineStages: migrating ======================2558-- transaction_open?()2559 -> 0.0000s2560-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})2561 -> 0.0000s2562-- index_exists?(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})2563 -> 0.0006s2564-- add_index(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})2565 -> 0.0067s2566== 20170526185858 CreateIndexInPipelineStages: migrated (0.0075s) =============2567== 20170526185901 RemoveStageIdIndexFromBuilds: migrating =====================2568-- index_name(:ci_builds, {:column=>["stage_id"]})2569 -> 0.0000s2570-- index_exists?(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})2571 -> 0.0007s2572== 20170526185901 RemoveStageIdIndexFromBuilds: migrated (0.0009s) ============2573== 20170526185921 MigrateBuildStageReference: migrating =======================2574== 20170526185921 MigrateBuildStageReference: migrated (0.0000s) ==============2575== 20170526190000 MigrateBuildStageReferenceAgain: migrating ==================2576-- transaction_open?()2577 -> 0.0000s2578-- exec_query("SELECT COUNT(*) AS count FROM `ci_builds` WHERE `ci_builds`.`stage_id` IS NULL")2579 -> 0.0004s2580== 20170526190000 MigrateBuildStageReferenceAgain: migrated (0.0007s) =========2581== 20170530130129 ProjectForeignKeysWithCascadingDeletes: migrating ===========2582-- remove_foreign_key(:boards, {:column=>:project_id})2583 -> 0.0042s2584-- remove_foreign_key(:lists, {:column=>:label_id})2585 -> 0.0044s2586-- remove_foreign_key(:lists, {:column=>:board_id})2587 -> 0.0041s2588-- remove_foreign_key(:protected_branch_merge_access_levels, {:column=>:protected_branch_id})2589 -> 0.0042s2590-- remove_foreign_key(:protected_branch_push_access_levels, {:column=>:protected_branch_id})2591 -> 0.0042s2592-- quote_table_name(:boards)2593 -> 0.0000s2594-- quote_table_name(:projects)2595 -> 0.0000s2596-- quote_column_name(:project_id)2597 -> 0.0000s2598-- execute("DELETE FROM `boards`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `boards`.`project_id`\n)\nAND `boards`.`project_id` IS NOT NULL\n")2599-- quote_table_name(:pages_domains)2600 -> 0.0000s2601-- quote_table_name(:projects)2602 -> 0.0001s2603-- quote_column_name(:project_id)2604 -> 0.0000s2605-- execute("DELETE FROM `pages_domains`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `pages_domains`.`project_id`\n)\nAND `pages_domains`.`project_id` IS NOT NULL\n")2606 -> 0.0009s2607-- quote_table_name(:lists)2608 -> 0.0000s2609-- quote_table_name(:labels)2610 -> 0.0000s2611-- quote_column_name(:label_id)2612 -> 0.0000s2613-- execute("DELETE FROM `lists`\nWHERE NOT EXISTS (\n SELECT true\n FROM `labels`\n WHERE `labels`.id = `lists`.`label_id`\n)\nAND `lists`.`label_id` IS NOT NULL\n")2614-- quote_table_name(:issues)2615 -> 0.0000s2616-- quote_table_name(:projects)2617 -> 0.0000s2618-- quote_column_name(:project_id)2619 -> 0.0000s2620-- execute("DELETE FROM `issues`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `issues`.`project_id`\n)\nAND `issues`.`project_id` IS NOT NULL\n")2621 -> 0.0012s2622-- quote_table_name(:todos)2623 -> 0.0000s2624-- quote_table_name(:projects)2625 -> 0.0000s2626-- quote_column_name(:project_id)2627 -> 0.0000s2628-- execute("DELETE FROM `todos`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `todos`.`project_id`\n)\nAND `todos`.`project_id` IS NOT NULL\n")2629-- quote_table_name(:protected_branch_push_access_levels)2630 -> 0.0000s2631-- quote_table_name(:protected_branches)2632 -> 0.0000s2633-- quote_column_name(:protected_branch_id)2634 -> 0.0000s2635-- execute("DELETE FROM `protected_branch_push_access_levels`\nWHERE NOT EXISTS (\n SELECT true\n FROM `protected_branches`\n WHERE `protected_branches`.id = `protected_branch_push_access_levels`.`protected_branch_id`\n)\nAND `protected_branch_push_access_levels`.`protected_branch_id` IS NOT NULL\n")2636 -> 0.0017s2637-- quote_table_name(:lists)2638 -> 0.0000s2639-- quote_table_name(:boards)2640 -> 0.0000s2641-- quote_column_name(:board_id)2642 -> 0.0000s2643-- execute("DELETE FROM `lists`\nWHERE NOT EXISTS (\n SELECT true\n FROM `boards`\n WHERE `boards`.id = `lists`.`board_id`\n)\nAND `lists`.`board_id` IS NOT NULL\n")2644 -> 0.0014s2645-- quote_table_name(:project_import_data)2646 -> 0.0000s2647-- quote_table_name(:projects)2648 -> 0.0000s2649-- quote_column_name(:project_id)2650 -> 0.0000s2651-- execute("DELETE FROM `project_import_data`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `project_import_data`.`project_id`\n)\nAND `project_import_data`.`project_id` IS NOT NULL\n")2652 -> 0.0013s2653-- quote_table_name(:protected_branches)2654 -> 0.0000s2655-- quote_table_name(:projects)2656 -> 0.0000s2657-- quote_column_name(:project_id)2658 -> 0.0000s2659-- execute("DELETE FROM `protected_branches`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `protected_branches`.`project_id`\n)\nAND `protected_branches`.`project_id` IS NOT NULL\n")2660 -> 0.0012s2661-- quote_table_name(:services)2662 -> 0.0000s2663-- quote_table_name(:projects)2664 -> 0.0000s2665-- quote_column_name(:project_id)2666 -> 0.0000s2667-- execute("DELETE FROM `services`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `services`.`project_id`\n)\nAND `services`.`project_id` IS NOT NULL\n")2668 -> 0.0034s2669-- quote_table_name(:events)2670 -> 0.0000s2671-- quote_table_name(:projects)2672 -> 0.0000s2673-- quote_column_name(:project_id)2674 -> 0.0000s2675-- execute("DELETE FROM `events`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `events`.`project_id`\n)\nAND `events`.`project_id` IS NOT NULL\n")2676 -> 0.0016s2677-- quote_table_name(:project_features)2678 -> 0.0000s2679-- quote_table_name(:projects)2680 -> 0.0000s2681-- quote_column_name(:project_id)2682 -> 0.0000s2683-- execute("DELETE FROM `project_features`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `project_features`.`project_id`\n)\nAND `project_features`.`project_id` IS NOT NULL\n")2684 -> 0.0015s2685-- quote_table_name(:protected_tags)2686 -> 0.0000s2687-- quote_table_name(:projects)2688 -> 0.0001s2689-- quote_column_name(:project_id)2690 -> 0.0000s2691-- execute("DELETE FROM `protected_tags`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `protected_tags`.`project_id`\n)\nAND `protected_tags`.`project_id` IS NOT NULL\n")2692 -> 0.0015s2693-- quote_table_name(:forked_project_links)2694 -> 0.0000s2695-- quote_table_name(:projects)2696 -> 0.0000s2697-- quote_column_name(:forked_to_project_id)2698 -> 0.0000s2699-- execute("DELETE FROM `forked_project_links`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `forked_project_links`.`forked_to_project_id`\n)\nAND `forked_project_links`.`forked_to_project_id` IS NOT NULL\n")2700 -> 0.0007s2701-- quote_table_name(:deploy_keys_projects)2702 -> 0.0000s2703-- quote_table_name(:projects)2704 -> 0.0000s2705-- quote_column_name(:project_id)2706 -> 0.0000s2707-- execute("DELETE FROM `deploy_keys_projects`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `deploy_keys_projects`.`project_id`\n)\nAND `deploy_keys_projects`.`project_id` IS NOT NULL\n")2708 -> 0.0015s2709-- quote_table_name(:ci_builds)2710 -> 0.0000s2711-- quote_table_name(:projects)2712 -> 0.0000s2713-- quote_column_name(:project_id)2714 -> 0.0000s2715-- execute("DELETE FROM `ci_builds`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `ci_builds`.`project_id`\n)\nAND `ci_builds`.`project_id` IS NOT NULL\n")2716 -> 0.0011s2717-- quote_table_name(:merge_requests)2718 -> 0.0000s2719-- quote_table_name(:projects)2720 -> 0.0000s2721-- quote_column_name(:target_project_id)2722 -> 0.0000s2723-- execute("DELETE FROM `merge_requests`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `merge_requests`.`target_project_id`\n)\nAND `merge_requests`.`target_project_id` IS NOT NULL\n")2724 -> 0.0028s2725-- quote_table_name(:milestones)2726 -> 0.0000s2727-- quote_table_name(:projects)2728 -> 0.0000s2729-- quote_column_name(:project_id)2730 -> 0.0000s2731-- execute("DELETE FROM `milestones`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `milestones`.`project_id`\n)\nAND `milestones`.`project_id` IS NOT NULL\n")2732 -> 0.0011s2733-- quote_table_name(:ci_pipelines)2734 -> 0.0000s2735-- quote_table_name(:projects)2736 -> 0.0000s2737-- quote_column_name(:project_id)2738 -> 0.0000s2739-- execute("DELETE FROM `ci_pipelines`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `ci_pipelines`.`project_id`\n)\nAND `ci_pipelines`.`project_id` IS NOT NULL\n")2740 -> 0.0019s2741-- quote_table_name(:users_star_projects)2742 -> 0.0000s2743-- quote_table_name(:projects)2744 -> 0.0000s2745-- quote_column_name(:project_id)2746 -> 0.0000s2747-- execute("DELETE FROM `users_star_projects`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `users_star_projects`.`project_id`\n)\nAND `users_star_projects`.`project_id` IS NOT NULL\n")2748 -> 0.0011s2749-- quote_table_name(:notes)2750 -> 0.0000s2751-- quote_table_name(:projects)2752 -> 0.0000s2753-- quote_column_name(:project_id)2754 -> 0.0000s2755-- execute("DELETE FROM `notes`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `notes`.`project_id`\n)\nAND `notes`.`project_id` IS NOT NULL\n")2756 -> 0.0012s2757-- quote_table_name(:ci_runner_projects)2758 -> 0.0000s2759-- quote_table_name(:projects)2760 -> 0.0000s2761-- quote_column_name(:project_id)2762 -> 0.0000s2763-- execute("DELETE FROM `ci_runner_projects`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `ci_runner_projects`.`project_id`\n)\nAND `ci_runner_projects`.`project_id` IS NOT NULL\n")2764 -> 0.0024s2765-- quote_table_name(:labels)2766 -> 0.0000s2767-- quote_table_name(:projects)2768 -> 0.0000s2769-- quote_column_name(:project_id)2770 -> 0.0000s2771-- execute("DELETE FROM `labels`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `labels`.`project_id`\n)\nAND `labels`.`project_id` IS NOT NULL\n")2772 -> 0.0011s2773-- quote_table_name(:snippets)2774 -> 0.0000s2775-- quote_table_name(:projects)2776 -> 0.0000s2777-- quote_column_name(:project_id)2778 -> 0.0000s2779-- execute("DELETE FROM `snippets`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `snippets`.`project_id`\n)\nAND `snippets`.`project_id` IS NOT NULL\n")2780 -> 0.0012s2781-- quote_table_name(:ci_triggers)2782 -> 0.0000s2783-- quote_table_name(:projects)2784 -> 0.0000s2785-- quote_column_name(:project_id)2786 -> 0.0000s2787-- execute("DELETE FROM `ci_triggers`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `ci_triggers`.`project_id`\n)\nAND `ci_triggers`.`project_id` IS NOT NULL\n")2788 -> 0.0011s2789-- quote_table_name(:environments)2790 -> 0.0000s2791-- quote_table_name(:projects)2792 -> 0.0000s2793-- quote_column_name(:project_id)2794 -> 0.0000s2795-- execute("DELETE FROM `environments`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `environments`.`project_id`\n)\nAND `environments`.`project_id` IS NOT NULL\n")2796 -> 0.0011s2797-- quote_table_name(:web_hooks)2798 -> 0.0000s2799-- quote_table_name(:projects)2800 -> 0.0000s2801-- quote_column_name(:project_id)2802 -> 0.0000s2803-- execute("DELETE FROM `web_hooks`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `web_hooks`.`project_id`\n)\nAND `web_hooks`.`project_id` IS NOT NULL\n")2804 -> 0.0011s2805-- quote_table_name(:protected_branch_merge_access_levels)2806 -> 0.0000s2807-- quote_table_name(:protected_branches)2808 -> 0.0000s2809-- quote_column_name(:protected_branch_id)2810 -> 0.0000s2811-- execute("DELETE FROM `protected_branch_merge_access_levels`\nWHERE NOT EXISTS (\n SELECT true\n FROM `protected_branches`\n WHERE `protected_branches`.id = `protected_branch_merge_access_levels`.`protected_branch_id`\n)\nAND `protected_branch_merge_access_levels`.`protected_branch_id` IS NOT NULL\n")2812 -> 0.0012s2813-- quote_table_name(:deployments)2814 -> 0.0000s2815-- quote_table_name(:projects)2816 -> 0.0000s2817-- quote_column_name(:project_id)2818 -> 0.0000s2819-- execute("DELETE FROM `deployments`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `deployments`.`project_id`\n)\nAND `deployments`.`project_id` IS NOT NULL\n")2820 -> 0.0011s2821-- quote_table_name(:releases)2822 -> 0.0000s2823-- quote_table_name(:projects)2824 -> 0.0000s2825-- quote_column_name(:project_id)2826 -> 0.0000s2827-- execute("DELETE FROM `releases`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `releases`.`project_id`\n)\nAND `releases`.`project_id` IS NOT NULL\n")2828 -> 0.0052s2829-- quote_table_name(:project_group_links)2830 -> 0.0000s2831-- quote_table_name(:projects)2832 -> 0.0000s2833-- quote_column_name(:project_id)2834 -> 0.0000s2835-- execute("DELETE FROM `project_group_links`\nWHERE NOT EXISTS (\n SELECT true\n FROM `projects`\n WHERE `projects`.id = `project_group_links`.`project_id`\n)\nAND `project_group_links`.`project_id` IS NOT NULL\n")2836 -> 0.0015s2837 -> 0.0012s2838 -> 0.0007s2839 -> 0.0012s2840-- foreign_keys(:boards)2841 -> 0.0009s2842-- transaction_open?()2843 -> 0.0000s2844-- foreign_keys(:boards)2845 -> 0.0007s2846-- add_foreign_key(:boards, :projects, {:column=>:project_id, :on_delete=>:cascade})2847 -> 0.0210s2848-- foreign_keys(:lists)2849 -> 0.0010s2850-- transaction_open?()2851 -> 0.0000s2852-- foreign_keys(:lists)2853 -> 0.0007s2854-- add_foreign_key(:lists, :labels, {:column=>:label_id, :on_delete=>:cascade})2855 -> 0.0225s2856-- foreign_keys(:lists)2857 -> 0.0013s2858-- transaction_open?()2859 -> 0.0000s2860-- foreign_keys(:lists)2861 -> 0.0008s2862-- add_foreign_key(:lists, :boards, {:column=>:board_id, :on_delete=>:cascade})2863 -> 0.0234s2864-- foreign_keys(:services)2865 -> 0.0011s2866-- transaction_open?()2867 -> 0.0000s2868-- foreign_keys(:services)2869 -> 0.0008s2870-- add_foreign_key(:services, :projects, {:column=>:project_id, :on_delete=>:cascade})2871 -> 0.0234s2872-- foreign_keys(:forked_project_links)2873 -> 0.0010s2874-- transaction_open?()2875 -> 0.0000s2876-- foreign_keys(:forked_project_links)2877 -> 0.0007s2878-- add_foreign_key(:forked_project_links, :projects, {:column=>:forked_to_project_id, :on_delete=>:cascade})2879 -> 0.0202s2880-- foreign_keys(:merge_requests)2881 -> 0.0011s2882-- transaction_open?()2883 -> 0.0001s2884-- foreign_keys(:merge_requests)2885 -> 0.0008s2886-- add_foreign_key(:merge_requests, :projects, {:column=>:target_project_id, :on_delete=>:cascade})2887 -> 0.0401s2888-- foreign_keys(:labels)2889 -> 0.0013s2890-- transaction_open?()2891 -> 0.0001s2892-- foreign_keys(:labels)2893 -> 0.0008s2894-- add_foreign_key(:labels, :projects, {:column=>:project_id, :on_delete=>:cascade})2895 -> 0.0283s2896-- foreign_keys(:issues)2897 -> 0.0011s2898-- transaction_open?()2899 -> 0.0000s2900-- foreign_keys(:issues)2901 -> 0.0007s2902-- add_foreign_key(:issues, :projects, {:column=>:project_id, :on_delete=>:cascade})2903 -> 0.0423s2904-- foreign_keys(:events)2905 -> 0.0015s2906-- transaction_open?()2907 -> 0.0001s2908-- foreign_keys(:events)2909 -> 0.0008s2910-- add_foreign_key(:events, :projects, {:column=>:project_id, :on_delete=>:cascade})2911 -> 0.0331s2912-- foreign_keys(:milestones)2913 -> 0.0011s2914-- transaction_open?()2915 -> 0.0000s2916-- foreign_keys(:milestones)2917 -> 0.0008s2918-- add_foreign_key(:milestones, :projects, {:column=>:project_id, :on_delete=>:cascade})2919 -> 0.0247s2920-- foreign_keys(:notes)2921 -> 0.0012s2922-- transaction_open?()2923 -> 0.0000s2924-- foreign_keys(:notes)2925 -> 0.0007s2926-- add_foreign_key(:notes, :projects, {:column=>:project_id, :on_delete=>:cascade})2927 -> 0.0368s2928-- foreign_keys(:snippets)2929 -> 0.0012s2930-- transaction_open?()2931 -> 0.0001s2932-- foreign_keys(:snippets)2933 -> 0.0008s2934-- add_foreign_key(:snippets, :projects, {:column=>:project_id, :on_delete=>:cascade})2935 -> 0.0270s2936-- foreign_keys(:web_hooks)2937 -> 0.0011s2938-- transaction_open?()2939 -> 0.0000s2940-- foreign_keys(:web_hooks)2941 -> 0.0006s2942-- add_foreign_key(:web_hooks, :projects, {:column=>:project_id, :on_delete=>:cascade})2943 -> 0.0227s2944-- foreign_keys(:protected_branch_merge_access_levels)2945 -> 0.0010s2946-- transaction_open?()2947 -> 0.0000s2948-- foreign_keys(:protected_branch_merge_access_levels)2949 -> 0.0007s2950-- add_foreign_key(:protected_branch_merge_access_levels, :protected_branches, {:column=>:protected_branch_id, :on_delete=>:cascade})2951 -> 0.0202s2952-- foreign_keys(:protected_branch_push_access_levels)2953 -> 0.0011s2954-- transaction_open?()2955 -> 0.0000s2956-- foreign_keys(:protected_branch_push_access_levels)2957 -> 0.0007s2958-- add_foreign_key(:protected_branch_push_access_levels, :protected_branches, {:column=>:protected_branch_id, :on_delete=>:cascade})2959 -> 0.0213s2960-- foreign_keys(:protected_branches)2961 -> 0.0011s2962-- transaction_open?()2963 -> 0.0000s2964-- foreign_keys(:protected_branches)2965 -> 0.0008s2966-- add_foreign_key(:protected_branches, :projects, {:column=>:project_id, :on_delete=>:cascade})2967 -> 0.0205s2968-- foreign_keys(:protected_tags)2969 -> 0.0011s2970-- transaction_open?()2971 -> 0.0000s2972-- foreign_keys(:protected_tags)2973 -> 0.0007s2974-- add_foreign_key(:protected_tags, :projects, {:column=>:project_id, :on_delete=>:cascade})2975 -> 0.0279s2976-- foreign_keys(:deploy_keys_projects)2977 -> 0.0012s2978-- transaction_open?()2979 -> 0.0001s2980-- foreign_keys(:deploy_keys_projects)2981 -> 0.0011s2982-- add_foreign_key(:deploy_keys_projects, :projects, {:column=>:project_id, :on_delete=>:cascade})2983 -> 0.0207s2984-- foreign_keys(:users_star_projects)2985 -> 0.0011s2986-- transaction_open?()2987 -> 0.0000s2988-- foreign_keys(:users_star_projects)2989 -> 0.0007s2990-- add_foreign_key(:users_star_projects, :projects, {:column=>:project_id, :on_delete=>:cascade})2991 -> 0.0230s2992-- foreign_keys(:releases)2993 -> 0.0013s2994-- transaction_open?()2995 -> 0.0001s2996-- foreign_keys(:releases)2997 -> 0.0008s2998-- add_foreign_key(:releases, :projects, {:column=>:project_id, :on_delete=>:cascade})2999 -> 0.0219s3000-- foreign_keys(:project_group_links)3001 -> 0.0010s3002-- transaction_open?()3003 -> 0.0000s3004-- foreign_keys(:project_group_links)3005 -> 0.0008s3006-- add_foreign_key(:project_group_links, :projects, {:column=>:project_id, :on_delete=>:cascade})3007 -> 0.0226s3008-- foreign_keys(:pages_domains)3009 -> 0.0010s3010-- transaction_open?()3011 -> 0.0000s3012-- foreign_keys(:pages_domains)3013 -> 0.0007s3014-- add_foreign_key(:pages_domains, :projects, {:column=>:project_id, :on_delete=>:cascade})3015 -> 0.0213s3016-- foreign_keys(:todos)3017 -> 0.0011s3018-- transaction_open?()3019 -> 0.0000s3020-- foreign_keys(:todos)3021 -> 0.0008s3022-- add_foreign_key(:todos, :projects, {:column=>:project_id, :on_delete=>:cascade})3023 -> 0.0304s3024-- foreign_keys(:project_import_data)3025 -> 0.0012s3026-- transaction_open?()3027 -> 0.0000s3028-- foreign_keys(:project_import_data)3029 -> 0.0008s3030-- add_foreign_key(:project_import_data, :projects, {:column=>:project_id, :on_delete=>:cascade})3031 -> 0.0196s3032-- foreign_keys(:project_features)3033 -> 0.0010s3034-- transaction_open?()3035 -> 0.0000s3036-- foreign_keys(:project_features)3037 -> 0.0007s3038-- add_foreign_key(:project_features, :projects, {:column=>:project_id, :on_delete=>:cascade})3039 -> 0.0194s3040-- foreign_keys(:ci_builds)3041 -> 0.0009s3042-- transaction_open?()3043 -> 0.0000s3044-- foreign_keys(:ci_builds)3045 -> 0.0007s3046-- add_foreign_key(:ci_builds, :projects, {:column=>:project_id, :on_delete=>:cascade})3047 -> 0.0474s3048-- foreign_keys(:ci_pipelines)3049 -> 0.0012s3050-- transaction_open?()3051 -> 0.0000s3052-- foreign_keys(:ci_pipelines)3053 -> 0.0008s3054-- add_foreign_key(:ci_pipelines, :projects, {:column=>:project_id, :on_delete=>:cascade})3055 -> 0.0339s3056-- foreign_keys(:ci_runner_projects)3057 -> 0.0012s3058-- transaction_open?()3059 -> 0.0000s3060-- foreign_keys(:ci_runner_projects)3061 -> 0.0008s3062-- add_foreign_key(:ci_runner_projects, :projects, {:column=>:project_id, :on_delete=>:cascade})3063 -> 0.0225s3064-- foreign_keys(:ci_triggers)3065 -> 0.0010s3066-- transaction_open?()3067 -> 0.0001s3068-- foreign_keys(:ci_triggers)3069 -> 0.0008s3070-- add_foreign_key(:ci_triggers, :projects, {:column=>:project_id, :on_delete=>:cascade})3071 -> 0.0240s3072-- foreign_keys(:environments)3073 -> 0.0009s3074-- transaction_open?()3075 -> 0.0000s3076-- foreign_keys(:environments)3077 -> 0.0007s3078-- add_foreign_key(:environments, :projects, {:column=>:project_id, :on_delete=>:cascade})3079 -> 0.0220s3080-- foreign_keys(:deployments)3081 -> 0.0010s3082-- transaction_open?()3083 -> 0.0000s3084-- foreign_keys(:deployments)3085 -> 0.0006s3086-- add_foreign_key(:deployments, :projects, {:column=>:project_id, :on_delete=>:cascade})3087 -> 0.0274s3088-- index_name(:project_group_links, {:column=>["project_id"]})3089 -> 0.0001s3090-- index_exists?(:project_group_links, :project_id, {:name=>"index_project_group_links_on_project_id"})3091 -> 0.0009s3092-- transaction_open?()3093 -> 0.0000s3094-- index_name(:project_group_links, {:column=>["project_id"]})3095 -> 0.0000s3096-- index_exists?(:project_group_links, :project_id, {:name=>"index_project_group_links_on_project_id"})3097 -> 0.0005s3098-- add_index(:project_group_links, :project_id, {:name=>"index_project_group_links_on_project_id"})3099 -> 0.0103s3100-- index_name(:pages_domains, {:column=>["project_id"]})3101 -> 0.0000s3102-- index_exists?(:pages_domains, :project_id, {:name=>"index_pages_domains_on_project_id"})3103 -> 0.0007s3104-- transaction_open?()3105 -> 0.0000s3106-- index_name(:pages_domains, {:column=>["project_id"]})3107 -> 0.0000s3108-- index_exists?(:pages_domains, :project_id, {:name=>"index_pages_domains_on_project_id"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3109If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3110You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3111If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3112DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)3113Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3114If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3115You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3116If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3117DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)3118 -> 0.0006s3119-- add_index(:pages_domains, :project_id, {:name=>"index_pages_domains_on_project_id"})3120 -> 0.0102s3121== 20170530130129 ProjectForeignKeysWithCascadingDeletes: migrated (0.9430s) ==3122== 20170531180233 AddAuthorizedKeysEnabledToApplicationSettings: migrating ====3123-- transaction_open?()3124 -> 0.0000s3125-- transaction()3126-- add_column(:application_settings, :authorized_keys_enabled, :boolean, {:default=>nil})3127 -> 0.0429s3128-- change_column_default(:application_settings, :authorized_keys_enabled, true)3129 -> 0.0107s3130 -> 0.0545s3131-- transaction_open?()3132 -> 0.0000s3133-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")3134 -> 0.0004s3135-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")3136 -> 0.0004s3137-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")3138 -> 0.0005s3139-- execute("UPDATE `application_settings` SET `authorized_keys_enabled` = 1 WHERE `application_settings`.`id` >= 1")3140 -> 0.0013s3141-- change_column_null(:application_settings, :authorized_keys_enabled, false)3142 -> 0.0490s3143== 20170531180233 AddAuthorizedKeysEnabledToApplicationSettings: migrated (0.1076s) 3144== 20170531202042 RenameUsersLdapEmailToExternalEmail: migrating ==============3145-- transaction_open?()3146 -> 0.0000s3147-- columns(:users)3148 -> 0.0023s3149-- add_column(:users, :external_email, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})3150 -> 0.0414s3151-- quote_table_name(:users)3152 -> 0.0000s3153-- quote_column_name(:ldap_email)3154 -> 0.0000s3155-- quote_column_name(:external_email)3156 -> 0.0000s3157-- execute("CREATE TRIGGER trigger_f07461f2dbe8_insert\nBEFORE INSERT\nON `users`\nFOR EACH ROW\nSET NEW.`external_email` = NEW.`ldap_email`\n")3158 -> 0.0046s3159-- execute("CREATE TRIGGER trigger_f07461f2dbe8_update\nBEFORE UPDATE\nON `users`\nFOR EACH ROW\nSET NEW.`external_email` = NEW.`ldap_email`\n")3160 -> 0.0047s3161-- transaction_open?()3162 -> 0.0000s3163-- exec_query("SELECT COUNT(*) AS count FROM `users`")3164 -> 0.0009s3165-- indexes(:users)3166 -> 0.0005s3167-- foreign_keys(:users)3168 -> 0.0008s3169== 20170531202042 RenameUsersLdapEmailToExternalEmail: migrated (0.0612s) =====3170== 20170531203055 CleanupUsersLdapEmailRename: migrating ======================3171-- execute("DROP TRIGGER IF EXISTS trigger_f07461f2dbe8_insert")3172 -> 0.0025s3173-- execute("DROP TRIGGER IF EXISTS trigger_f07461f2dbe8_update")3174 -> 0.0008s3175-- remove_column(:users, :ldap_email)3176 -> 0.0423s3177== 20170531203055 CleanupUsersLdapEmailRename: migrated (0.0473s) =============3178== 20170601163708 AddArtifactsStoreToCiBuild: migrating =======================3179-- add_column(:ci_builds, :artifacts_file_store, :integer)3180 -> 0.0470s3181-- add_column(:ci_builds, :artifacts_metadata_store, :integer)3182 -> 0.0446s3183== 20170601163708 AddArtifactsStoreToCiBuild: migrated (0.0918s) ==============3184== 20170602154736 AddHelpPageHideCommercialContentToApplicationSettings: migrating 3185-- add_column(:application_settings, :help_page_hide_commercial_content, :boolean, {:default=>false})3186 -> 0.0454s3187== 20170602154736 AddHelpPageHideCommercialContentToApplicationSettings: migrated (0.0455s) 3188== 20170602154813 AddHelpPageSupportUrlToApplicationSettings: migrating =======3189-- add_column(:application_settings, :help_page_support_url, :string)3190 -> 0.0448s3191== 20170602154813 AddHelpPageSupportUrlToApplicationSettings: migrated (0.0449s) 3192== 20170603200744 AddEmailProviderToUsers: migrating ==========================3193-- add_column(:users, :email_provider, :string)3194 -> 0.0417s3195== 20170603200744 AddEmailProviderToUsers: migrated (0.0417s) =================3196== 20170606154216 AddNotificationSettingColumns: migrating ====================3197-- add_column(:notification_settings, :new_note, :boolean)3198 -> 0.0226s3199-- add_column(:notification_settings, :new_issue, :boolean)3200 -> 0.0206s3201-- add_column(:notification_settings, :reopen_issue, :boolean)3202 -> 0.0207s3203-- add_column(:notification_settings, :close_issue, :boolean)3204 -> 0.0206s3205-- add_column(:notification_settings, :reassign_issue, :boolean)3206 -> 0.0246s3207-- add_column(:notification_settings, :new_merge_request, :boolean)3208 -> 0.0205s3209-- add_column(:notification_settings, :reopen_merge_request, :boolean)3210 -> 0.0204s3211-- add_column(:notification_settings, :close_merge_request, :boolean)3212 -> 0.0211s3213-- add_column(:notification_settings, :reassign_merge_request, :boolean)3214 -> 0.0213s3215-- add_column(:notification_settings, :merge_merge_request, :boolean)3216 -> 0.0218s3217-- add_column(:notification_settings, :failed_pipeline, :boolean)3218 -> 0.0206s3219-- add_column(:notification_settings, :success_pipeline, :boolean)3220 -> 0.0201s3221== 20170606154216 AddNotificationSettingColumns: migrated (0.2558s) ===========3222== 20170606202615 MoveAppearanceToSystemDir: migrating ========================3223-- /builds/gitlab-org/gitlab-ce/public/uploads/appearance did not exist, skipping3224== 20170606202615 MoveAppearanceToSystemDir: migrated (0.0001s) ===============3225== 20170607121233 ConvertCustomNotificationSettingsToColumns: migrating =======3226== 20170607121233 ConvertCustomNotificationSettingsToColumns: migrated (0.0037s) 3227== 20170608152747 PrepareEventsTableForPushEventsMigration: migrating =========3228-- create_table(:events_for_migration, {})3229 -> 0.0218s3230-- transaction_open?()3231 -> 0.0000s3232-- foreign_keys(:events_for_migration)3233 -> 0.0012s3234-- add_foreign_key(:events_for_migration, :users, {:column=>:author_id, :on_delete=>:cascade})3235 -> 0.0268s3236== 20170608152747 PrepareEventsTableForPushEventsMigration: migrated (0.0500s) 3237== 20170608152748 CreatePushEventPayloadsTables: migrating ====================3238-- create_table(:push_event_payloads, {:id=>false})3239 -> 0.0112s3240-- transaction_open?()3241 -> 0.0000s3242-- foreign_keys(:push_event_payloads)3243 -> 0.0010s3244-- add_foreign_key(:push_event_payloads, :events_for_migration, {:column=>:event_id, :on_delete=>:cascade})3245 -> 0.0173s3246== 20170608152748 CreatePushEventPayloadsTables: migrated (0.0298s) ===========3247== 20170608171156 CreateMergeRequestDiffFiles: migrating ======================3248-- create_table(:merge_request_diff_files, {:id=>false})3249 -> 0.0120s3250== 20170608171156 CreateMergeRequestDiffFiles: migrated (0.0120s) =============3251== 20170609183112 RemovePositionFromIssuables: migrating ======================3252-- remove_column(:issues, :position, :integer)3253 -> 0.0364s3254-- remove_column(:merge_requests, :position, :integer)3255 -> 0.0348s3256== 20170609183112 RemovePositionFromIssuables: migrated (0.0714s) =============3257== 20170612071012 MovePersonalSnippetsFiles: migrating ========================3258-- select_all("SELECT uploads.path, uploads.model_id, snippets.description FROM uploads INNER JOIN snippets ON snippets.id = uploads.model_id WHERE uploader = 'PersonalFileUploader'")3259 -> 0.0008s3260== 20170612071012 MovePersonalSnippetsFiles: migrated (0.0009s) ===============3261== 20170613111224 CleanAppearanceSymlinks: migrating ==========================3262== 20170613111224 CleanAppearanceSymlinks: migrated (0.0000s) =================3263== 20170613154149 CreateGpgSignatures: migrating ==============================3264-- create_table(:gpg_signatures, {})3265 -> 0.0204s3266== 20170613154149 CreateGpgSignatures: migrated (0.0204s) =====================3267== 20170614115405 MergeRequestDiffFileLimitsToMysql: migrating ================3268-- change_column(:merge_request_diff_files, :diff, :text, {:limit=>2147483647, :default=>nil})3269 -> 0.0190s3270== 20170614115405 MergeRequestDiffFileLimitsToMysql: migrated (0.0191s) =======3271== 20170616133147 CreateMergeRequestDiffCommits: migrating ====================3272-- create_table(:merge_request_diff_commits, {:id=>false})3273 -> 0.0118s3274== 20170616133147 CreateMergeRequestDiffCommits: migrated (0.0119s) ===========3275== 20170619144837 AddIndexForHeadPipelineMergeRequest: migrating ==============3276-- transaction_open?()3277 -> 0.0000s3278-- index_name(:merge_requests, {:column=>["head_pipeline_id"]})3279 -> 0.0000s3280-- index_exists?(:merge_requests, :head_pipeline_id, {:name=>"index_merge_requests_on_head_pipeline_id"})3281 -> 0.0008s3282-- add_index(:merge_requests, :head_pipeline_id, {:name=>"index_merge_requests_on_head_pipeline_id"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3283If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3284You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3285If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3286DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)3287Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3288If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3289You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3290If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3291DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)3292 -> 0.0090s3293== 20170619144837 AddIndexForHeadPipelineMergeRequest: migrated (0.0100s) =====3294== 20170620064728 CreateCiPipelineScheduleVariables: migrating ================3295-- create_table(:ci_pipeline_schedule_variables, {})3296 -> 0.0106s3297-- add_index(:ci_pipeline_schedule_variables, [:pipeline_schedule_id, :key], {:name=>"index_ci_pipeline_schedule_variables_on_schedule_id_and_key", :unique=>true})3298 -> 0.0081s3299== 20170620064728 CreateCiPipelineScheduleVariables: migrated (0.0188s) =======3300== 20170620065449 AddForeignKeyToCiPipelineScheduleVariables: migrating =======3301-- transaction_open?()3302 -> 0.0000s3303-- foreign_keys(:ci_pipeline_schedule_variables)3304 -> 0.0007s3305-- add_foreign_key(:ci_pipeline_schedule_variables, :ci_pipeline_schedules, {:column=>:pipeline_schedule_id, :on_delete=>:cascade})3306 -> 0.0197s3307== 20170620065449 AddForeignKeyToCiPipelineScheduleVariables: migrated (0.0206s) 3308== 20170621102400 AddStageIdIndexToBuilds: migrating ==========================3309== 20170621102400 AddStageIdIndexToBuilds: migrated (0.0000s) =================3310== 20170622130029 CorrectProtectedBranchesForeignKeys: migrating ==============3311-- remove_foreign_key(:protected_branch_push_access_levels, {:column=>:protected_branch_id})3312 -> 0.0046s3313-- execute(" DELETE FROM protected_branch_push_access_levels\n WHERE NOT EXISTS (\n SELECT true\n FROM protected_branches\n WHERE protected_branch_push_access_levels.protected_branch_id = protected_branches.id\n )\n AND protected_branch_id IS NOT NULL\n")3314 -> 0.0006s3315-- transaction_open?()3316 -> 0.0000s3317-- foreign_keys(:protected_branch_push_access_levels)3318 -> 0.0006s3319-- add_foreign_key(:protected_branch_push_access_levels, :protected_branches, {:column=>:protected_branch_id, :on_delete=>:cascade})3320 -> 0.0190s3321== 20170622130029 CorrectProtectedBranchesForeignKeys: migrated (0.0251s) =====3322== 20170622132212 AddForeignKeyForMergeRequestDiffs: migrating ================3323-- execute(" DELETE FROM merge_request_diffs\n WHERE NOT EXISTS (\n SELECT true\n FROM merge_requests\n WHERE merge_requests.id = merge_request_diffs.merge_request_id\n )\n")3324 -> 0.0004s3325-- transaction_open?()3326 -> 0.0000s3327-- foreign_keys(:merge_request_diffs)3328 -> 0.0007s3329-- add_foreign_key(:merge_request_diffs, :merge_requests, {:column=>:merge_request_id, :on_delete=>:cascade})3330 -> 0.0199s3331== 20170622132212 AddForeignKeyForMergeRequestDiffs: migrated (0.0212s) =======3332== 20170622135451 RenameDuplicatedVariableKey: migrating ======================3333-- quote_column_name("key")3334 -> 0.0000s3335-- quote_column_name("key")3336 -> 0.0000s3337-- quote("_")3338 -> 0.0000s3339-- quote_column_name("key")3340 -> 0.0000s3341-- quote_column_name("key")3342 -> 0.0000s3343-- quote_column_name("key")3344 -> 0.0000s3345-- execute("UPDATE ci_variables\nSET `key` = CONCAT(`key`, '_', id)\nWHERE id IN (\n SELECT *\n FROM ( -- MySQL requires an extra layer\n SELECT dup.id\n FROM ci_variables dup\n INNER JOIN (SELECT max(id) AS id, `key`, project_id\n FROM ci_variables tmp\n GROUP BY `key`, project_id) var\n USING (`key`, project_id) where dup.id <> var.id\n ) dummy\n)\n")3346 -> 0.0006s3347== 20170622135451 RenameDuplicatedVariableKey: migrated (0.0008s) =============3348== 20170622135628 AddEnvironmentScopeToCiVariables: migrating =================3349-- transaction_open?()3350 -> 0.0000s3351-- transaction()3352-- add_column(:ci_variables, :environment_scope, :string, {:default=>nil})3353 -> 0.0162s3354-- change_column_default(:ci_variables, :environment_scope, "*")3355 -> 0.0047s3356 -> 0.0216s3357-- transaction_open?()3358 -> 0.0000s3359-- exec_query("SELECT COUNT(*) AS count FROM `ci_variables`")3360 -> 0.0004s3361-- change_column_null(:ci_variables, :environment_scope, false)3362 -> 0.0175s3363== 20170622135628 AddEnvironmentScopeToCiVariables: migrated (0.0398s) ========3364== 20170622135728 AddUniqueConstraintToCiVariables: migrating =================3365-- index_exists?(:ci_variables, [:project_id, :key, :environment_scope], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope"})3366 -> 0.0005s3367-- transaction_open?()3368 -> 0.0000s3369-- index_exists?(:ci_variables, [:project_id, :key, :environment_scope], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope", :unique=>true})3370 -> 0.0004s3371-- add_index(:ci_variables, [:project_id, :key, :environment_scope], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope", :unique=>true})3372 -> 0.0086s3373== 20170622135728 AddUniqueConstraintToCiVariables: migrated (0.0097s) ========3374== 20170622162730 AddRefFetchedToMergeRequest: migrating ======================3375-- add_column(:merge_requests, :ref_fetched, :boolean)3376 -> 0.0378s3377== 20170622162730 AddRefFetchedToMergeRequest: migrated (0.0379s) =============3378== 20170623080805 RemoveCiVariablesProjectIdIndex: migrating ==================3379-- index_name(:ci_variables, {:column=>["project_id"]})3380 -> 0.0001s3381-- index_exists?(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})3382 -> 0.0006s3383-- transaction_open?()3384 -> 0.0000s3385-- index_name(:ci_variables, {:column=>["project_id"]})3386 -> 0.0000s3387-- index_exists?(:ci_variables, :project_id, {:name=>"index_ci_variables_on_project_id"})3388 -> 0.0005s3389-- index_name(:ci_variables, {:name=>"index_ci_variables_on_project_id", :column=>:project_id})3390 -> 0.0000s3391-- index_name_exists?(:ci_variables, "index_ci_variables_on_project_id", true)3392 -> 0.0005s3393-- remove_index(:ci_variables, {:name=>"index_ci_variables_on_project_id", :column=>:project_id})3394 -> 0.0053s3395== 20170623080805 RemoveCiVariablesProjectIdIndex: migrated (0.0074s) =========3396== 20170627101016 ScheduleEventMigrations: migrating ==========================3397== 20170627101016 ScheduleEventMigrations: migrated (0.0031s) =================3398== 20170628080858 MigrateStageIdReferenceInBackground: migrating ==============3399== 20170628080858 MigrateStageIdReferenceInBackground: migrated (0.0046s) =====3400== 20170629171610 RenameApplicationSettingsSigninEnabledToPasswordAuthenticationEnabled: migrating 3401-- transaction_open?()3402 -> 0.0000s3403-- columns(:application_settings)3404 -> 0.0033s3405-- add_column(:application_settings, :password_authentication_enabled, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})3406 -> 0.0403s3407-- quote_table_name(:application_settings)3408 -> 0.0000s3409-- quote_column_name(:signin_enabled)3410 -> 0.0000s3411-- quote_column_name(:password_authentication_enabled)3412 -> 0.0000s3413-- execute("CREATE TRIGGER trigger_0b1f9aeacd95_insert\nBEFORE INSERT\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled` = NEW.`signin_enabled`\n")3414 -> 0.0043s3415-- execute("CREATE TRIGGER trigger_0b1f9aeacd95_update\nBEFORE UPDATE\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled` = NEW.`signin_enabled`\n")3416 -> 0.0044s3417-- transaction_open?()3418 -> 0.0000s3419-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")3420 -> 0.0009s3421-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")3422 -> 0.0005s3423-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")3424 -> 0.0005s3425-- execute("UPDATE `application_settings` SET `password_authentication_enabled` = `application_settings`.`signin_enabled` WHERE `application_settings`.`id` >= 1")3426 -> 0.0011s3427-- indexes(:application_settings)3428 -> 0.0005s3429-- foreign_keys(:application_settings)3430 -> 0.0008s3431== 20170629171610 RenameApplicationSettingsSigninEnabledToPasswordAuthenticationEnabled: migrated (0.0595s) 3432== 20170629180131 CleanupApplicationSettingsSigninEnabledRename: migrating ====3433-- execute("DROP TRIGGER IF EXISTS trigger_0b1f9aeacd95_insert")3434 -> 0.0026s3435-- execute("DROP TRIGGER IF EXISTS trigger_0b1f9aeacd95_update")3436 -> 0.0009s3437-- remove_column(:application_settings, :signin_enabled)3438 -> 0.0418s3439== 20170629180131 CleanupApplicationSettingsSigninEnabledRename: migrated (0.0469s) 3440== 20170703102400 AddStageIdForeignKeyToBuilds: migrating =====================3441-- index_name(:ci_builds, {:column=>["stage_id"]})3442 -> 0.0000s3443-- index_exists?(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})3444 -> 0.0008s3445-- transaction_open?()3446 -> 0.0000s3447-- index_name(:ci_builds, {:column=>["stage_id"]})3448 -> 0.0000s3449-- index_exists?(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})3450 -> 0.0007s3451-- add_index(:ci_builds, :stage_id, {:name=>"index_ci_builds_on_stage_id"})3452 -> 0.0096s3453-- foreign_keys(:ci_builds)3454 -> 0.0009s3455-- transaction_open?()3456 -> 0.0000s3457-- foreign_keys(:ci_builds)3458 -> 0.0008s3459-- add_foreign_key(:ci_builds, :ci_stages, {:column=>:stage_id, :on_delete=>:cascade})3460 -> 0.0500s3461== 20170703102400 AddStageIdForeignKeyToBuilds: migrated (0.0633s) ============3462== 20170703130158 ScheduleMergeRequestDiffMigrations: migrating ===============3463== 20170703130158 ScheduleMergeRequestDiffMigrations: migrated (0.0037s) ======3464== 20170706151212 AddPerformanceBarAllowedGroupIdToApplicationSettings: migrating 3465-- add_column(:application_settings, :performance_bar_allowed_group_id, :integer)3466 -> 0.0434s3467== 20170706151212 AddPerformanceBarAllowedGroupIdToApplicationSettings: migrated (0.0434s) 3468== 20170707183807 AddGroupIdToMilestones: migrating ===========================3469-- column_exists?(:milestones, :group_id)3470 -> 0.0015s3471-- change_column_null(:milestones, :project_id, true)3472 -> 0.0233s3473-- add_column(:milestones, :group_id, :integer)3474 -> 0.0205s3475== 20170707183807 AddGroupIdToMilestones: migrated (0.0455s) ==================3476== 20170707184243 AddGroupMilestoneIdIndexes: migrating =======================3477-- index_name(:milestones, {:column=>["group_id"]})3478 -> 0.0000s3479-- index_exists?(:milestones, :group_id, {:name=>"index_milestones_on_group_id"})3480 -> 0.0005s3481-- transaction_open?()3482 -> 0.0000s3483-- foreign_keys(:milestones)3484 -> 0.0008s3485-- add_foreign_key(:milestones, :namespaces, {:column=>:group_id, :on_delete=>:cascade})3486 -> 0.0271s3487-- transaction_open?()3488 -> 0.0000s3489-- index_name(:milestones, {:column=>["group_id"]})3490 -> 0.0000s3491-- index_exists?(:milestones, :group_id, {:name=>"index_milestones_on_group_id"})3492 -> 0.0008s3493-- add_index(:milestones, :group_id, {:name=>"index_milestones_on_group_id"})3494 -> 0.0103s3495== 20170707184243 AddGroupMilestoneIdIndexes: migrated (0.0401s) ==============3496== 20170707184244 RemoveWrongVersionsFromSchemaVersions: migrating ============3497-- execute("DELETE FROM schema_migrations WHERE version IN ('20170723183807', '20170724184243')")3498 -> 0.0005s3499== 20170707184244 RemoveWrongVersionsFromSchemaVersions: migrated (0.0005s) ===3500== 20170710083355 CleanStageIdReferenceMigration: migrating ===================3501== 20170710083355 CleanStageIdReferenceMigration: migrated (0.0060s) ==========3502== 20170711145320 AddStatusToCiStages: migrating ==============================3503-- add_column(:ci_stages, :status, :integer)3504 -> 0.0253s3505== 20170711145320 AddStatusToCiStages: migrated (0.0254s) =====================3506== 20170711145558 MigrateStagesStatuses: migrating ============================3507== 20170711145558 MigrateStagesStatuses: migrated (0.0024s) ===================3508== 20170713104829 AddForeignKeyToMergeRequests: migrating =====================3509-- foreign_keys(:merge_requests)3510 -> 0.0008s3511-- transaction_open?()3512 -> 0.0000s3513-- foreign_keys(:merge_requests)3514 -> 0.0008s3515-- add_foreign_key(:merge_requests, :ci_pipelines, {:column=>:head_pipeline_id, :on_delete=>:nullify})3516 -> 0.0423s3517== 20170713104829 AddForeignKeyToMergeRequests: migrated (0.0473s) ============3518== 20170717074009 MoveSystemUploadFolder: migrating ===========================3519-- /builds/gitlab-org/gitlab-ce/public/uploads/system doesn't exist, no need to move it.3520== 20170717074009 MoveSystemUploadFolder: migrated (0.0001s) ==================3521== 20170717111152 CleanupMoveSystemUploadFolderSymlink: migrating =============3522-- Symlink /builds/gitlab-org/gitlab-ce/public/uploads/system non existent, nothing to do.3523== 20170717111152 CleanupMoveSystemUploadFolderSymlink: migrated (0.0000s) ====3524== 20170717150329 EnqueueMigrateSystemUploadsToNewFolder: migrating ===========3525== 20170717150329 EnqueueMigrateSystemUploadsToNewFolder: migrated (0.0026s) ==3526== 20170717200542 AddTrustedColumnToOauthApplications: migrating ==============3527-- transaction_open?()3528 -> 0.0000s3529-- transaction()3530-- add_column(:oauth_applications, :trusted, :boolean, {:default=>nil})3531 -> 0.0196s3532-- change_column_default(:oauth_applications, :trusted, false)3533 -> 0.0050s3534 -> 0.0255s3535-- transaction_open?()3536 -> 0.0000s3537-- exec_query("SELECT COUNT(*) AS count FROM `oauth_applications`")3538 -> 0.0004s3539-- change_column_null(:oauth_applications, :trusted, false)3540 -> 0.0207s3541== 20170717200542 AddTrustedColumnToOauthApplications: migrated (0.0470s) =====3542== 20170719150301 MergeIssuableReopenedIntoOpenedState: migrating =============3543-- Changing issues.state from 'reopened' to 'opened'3544-- Changing merge_requests.state from 'reopened' to 'opened'3545== 20170719150301 MergeIssuableReopenedIntoOpenedState: migrated (0.0052s) ====3546== 20170720111708 AddLockVersionToCiStages: migrating =========================3547-- add_column(:ci_stages, :lock_version, :integer)3548 -> 0.0204s3549== 20170720111708 AddLockVersionToCiStages: migrated (0.0205s) ================3550== 20170720122741 CreateUserCustomAttributes: migrating =======================3551-- create_table(:user_custom_attributes, {})3552 -> 0.0172s3553== 20170720122741 CreateUserCustomAttributes: migrated (0.0173s) ==============3554== 20170720130522 CreateCiPipelineVariables: migrating ========================3555-- create_table(:ci_pipeline_variables, {})3556 -> 0.0103s3557-- add_index(:ci_pipeline_variables, [:pipeline_id, :key], {:unique=>true})3558 -> 0.0088s3559== 20170720130522 CreateCiPipelineVariables: migrated (0.0193s) ===============3560== 20170720130749 AddForeignKeyToCiPipelineVariables: migrating ===============3561-- transaction_open?()3562 -> 0.0000s3563-- foreign_keys(:ci_pipeline_variables)3564 -> 0.0008s3565-- add_foreign_key(:ci_pipeline_variables, :ci_pipelines, {:column=>:pipeline_id, :on_delete=>:cascade})3566 -> 0.0205s3567== 20170720130749 AddForeignKeyToCiPipelineVariables: migrated (0.0216s) ======3568== 20170724214302 AddLowerPathIndexToRedirectRoutes: migrating ================3569== 20170724214302 AddLowerPathIndexToRedirectRoutes: migrated (0.0000s) =======3570== 20170725145659 AddBinaryToMergeRequestDiffFiles: migrating =================3571-- add_column(:merge_request_diff_files, :binary, :boolean)3572 -> 0.0162s3573== 20170725145659 AddBinaryToMergeRequestDiffFiles: migrated (0.0162s) ========3574== 20170727123534 AddIndexOnEventsProjectIdId: migrating ======================3575-- index_name(:events, {:column=>["project_id", "id"]})3576 -> 0.0000s3577-- index_exists?(:events, [:project_id, :id], {:name=>"index_events_on_project_id_and_id"})3578 -> 0.0007s3579-- index_name(:events, {:column=>["project_id"]})3580 -> 0.0000s3581-- index_exists?(:events, :project_id, {:name=>"index_events_on_project_id"})3582 -> 0.0005s3583-- transaction_open?()3584 -> 0.0000s3585-- index_name(:events, {:column=>["project_id"]})3586 -> 0.0000s3587-- index_exists?(:events, :project_id, {:name=>"index_events_on_project_id"})3588 -> 0.0005s3589-- index_name(:events, {:name=>"index_events_on_project_id", :column=>:project_id})3590 -> 0.0000s3591-- index_name_exists?(:events, "index_events_on_project_id", true)3592 -> 0.0005s3593-- remove_index(:events, {:name=>"index_events_on_project_id", :column=>:project_id})3594 -> 0.0058s3595-- index_name(:events_for_migration, {:column=>["project_id", "id"]})3596 -> 0.0000s3597-- index_exists?(:events_for_migration, [:project_id, :id], {:name=>"index_events_for_migration_on_project_id_and_id"})3598 -> 0.0008s3599-- transaction_open?()3600 -> 0.0000s3601-- index_name(:events_for_migration, {:column=>["project_id", "id"]})3602 -> 0.0001s3603-- index_exists?(:events_for_migration, [:project_id, :id], {:name=>"index_events_for_migration_on_project_id_and_id"})3604 -> 0.0005s3605-- add_index(:events_for_migration, [:project_id, :id], {:name=>"index_events_for_migration_on_project_id_and_id"})3606 -> 0.0084s3607-- index_name(:events_for_migration, {:column=>["project_id"]})3608 -> 0.0000s3609-- index_exists?(:events_for_migration, :project_id, {:name=>"index_events_for_migration_on_project_id"})3610 -> 0.0007s3611-- transaction_open?()3612 -> 0.0000s3613-- index_name(:events_for_migration, {:column=>["project_id"]})3614 -> 0.0000s3615-- index_exists?(:events_for_migration, :project_id, {:name=>"index_events_for_migration_on_project_id"})3616 -> 0.0005s3617-- index_name(:events_for_migration, {:name=>"index_events_for_migration_on_project_id", :column=>:project_id})3618 -> 0.0000s3619-- index_name_exists?(:events_for_migration, "index_events_for_migration_on_project_id", true)3620 -> 0.0006s3621-- remove_index(:events_for_migration, {:name=>"index_events_for_migration_on_project_id", :column=>:project_id})3622 -> 0.0057s3623== 20170727123534 AddIndexOnEventsProjectIdId: migrated (0.0263s) =============3624== 20170728101014 RemoveEventsFromNotificationSettings: migrating =============3625-- remove_column(:notification_settings, :events, :text)3626 -> 0.0222s3627== 20170728101014 RemoveEventsFromNotificationSettings: migrated (0.0222s) ====3628== 20170731175128 AddPercentagesToConvDev: migrating ==========================3629-- transaction_open?()3630 -> 0.0000s3631-- transaction()3632-- add_column(:conversational_development_index_metrics, :percentage_boards, :float, {:default=>nil})3633 -> 0.0161s3634-- change_column_default(:conversational_development_index_metrics, :percentage_boards, 0)3635 -> 0.0061s3636 -> 0.0231s3637-- transaction_open?()3638 -> 0.0000s3639-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3640 -> 0.0005s3641-- change_column_null(:conversational_development_index_metrics, :percentage_boards, false)3642 -> 0.0172s3643-- transaction_open?()3644 -> 0.0000s3645-- transaction()3646-- add_column(:conversational_development_index_metrics, :percentage_ci_pipelines, :float, {:default=>nil})3647 -> 0.0151s3648-- change_column_default(:conversational_development_index_metrics, :percentage_ci_pipelines, 0)3649 -> 0.0056s3650 -> 0.0214s3651-- transaction_open?()3652 -> 0.0000s3653-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3654 -> 0.0004s3655-- change_column_null(:conversational_development_index_metrics, :percentage_ci_pipelines, false)3656 -> 0.0174s3657-- transaction_open?()3658 -> 0.0000s3659-- transaction()3660-- add_column(:conversational_development_index_metrics, :percentage_deployments, :float, {:default=>nil})3661 -> 0.0152s3662-- change_column_default(:conversational_development_index_metrics, :percentage_deployments, 0)3663 -> 0.0058s3664 -> 0.0219s3665-- transaction_open?()3666 -> 0.0000s3667-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3668 -> 0.0004s3669-- change_column_null(:conversational_development_index_metrics, :percentage_deployments, false)3670 -> 0.0178s3671-- transaction_open?()3672 -> 0.0000s3673-- transaction()3674-- add_column(:conversational_development_index_metrics, :percentage_environments, :float, {:default=>nil})3675 -> 0.0153s3676-- change_column_default(:conversational_development_index_metrics, :percentage_environments, 0)3677 -> 0.0058s3678 -> 0.0219s3679-- transaction_open?()3680 -> 0.0000s3681-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3682 -> 0.0004s3683-- change_column_null(:conversational_development_index_metrics, :percentage_environments, false)3684 -> 0.0179s3685-- transaction_open?()3686 -> 0.0000s3687-- transaction()3688-- add_column(:conversational_development_index_metrics, :percentage_issues, :float, {:default=>nil})3689 -> 0.0150s3690-- change_column_default(:conversational_development_index_metrics, :percentage_issues, 0)3691 -> 0.0059s3692 -> 0.0218s3693-- transaction_open?()3694 -> 0.0000s3695-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3696 -> 0.0004s3697-- change_column_null(:conversational_development_index_metrics, :percentage_issues, false)3698 -> 0.0174s3699-- transaction_open?()3700 -> 0.0000s3701-- transaction()3702-- add_column(:conversational_development_index_metrics, :percentage_merge_requests, :float, {:default=>nil})3703 -> 0.0150s3704-- change_column_default(:conversational_development_index_metrics, :percentage_merge_requests, 0)3705 -> 0.0059s3706 -> 0.0218s3707-- transaction_open?()3708 -> 0.0000s3709-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3710 -> 0.0005s3711-- change_column_null(:conversational_development_index_metrics, :percentage_merge_requests, false)3712 -> 0.0176s3713-- transaction_open?()3714 -> 0.0000s3715-- transaction()3716-- add_column(:conversational_development_index_metrics, :percentage_milestones, :float, {:default=>nil})3717 -> 0.0156s3718-- change_column_default(:conversational_development_index_metrics, :percentage_milestones, 0)3719 -> 0.0061s3720 -> 0.0226s3721-- transaction_open?()3722 -> 0.0000s3723-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3724 -> 0.0004s3725-- change_column_null(:conversational_development_index_metrics, :percentage_milestones, false)3726 -> 0.0176s3727-- transaction_open?()3728 -> 0.0000s3729-- transaction()3730-- add_column(:conversational_development_index_metrics, :percentage_notes, :float, {:default=>nil})3731 -> 0.0165s3732-- change_column_default(:conversational_development_index_metrics, :percentage_notes, 0)3733 -> 0.0068s3734 -> 0.0243s3735-- transaction_open?()3736 -> 0.0000s3737-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3738 -> 0.0004s3739-- change_column_null(:conversational_development_index_metrics, :percentage_notes, false)3740 -> 0.0191s3741-- transaction_open?()3742 -> 0.0000s3743-- transaction()3744-- add_column(:conversational_development_index_metrics, :percentage_projects_prometheus_active, :float, {:default=>nil})3745 -> 0.0179s3746-- change_column_default(:conversational_development_index_metrics, :percentage_projects_prometheus_active, 0)3747 -> 0.0081s3748 -> 0.0271s3749-- transaction_open?()3750 -> 0.0000s3751-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3752 -> 0.0006s3753-- change_column_null(:conversational_development_index_metrics, :percentage_projects_prometheus_active, false)3754 -> 0.0201s3755-- transaction_open?()3756 -> 0.0000s3757-- transaction()3758-- add_column(:conversational_development_index_metrics, :percentage_service_desk_issues, :float, {:default=>nil})3759 -> 0.0163s3760-- change_column_default(:conversational_development_index_metrics, :percentage_service_desk_issues, 0)3761 -> 0.0102s3762 -> 0.0275s3763-- transaction_open?()3764 -> 0.0000s3765-- exec_query("SELECT COUNT(*) AS count FROM `conversational_development_index_metrics`")3766 -> 0.0004s3767-- change_column_null(:conversational_development_index_metrics, :percentage_service_desk_issues, false)3768 -> 0.0442s3769== 20170731175128 AddPercentagesToConvDev: migrated (0.4481s) =================3770== 20170731183033 AddMergeJidToMergeRequests: migrating =======================3771-- add_column(:merge_requests, :merge_jid, :string)3772 -> 0.0377s3773== 20170731183033 AddMergeJidToMergeRequests: migrated (0.0377s) ==============3774== 20170802013652 AddStorageFieldsToProject: migrating ========================3775-- add_column(:projects, :storage_version, :integer, {:limit=>2})3776 -> 0.0397s3777== 20170802013652 AddStorageFieldsToProject: migrated (0.0398s) ===============3778== 20170803090603 CalculateConvDevIndexPercentages: migrating =================3779== 20170803090603 CalculateConvDevIndexPercentages: migrated (0.0045s) ========3780== 20170803130232 ReorganiseIssuesIndexesForFasterSorting: migrating ==========3781-- index_name(:issues, {:column=>["project_id", "created_at", "id", "state"]})3782 -> 0.0000s3783-- index_exists?(:issues, [:project_id, :created_at, :id, :state], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state"})3784 -> 0.0006s3785-- transaction_open?()3786 -> 0.0000s3787-- index_name(:issues, {:column=>["project_id", "created_at", "id", "state"]})3788 -> 0.0000s3789-- index_exists?(:issues, [:project_id, :created_at, :id, :state], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state"})3790 -> 0.0005s3791-- add_index(:issues, [:project_id, :created_at, :id, :state], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state"})3792 -> 0.0092s3793-- index_name(:issues, {:column=>["project_id", "due_date", "id", "state"]})3794 -> 0.0000s3795-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3796If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3797You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3798If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3799DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)3800Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3801If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3802You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3803If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3804DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)3805Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3806If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3807You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3808If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3809DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)3810Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3811If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3812You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3813If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3814DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)3815 -> 0.0008s3816-- transaction_open?()3817 -> 0.0000s3818-- index_name(:issues, {:column=>["project_id", "due_date", "id", "state"]})3819 -> 0.0000s3820-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})3821 -> 0.0007s3822-- add_index(:issues, [:project_id, :due_date, :id, :state], {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})3823 -> 0.0092s3824-- index_name(:issues, {:column=>["project_id", "updated_at", "id", "state"]})3825 -> 0.0000s3826-- index_exists?(:issues, [:project_id, :updated_at, :id, :state], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state"})3827 -> 0.0007s3828-- transaction_open?()3829 -> 0.0000s3830-- index_name(:issues, {:column=>["project_id", "updated_at", "id", "state"]})3831 -> 0.0000s3832-- index_exists?(:issues, [:project_id, :updated_at, :id, :state], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state"})3833 -> 0.0006s3834-- add_index(:issues, [:project_id, :updated_at, :id, :state], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state"})3835 -> 0.0097s3836-- index_name(:issues, {:column=>["project_id"]})3837 -> 0.0000s3838-- index_exists?(:issues, :project_id, {:name=>"index_issues_on_project_id"})3839 -> 0.0007s3840-- transaction_open?()3841 -> 0.0000s3842-- index_name(:issues, {:column=>["project_id"]})3843 -> 0.0000s3844-- index_exists?(:issues, :project_id, {:name=>"index_issues_on_project_id"})3845 -> 0.0006s3846-- index_name(:issues, {:name=>"index_issues_on_project_id", :column=>:project_id})3847 -> 0.0000s3848-- index_name_exists?(:issues, "index_issues_on_project_id", true)3849 -> 0.0007s3850-- remove_index(:issues, {:name=>"index_issues_on_project_id", :column=>:project_id})3851 -> 0.0057s3852-- index_name(:issues, {:column=>["created_at"]})3853 -> 0.0000s3854-- index_exists?(:issues, :created_at, {:name=>"index_issues_on_created_at"})3855 -> 0.0006s3856-- transaction_open?()3857 -> 0.0000s3858-- index_name(:issues, {:column=>["created_at"]})3859 -> 0.0000s3860-- index_exists?(:issues, :created_at, {:name=>"index_issues_on_created_at"})3861 -> 0.0006s3862-- index_name(:issues, {:name=>"index_issues_on_created_at", :column=>:created_at})3863 -> 0.0000s3864-- index_name_exists?(:issues, "index_issues_on_created_at", true)3865 -> 0.0007s3866-- remove_index(:issues, {:name=>"index_issues_on_created_at", :column=>:created_at})3867 -> 0.0059s3868-- index_name(:issues, {:column=>["due_date"]})3869 -> 0.0000s3870-- index_exists?(:issues, :due_date, {:name=>"index_issues_on_due_date"})3871 -> 0.0007s3872-- transaction_open?()3873 -> 0.0000s3874-- index_name(:issues, {:column=>["due_date"]})3875 -> 0.0000s3876-- index_exists?(:issues, :due_date, {:name=>"index_issues_on_due_date"})3877 -> 0.0007s3878-- index_name(:issues, {:name=>"index_issues_on_due_date", :column=>:due_date})3879 -> 0.0000s3880-- index_name_exists?(:issues, "index_issues_on_due_date", true)3881 -> 0.0005s3882-- remove_index(:issues, {:name=>"index_issues_on_due_date", :column=>:due_date})3883 -> 0.0057s3884-- index_name(:issues, {:column=>["updated_at"]})3885 -> 0.0000s3886-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})3887 -> 0.0007s3888-- transaction_open?()3889 -> 0.0000s3890-- index_name(:issues, {:column=>["updated_at"]})3891 -> 0.0000s3892-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})3893 -> 0.0005s3894-- index_name(:issues, {:name=>"index_issues_on_updated_at", :column=>:updated_at})3895 -> 0.0000s3896-- index_name_exists?(:issues, "index_issues_on_updated_at", true)3897 -> 0.0006s3898-- remove_index(:issues, {:name=>"index_issues_on_updated_at", :column=>:updated_at})3899 -> 0.0057s3900== 20170803130232 ReorganiseIssuesIndexesForFasterSorting: migrated (0.0647s) =3901== 20170807071105 AddHashedStorageToSettings: migrating =======================3902-- transaction_open?()3903 -> 0.0000s3904-- transaction()3905-- add_column(:application_settings, :hashed_storage_enabled, :boolean, {:default=>nil})3906 -> 0.0413s3907-- change_column_default(:application_settings, :hashed_storage_enabled, false)3908 -> 0.0103s3909 -> 0.0524s3910-- transaction_open?()3911 -> 0.0000s3912-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")3913 -> 0.0004s3914-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")3915 -> 0.0004s3916-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")3917 -> 0.0004s3918-- execute("UPDATE `application_settings` SET `hashed_storage_enabled` = 0 WHERE `application_settings`.`id` >= 1")3919 -> 0.0012s3920-- change_column_null(:application_settings, :hashed_storage_enabled, false)3921 -> 0.0480s3922== 20170807071105 AddHashedStorageToSettings: migrated (0.1041s) ==============3923== 20170807160457 RemoveLockedAtColumnFromMergeRequests: migrating ============3924-- remove_column(:merge_requests, :locked_at)3925 -> 0.0367s3926== 20170807160457 RemoveLockedAtColumnFromMergeRequests: migrated (0.0368s) ===3927== 20170807190736 MovePersonalSnippetFilesIntoCorrectFolder: migrating ========3928== 20170807190736 MovePersonalSnippetFilesIntoCorrectFolder: migrated (0.0011s) 3929== 20170809133343 AddBroadcastMessagesIndex: migrating ========================3930-- transaction_open?()3931 -> 0.0000s3932-- index_name(:broadcast_messages, {:column=>["starts_at", "ends_at", "id"]})3933 -> 0.0000s3934-- index_exists?(:broadcast_messages, [:starts_at, :ends_at, :id], {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id"})3935 -> 0.0005s3936-- add_index(:broadcast_messages, [:starts_at, :ends_at, :id], {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id"})3937 -> 0.0069s3938== 20170809133343 AddBroadcastMessagesIndex: migrated (0.0076s) ===============3939== 20170809134534 AddBroadcastMessageNotNullConstraints: migrating ============3940-- change_column_null(:broadcast_messages, :starts_at, false)3941 -> 0.0182s3942-- change_column_null(:broadcast_messages, :ends_at, false)3943 -> 0.0193s3944-- change_column_null(:broadcast_messages, :created_at, false)3945 -> 0.0191s3946-- change_column_null(:broadcast_messages, :updated_at, false)3947 -> 0.0181s3948-- change_column_null(:broadcast_messages, :message_html, false)3949 -> 0.0184s3950== 20170809134534 AddBroadcastMessageNotNullConstraints: migrated (0.0980s) ===3951== 20170809142252 CleanupAppearancesSchema: migrating =========================3952-- change_column_null(:appearances, :title, false)3953 -> 0.0168s3954-- change_column_null(:appearances, :description, false)3955 -> 0.0162s3956-- change_column_null(:appearances, :created_at, false)3957 -> 0.0169s3958-- change_column_null(:appearances, :updated_at, false)3959 -> 0.0169s3960-- change_column(:appearances, :created_at, :datetime_with_timezone)3961 -> 0.0187s3962-- change_column(:appearances, :updated_at, :datetime_with_timezone)3963 -> 0.0190s3964== 20170809142252 CleanupAppearancesSchema: migrated (0.1049s) ================3965== 20170809161910 AddProjectExportEnabledToApplicationSettings: migrating =====3966-- transaction_open?()3967 -> 0.0000s3968-- transaction()3969-- add_column(:application_settings, :project_export_enabled, :boolean, {:default=>nil})3970 -> 0.0429s3971-- change_column_default(:application_settings, :project_export_enabled, true)3972 -> 0.0112s3973 -> 0.0550s3974-- transaction_open?()3975 -> 0.0000s3976-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")3977 -> 0.0004s3978-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")3979 -> 0.0004s3980-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")3981 -> 0.0005s3982-- execute("UPDATE `application_settings` SET `project_export_enabled` = 1 WHERE `application_settings`.`id` >= 1")3983 -> 0.0014s3984-- change_column_null(:application_settings, :project_export_enabled, false)3985 -> 0.0495s3986== 20170809161910 AddProjectExportEnabledToApplicationSettings: migrated (0.1084s) 3987== 20170815060945 RemoveDuplicateMrEvents: migrating ==========================3988== 20170815060945 RemoveDuplicateMrEvents: migrated (0.0016s) =================3989== 20170815221154 AddDiscussionLockedToIssuable: migrating ====================Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3990If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3991You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3992If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3993DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)3994Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.3995If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).3996You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)3997If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.3998DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)3999-- add_column(:merge_requests, :discussion_locked, :boolean)4000 -> 0.0378s4001-- add_column(:issues, :discussion_locked, :boolean)4002 -> 0.0356s4003== 20170815221154 AddDiscussionLockedToIssuable: migrated (0.0736s) ===========4004== 20170816102555 CleanupNonexistingNamespacePendingDeleteProjects: migrating =4005== 20170816102555 CleanupNonexistingNamespacePendingDeleteProjects: migrated (0.0028s) 4006== 20170816133938 AddAccessLevelToCiRunners: migrating ========================4007-- transaction_open?()4008 -> 0.0000s4009-- transaction()4010-- add_column(:ci_runners, :access_level, :integer, {:default=>nil})4011 -> 0.0238s4012-- change_column_default(:ci_runners, :access_level, 0)4013 -> 0.0057s4014 -> 0.0303s4015-- transaction_open?()4016 -> 0.0000s4017-- exec_query("SELECT COUNT(*) AS count FROM `ci_runners`")4018 -> 0.0004s4019-- change_column_null(:ci_runners, :access_level, false)4020 -> 0.0257s4021== 20170816133938 AddAccessLevelToCiRunners: migrated (0.0568s) ===============4022== 20170816133940 AddProtectedToCiBuilds: migrating ===========================4023-- add_column(:ci_builds, :protected, :boolean)4024 -> 0.0471s4025== 20170816133940 AddProtectedToCiBuilds: migrated (0.0472s) ==================4026== 20170816143940 AddProtectedToCiPipelines: migrating ========================4027-- add_column(:ci_pipelines, :protected, :boolean)4028 -> 0.0323s4029== 20170816143940 AddProtectedToCiPipelines: migrated (0.0324s) ===============4030== 20170816153940 AddIndexOnCiBuildsProtected: migrating ======================4031-- transaction_open?()4032 -> 0.0000s4033-- index_name(:ci_builds, {:column=>["protected"]})4034 -> 0.0000s4035-- index_exists?(:ci_builds, :protected, {:name=>"index_ci_builds_on_protected"})4036 -> 0.0009s4037-- add_index(:ci_builds, :protected, {:name=>"index_ci_builds_on_protected"})4038 -> 0.0092s4039== 20170816153940 AddIndexOnCiBuildsProtected: migrated (0.0103s) =============4040== 20170816234252 AddThemeIdToUsers: migrating ================================4041-- add_column(:users, :theme_id, :integer, {:limit=>2})4042 -> 0.0419s4043== 20170816234252 AddThemeIdToUsers: migrated (0.0420s) =======================4044== 20170817123339 AddVerificationStatusToGpgSignatures: migrating =============4045-- truncate(:gpg_signatures)4046 -> 0.0075s4047-- transaction_open?()4048 -> 0.0000s4049-- transaction()4050-- add_column(:gpg_signatures, :verification_status, :smallint, {:default=>nil})4051 -> 0.0250s4052-- change_column_default(:gpg_signatures, :verification_status, 0)4053 -> 0.0055s4054 -> 0.0313s4055-- transaction_open?()4056 -> 0.0000s4057-- exec_query("SELECT COUNT(*) AS count FROM `gpg_signatures`")4058 -> 0.0004s4059-- change_column_null(:gpg_signatures, :verification_status, false)4060 -> 0.0245s4061== 20170817123339 AddVerificationStatusToGpgSignatures: migrated (0.0642s) ====4062== 20170820100558 CorrectProtectedTagsForeignKeys: migrating ==================4063-- remove_foreign_key(:protected_tag_create_access_levels, {:column=>:protected_tag_id})4064 -> 0.0048s4065-- execute(" DELETE FROM protected_tag_create_access_levels\n WHERE NOT EXISTS (\n SELECT true\n FROM protected_tags\n WHERE protected_tag_create_access_levels.protected_tag_id = protected_tags.id\n )\n AND protected_tag_id IS NOT NULL\n")4066 -> 0.0006s4067-- transaction_open?()4068 -> 0.0000s4069-- foreign_keys(:protected_tag_create_access_levels)4070 -> 0.0008s4071-- add_foreign_key(:protected_tag_create_access_levels, :protected_tags, {:column=>:protected_tag_id, :on_delete=>:cascade})4072 -> 0.0253s4073== 20170820100558 CorrectProtectedTagsForeignKeys: migrated (0.0318s) =========4074== 20170820120108 CreateUserSyncedAttributesMetadata: migrating ===============4075-- create_table(:user_synced_attributes_metadata, {})4076 -> 0.0140s4077== 20170820120108 CreateUserSyncedAttributesMetadata: migrated (0.0141s) ======4078== 20170822101017 MigratePipelineSidekiqQueues: migrating =====================4079== 20170822101017 MigratePipelineSidekiqQueues: migrated (0.0008s) ============4080== 20170824101926 AddAutoDevopsEnabledToApplicationSettings: migrating ========4081-- transaction_open?()4082 -> 0.0000s4083-- transaction()4084-- add_column(:application_settings, :auto_devops_enabled, :boolean, {:default=>nil})4085 -> 0.0441s4086-- change_column_default(:application_settings, :auto_devops_enabled, false)4087 -> 0.0106s4088 -> 0.0556s4089-- transaction_open?()4090 -> 0.0000s4091-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4092 -> 0.0004s4093-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4094 -> 0.0005s4095-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4096 -> 0.0005s4097-- execute("UPDATE `application_settings` SET `auto_devops_enabled` = 0 WHERE `application_settings`.`id` >= 1")4098 -> 0.0012s4099-- change_column_null(:application_settings, :auto_devops_enabled, false)4100 -> 0.0498s4101== 20170824101926 AddAutoDevopsEnabledToApplicationSettings: migrated (0.1094s) 4102== 20170824162758 AllowAppearancesDescriptionHtmlNull: migrating ==============4103-- change_column_null(:appearances, :description_html, true)4104 -> 0.0051s4105== 20170824162758 AllowAppearancesDescriptionHtmlNull: migrated (0.0051s) =====4106== 20170825015534 AddFileStoreToLfsObjects: migrating =========================4107-- add_column(:lfs_objects, :file_store, :integer)4108 -> 0.0181s4109== 20170825015534 AddFileStoreToLfsObjects: migrated (0.0181s) ================4110== 20170825104051 MigrateIssuesToGhostUser: migrating =========================4111== 20170825104051 MigrateIssuesToGhostUser: migrated (0.1875s) ================4112== 20170825154015 ResolveOutdatedDiffDiscussions: migrating ===================4113-- add_column(:projects, :resolve_outdated_diff_discussions, :boolean)4114 -> 0.0405s4115== 20170825154015 ResolveOutdatedDiffDiscussions: migrated (0.0406s) ==========4116== 20170827123848 AddIndexOnMergeRequestDiffCommitSha: migrating ==============4117-- transaction_open?()4118 -> 0.0000s4119-- index_name(:merge_request_diff_commits, {:column=>["sha"]})4120 -> 0.0000s4121-- index_exists?(:merge_request_diff_commits, :sha, {:length=>20, :name=>"index_merge_request_diff_commits_on_sha"})4122 -> 0.0008s4123-- add_index(:merge_request_diff_commits, :sha, {:length=>20, :name=>"index_merge_request_diff_commits_on_sha"})4124 -> 0.0085s4125== 20170827123848 AddIndexOnMergeRequestDiffCommitSha: migrated (0.0095s) =====4126== 20170828093725 CreateProjectAutoDevOps: migrating ==========================4127-- create_table(:project_auto_devops, {})4128 -> 0.0134s4129== 20170828093725 CreateProjectAutoDevOps: migrated (0.0134s) =================4130== 20170828135939 MigrateUserExternalMailData: migrating ======================4131-- execute(" INSERT INTO user_synced_attributes_metadata (user_id, provider, email_synced)\n SELECT id, email_provider, external_email\n FROM users\n WHERE external_email = TRUE\n AND NOT EXISTS (\n SELECT true\n FROM user_synced_attributes_metadata\n WHERE user_id = users.id\n AND (provider = users.email_provider OR (provider IS NULL AND users.email_provider IS NULL))\n )\n AND id BETWEEN 1 AND 1\n")4132 -> 0.0006s4133== 20170828135939 MigrateUserExternalMailData: migrated (0.0385s) =============4134== 20170828170502 PostDeployMigrateUserExternalMailData: migrating ============4135-- execute(" INSERT INTO user_synced_attributes_metadata (user_id, provider, email_synced)\n SELECT id, email_provider, external_email\n FROM users\n WHERE external_email = TRUE\n AND NOT EXISTS (\n SELECT true\n FROM user_synced_attributes_metadata\n WHERE user_id = users.id\n AND (provider = users.email_provider OR (provider IS NULL AND users.email_provider IS NULL))\n )\n AND id BETWEEN 1 AND 1\n")4136 -> 0.0006s4137== 20170828170502 PostDeployMigrateUserExternalMailData: migrated (0.0378s) ===4138== 20170828170513 RemoveUserEmailProviderColumn: migrating ====================4139-- remove_column(:users, :email_provider, :string)4140 -> 0.0778s4141== 20170828170513 RemoveUserEmailProviderColumn: migrated (0.0779s) ===========4142== 20170828170516 RemoveUserExternalMailColumns: migrating ====================4143-- remove_column(:users, :external_email, :boolean)4144 -> 0.0762s4145== 20170828170516 RemoveUserExternalMailColumns: migrated (0.0763s) ===========4146== 20170830084744 DestroyGpgSignatures: migrating =============================4147-- truncate(:gpg_signatures)4148 -> 0.0071s4149== 20170830084744 DestroyGpgSignatures: migrated (0.0072s) ====================4150== 20170830125940 AddFailureReasonToCiBuilds: migrating =======================4151-- add_column(:ci_builds, :failure_reason, :integer)4152 -> 0.0474s4153== 20170830125940 AddFailureReasonToCiBuilds: migrated (0.0475s) ==============4154== 20170830130119 StealRemainingEventMigrationJobs: migrating =================4155== 20170830130119 StealRemainingEventMigrationJobs: migrated (0.0015s) ========4156== 20170830131015 SwapEventMigrationTables: migrating =========================4157-- rename_table(:events, :events_old)4158 -> 0.0299s4159-- rename_table(:events_for_migration, :events)4160 -> 0.0210s4161-- rename_table(:events_old, :events_for_migration)4162 -> 0.0309s4163-- execute("ALTER TABLE events AUTO_INCREMENT = 1")4164 -> 0.0035s4165== 20170830131015 SwapEventMigrationTables: migrated (0.0878s) ================4166== 20170830150306 DropEventsForMigrationTable: migrating ======================4167-- transaction()4168-- drop_table(:events_for_migration)4169 -> 0.0036s4170 -> 0.0043s4171== 20170830150306 DropEventsForMigrationTable: migrated (0.0043s) =============4172== 20170831092813 AddConfigSourceToPipelines: migrating =======================4173-- add_column(:ci_pipelines, :config_source, :integer, {:allow_null=>true})4174 -> 0.0303s4175== 20170831092813 AddConfigSourceToPipelines: migrated (0.0304s) ==============4176== 20170831195038 RemoveValidSignatureFromGpgSignatures: migrating ============4177-- remove_column(:gpg_signatures, :valid_signature)4178 -> 0.0247s4179== 20170831195038 RemoveValidSignatureFromGpgSignatures: migrated (0.0248s) ===4180== 20170901071411 AddForeignKeyToIssueAuthor: migrating =======================4181-- transaction_open?()4182 -> 0.0000s4183-- foreign_keys(:issues)4184 -> 0.0011s4185-- add_foreign_key(:issues, :users, {:column=>:author_id, :on_delete=>:nullify})4186 -> 0.0419s4187== 20170901071411 AddForeignKeyToIssueAuthor: migrated (0.0431s) ==============4188== 20170904092148 AddEmailConfirmation: migrating =============================4189-- add_column(:emails, :confirmation_token, :string)4190 -> 0.0192s4191-- add_column(:emails, :confirmed_at, :datetime_with_timezone)4192 -> 0.0184s4193-- add_column(:emails, :confirmation_sent_at, :datetime_with_timezone)4194 -> 0.0181s4195== 20170904092148 AddEmailConfirmation: migrated (0.0558s) ====================4196== 20170905112933 AddResolvedByPushToNotes: migrating =========================4197-- add_column(:notes, :resolved_by_push, :boolean)4198 -> 0.0329s4199== 20170905112933 AddResolvedByPushToNotes: migrated (0.0329s) ================4200== 20170906133745 AddRunnersTokenToGroups: migrating ==========================4201-- add_column(:namespaces, :runners_token, :string)4202 -> 0.0639s4203== 20170906133745 AddRunnersTokenToGroups: migrated (0.0639s) =================4204== 20170907170235 DeleteConflictingRedirectRoutes: migrating ==================4205== 20170907170235 DeleteConflictingRedirectRoutes: migrated (0.0000s) =========4206== 20170909090114 AddEmailConfirmationIndex: migrating ========================4207-- transaction_open?()4208 -> 0.0000s4209-- index_name(:emails, {:column=>["confirmation_token"]})4210 -> 0.0000s4211-- index_exists?(:emails, :confirmation_token, {:unique=>true, :name=>"index_emails_on_confirmation_token"})4212 -> 0.0006s4213-- add_index(:emails, :confirmation_token, {:unique=>true, :name=>"index_emails_on_confirmation_token"})4214 -> 0.0088s4215== 20170909090114 AddEmailConfirmationIndex: migrated (0.0096s) ===============4216== 20170909150936 AddSpentAtToTimelogs: migrating =============================4217-- add_column(:timelogs, :spent_at, :datetime_with_timezone)4218 -> 0.0211s4219== 20170909150936 AddSpentAtToTimelogs: migrated (0.0212s) ====================4220== 20170912113435 CleanStagesStatusesMigration: migrating =====================4221== 20170912113435 CleanStagesStatusesMigration: migrated (0.0045s) ============4222== 20170913131410 EnvironmentsProjectIdNotNull: migrating =====================4223-- change_column_null(:environments, :project_id, false)4224 -> 0.0212s4225== 20170913131410 EnvironmentsProjectIdNotNull: migrated (0.0212s) ============4226== 20170913180600 FixProjectsWithoutProjectFeature: migrating =================4227-- execute("DELETE FROM project_features WHERE project_id IS NULL")4228 -> 0.0006s4229-- execute("\n INSERT INTO project_features(project_id, repository_access_level, issues_access_level, merge_requests_access_level, wiki_access_level,\n builds_access_level, snippets_access_level, created_at, updated_at)\n SELECT projects.id as project_id,\n 10 as repository_access_level,\n 10 as issues_access_level,\n 10 as merge_requests_access_level,\n 10 as wiki_access_level,\n 10 as builds_access_level ,\n 10 as snippets_access_level,\n projects.created_at,\n projects.updated_at\n FROM projects\n LEFT OUTER JOIN project_features ON project_features.project_id = projects.id\n WHERE (project_features.id IS NULL)\n ")4230 -> 0.0004s4231== 20170913180600 FixProjectsWithoutProjectFeature: migrated (0.0012s) ========4232== 20170914135630 AddIndexForRecentPushEvents: migrating ======================4233-- index_name(:merge_requests, {:column=>["source_project_id", "source_branch"]})4234 -> 0.0000s4235-- index_exists?(:merge_requests, [:source_project_id, :source_branch], {:name=>"index_merge_requests_on_source_project_id_and_source_branch"})4236 -> 0.0008s4237-- transaction_open?()4238 -> 0.0000s4239-- index_name(:merge_requests, {:column=>["source_project_id", "source_branch"]})4240 -> 0.0000s4241-- index_exists?(:merge_requests, [:source_project_id, :source_branch], {:name=>"index_merge_requests_on_source_project_id_and_source_branch"})4242 -> 0.0007s4243-- add_index(:merge_requests, [:source_project_id, :source_branch], {:name=>"index_merge_requests_on_source_project_id_and_source_branch"})4244 -> 0.0104s4245-- index_name(:merge_requests, {:column=>["source_project_id"]})4246 -> 0.0000s4247-- index_exists?(:merge_requests, :source_project_id, {:name=>"index_merge_requests_on_source_project_id"})4248 -> 0.0006s4249-- transaction_open?()4250 -> 0.0000s4251-- index_name(:merge_requests, {:column=>["source_project_id"]})4252 -> 0.0000s4253-- index_exists?(:merge_requests, :source_project_id, {:name=>"index_merge_requests_on_source_project_id"})4254 -> 0.0005s4255-- index_name(:merge_requests, {:name=>"index_merge_requests_on_source_project_id", :column=>:source_project_id})4256 -> 0.0000s4257-- index_name_exists?(:merge_requests, "index_merge_requests_on_source_project_id", true)4258 -> 0.0006s4259-- remove_index(:merge_requests, {:name=>"index_merge_requests_on_source_project_id", :column=>:source_project_id})4260 -> 0.0059s4261== 20170914135630 AddIndexForRecentPushEvents: migrated (0.0203s) =============4262== 20170918072948 CreateJobArtifacts: migrating ===============================4263-- create_table(:ci_job_artifacts, {})4264 -> 0.0179s4265== 20170918072948 CreateJobArtifacts: migrated (0.0180s) ======================4266== 20170918072949 AddFileStoreJobArtifacts: migrating =========================4267-- add_column(:ci_job_artifacts, :file_store, :integer)4268 -> 0.0187s4269== 20170918072949 AddFileStoreJobArtifacts: migrated (0.0188s) ================4270== 20170918111708 CreateProjectCustomAttributes: migrating ====================4271-- create_table(:project_custom_attributes, {})4272 -> 0.0161s4273== 20170918111708 CreateProjectCustomAttributes: migrated (0.0161s) ===========4274== 20170918140927 CreateGroupCustomAttributes: migrating ======================4275-- create_table(:group_custom_attributes, {})4276 -> 0.0155s4277-- add_foreign_key(:group_custom_attributes, :namespaces, {:column=>:group_id, :on_delete=>:cascade})4278 -> 0.0220s4279== 20170918140927 CreateGroupCustomAttributes: migrated (0.0376s) =============4280== 20170918222253 ReorganizeDeploymentsIndexes: migrating =====================4281-- index_name(:deployments, {:column=>["environment_id", "iid", "project_id"]})4282 -> 0.0000sArel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4283If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4284You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4285If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4286DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)4287Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4288If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4289You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4290If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4291DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)4292-- index_exists?(:deployments, [:environment_id, :iid, :project_id], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id"})4293 -> 0.0010s4294-- transaction_open?()4295 -> 0.0000s4296-- index_name(:deployments, {:column=>["environment_id", "iid", "project_id"]})4297 -> 0.0000s4298-- index_exists?(:deployments, [:environment_id, :iid, :project_id], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id"})4299 -> 0.0004s4300-- add_index(:deployments, [:environment_id, :iid, :project_id], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id"})4301 -> 0.0089s4302-- index_name(:deployments, {:column=>["project_id", "environment_id", "iid"]})4303 -> 0.0000s4304-- index_exists?(:deployments, [:project_id, :environment_id, :iid], {:name=>"index_deployments_on_project_id_and_environment_id_and_iid"})4305 -> 0.0007s4306-- transaction_open?()4307 -> 0.0000s4308-- index_name(:deployments, {:column=>["project_id", "environment_id", "iid"]})4309 -> 0.0000s4310-- index_exists?(:deployments, [:project_id, :environment_id, :iid], {:name=>"index_deployments_on_project_id_and_environment_id_and_iid"})4311 -> 0.0006s4312-- index_name(:deployments, {:name=>"index_deployments_on_project_id_and_environment_id_and_iid", :column=>[:project_id, :environment_id, :iid]})4313 -> 0.0000s4314-- index_name_exists?(:deployments, "index_deployments_on_project_id_and_environment_id_and_iid", true)4315 -> 0.0005s4316-- remove_index(:deployments, {:name=>"index_deployments_on_project_id_and_environment_id_and_iid", :column=>[:project_id, :environment_id, :iid]})4317 -> 0.0055s4318== 20170918222253 ReorganizeDeploymentsIndexes: migrated (0.0183s) ============4319== 20170918223303 AddDeploymentsIndexForLastDeployment: migrating =============4320-- transaction_open?()4321 -> 0.0000s4322-- index_name(:deployments, {:column=>["environment_id", "id"]})4323 -> 0.0000s4324-- index_exists?(:deployments, [:environment_id, :id], {:name=>"index_deployments_on_environment_id_and_id"})4325 -> 0.0005s4326-- add_index(:deployments, [:environment_id, :id], {:name=>"index_deployments_on_environment_id_and_id"})4327 -> 0.0070s4328== 20170918223303 AddDeploymentsIndexForLastDeployment: migrated (0.0077s) ====4329== 20170919211300 RemoveTemporaryCiBuildsIndex: migrating =====================4330-- index_exists?(:ci_builds, :id, {:name=>"index_for_ci_builds_retried_migration"})4331 -> 0.0007s4332-- transaction_open?()4333 -> 0.0000s4334-- index_exists?(:ci_builds, :id, {:name=>"index_for_ci_builds_retried_migration"})4335 -> 0.0007s4336-- index_name(:ci_builds, {:name=>"index_for_ci_builds_retried_migration", :column=>:id})4337 -> 0.0000s4338-- index_name_exists?(:ci_builds, "index_ci_builds_on_id", true)4339 -> 0.0007s4340-- index_name(:ci_builds, {:name=>"index_for_ci_builds_retried_migration"})4341 -> 0.0000s4342-- index_name_exists?(:ci_builds, "index_for_ci_builds_retried_migration", false)4343 -> 0.0007s4344-- remove_index(:ci_builds, {:name=>"index_for_ci_builds_retried_migration", :column=>:id})4345 -> 0.0061s4346== 20170919211300 RemoveTemporaryCiBuildsIndex: migrated (0.0092s) ============4347== 20170921101004 NormalizeLdapExternUids: migrating ==========================4348== 20170921101004 NormalizeLdapExternUids: migrated (0.0022s) =================4349== 20170921115009 AddProjectRepositoryStorageIndex: migrating =================4350-- index_name(:projects, {:column=>["repository_storage"]})4351 -> 0.0000s4352-- index_exists?(:projects, :repository_storage, {:name=>"index_projects_on_repository_storage"})4353 -> 0.0006s4354-- transaction_open?()4355 -> 0.0000s4356-- index_name(:projects, {:column=>["repository_storage"]})4357 -> 0.0000s4358-- index_exists?(:projects, :repository_storage, {:name=>"index_projects_on_repository_storage"})4359 -> 0.0005s4360-- add_index(:projects, :repository_storage, {:name=>"index_projects_on_repository_storage"})4361 -> 0.0096s4362== 20170921115009 AddProjectRepositoryStorageIndex: migrated (0.0110s) ========4363== 20170924094327 CreateGcpClusters: migrating ================================4364-- create_table(:gcp_clusters, {})4365 -> 0.0184s4366== 20170924094327 CreateGcpClusters: migrated (0.0184s) =======================4367== 20170925184228 AddFaviconToAppearances: migrating ==========================4368-- add_column(:appearances, :favicon, :string)4369 -> 0.0147s4370== 20170925184228 AddFaviconToAppearances: migrated (0.0148s) =================4371== 20170926150348 ScheduleMergeRequestDiffMigrationsTakeTwo: migrating ========4372== 20170926150348 ScheduleMergeRequestDiffMigrationsTakeTwo: migrated (0.0031s) 4373== 20170927095921 AddCiBuildsIndexForJobscontroller: migrating ================4374-- index_name(:ci_builds, {:column=>["project_id", "id"]})4375 -> 0.0000s4376-- index_exists?(:ci_builds, [:project_id, :id], {:name=>"index_ci_builds_on_project_id_and_id"})4377 -> 0.0008s4378-- transaction_open?()4379 -> 0.0000s4380-- index_name(:ci_builds, {:column=>["project_id", "id"]})4381 -> 0.0000s4382-- index_exists?(:ci_builds, [:project_id, :id], {:name=>"index_ci_builds_on_project_id_and_id"})4383 -> 0.0007s4384-- add_index(:ci_builds, [:project_id, :id], {:name=>"index_ci_builds_on_project_id_and_id"})4385 -> 0.0078s4386-- index_name(:ci_builds, {:column=>["project_id"]})4387 -> 0.0000s4388-- index_exists?(:ci_builds, :project_id, {:name=>"index_ci_builds_on_project_id"})4389 -> 0.0007s4390-- transaction_open?()4391 -> 0.0000s4392-- index_name(:ci_builds, {:column=>["project_id"]})4393 -> 0.0000s4394-- index_exists?(:ci_builds, :project_id, {:name=>"index_ci_builds_on_project_id"})4395 -> 0.0006s4396-- index_name(:ci_builds, {:name=>"index_ci_builds_on_project_id", :column=>:project_id})4397 -> 0.0000s4398-- index_name_exists?(:ci_builds, "index_ci_builds_on_project_id", true)4399 -> 0.0007s4400-- remove_index(:ci_builds, {:name=>"index_ci_builds_on_project_id", :column=>:project_id})4401 -> 0.0061s4402== 20170927095921 AddCiBuildsIndexForJobscontroller: migrated (0.0182s) =======4403== 20170927112318 UpdateLegacyDiffNotesTypeForImport: migrating ===============4404-- transaction_open?()4405 -> 0.0000s4406-- exec_query("SELECT COUNT(*) AS count FROM `notes` WHERE `notes`.`type` = 'Github::Import::LegacyDiffNote'")4407 -> 0.0004s4408== 20170927112318 UpdateLegacyDiffNotesTypeForImport: migrated (0.0023s) ======4409== 20170927112319 UpdateNotesTypeForImport: migrating =========================4410-- transaction_open?()4411 -> 0.0000s4412-- exec_query("SELECT COUNT(*) AS count FROM `notes` WHERE `notes`.`type` = 'Github::Import::Note'")4413 -> 0.0005s4414== 20170927112319 UpdateNotesTypeForImport: migrated (0.0009s) ================4415== 20170927122209 AddPartialIndexForLabelsTemplate: migrating =================4416-- transaction_open?()4417 -> 0.0000s4418-- index_name("labels", {:column=>["template"]})4419 -> 0.0000s4420-- index_exists?("labels", ["template"], {:where=>"template", :name=>"index_labels_on_template"})4421 -> 0.0008s4422-- add_index("labels", ["template"], {:where=>"template", :name=>"index_labels_on_template"})4423 -> 0.0086s4424== 20170927122209 AddPartialIndexForLabelsTemplate: migrated (0.0096s) ========4425== 20170927161718 CreateGpgKeySubkeys: migrating ==============================4426-- create_table(:gpg_key_subkeys, {})4427 -> 0.0177s4428-- add_reference(:gpg_signatures, :gpg_key_subkey, {:index=>true, :foreign_key=>{:on_delete=>:nullify}})4429 -> 0.0570s4430== 20170927161718 CreateGpgKeySubkeys: migrated (0.0749s) =====================4431== 20170928100231 AddCompositeIndexOnMergeRequestsMergeCommitSha: migrating ===4432-- index_exists?(:merge_requests, [:target_project_id, :merge_commit_sha, :id], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})4433 -> 0.0007s4434-- transaction_open?()4435 -> 0.0000s4436-- index_exists?(:merge_requests, [:target_project_id, :merge_commit_sha, :id], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})4437 -> 0.0005s4438-- add_index(:merge_requests, [:target_project_id, :merge_commit_sha, :id], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id"})4439 -> 0.0072s4440== 20170928100231 AddCompositeIndexOnMergeRequestsMergeCommitSha: migrated (0.0087s) 4441== 20170928124105 CreateForkNetworks: migrating ===============================4442-- create_table(:fork_networks, {})4443 -> 0.0135s4444-- transaction_open?()4445 -> 0.0000s4446-- foreign_keys(:fork_networks)4447 -> 0.0010s4448-- add_foreign_key(:fork_networks, :projects, {:column=>:root_project_id, :on_delete=>:nullify})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4449If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4450You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4451If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4452DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4453Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4454If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4455You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4456If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4457DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4458Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4459If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4460You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4461If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4462DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4463Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4464If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4465You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4466If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4467DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4468Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4469If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4470You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4471If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4472DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4473Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4474If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4475You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4476If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4477DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4478Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4479If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4480You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4481If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4482DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4483Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4484If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4485You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4486If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4487DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4488Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4489If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4490You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4491If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4492DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4493Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4494If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4495You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4496If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4497DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4498Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4499If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4500You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4501If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4502 -> 0.0200s4503== 20170928124105 CreateForkNetworks: migrated (0.0348s) ======================4504== 20170928133643 CreateForkNetworkMembers: migrating =========================4505-- create_table(:fork_network_members, {})4506 -> 0.0149s4507-- transaction_open?()4508 -> 0.0000s4509-- foreign_keys(:fork_network_members)4510 -> 0.0010s4511-- add_foreign_key(:fork_network_members, :projects, {:column=>:forked_from_project_id, :on_delete=>:nullify})4512 -> 0.0228s4513== 20170928133643 CreateForkNetworkMembers: migrated (0.0389s) ================4514== 20170929080234 AddFailureReasonToPipelines: migrating ======================4515-- add_column(:ci_pipelines, :failure_reason, :integer)4516 -> 0.0293s4517== 20170929080234 AddFailureReasonToPipelines: migrated (0.0294s) =============4518== 20170929131201 PopulateForkNetworks: migrating =============================4519-- Fork networks will be populated in 20171205190711 - RescheduleForkNetworkCreationCaller4520== 20170929131201 PopulateForkNetworks: migrated (0.0000s) ====================4521== 20171004121444 MakeSureFastForwardOptionExists: migrating ==================4522-- column_exists?(:projects, :merge_requests_ff_only_enabled)4523 -> 0.0021s4524-- transaction_open?()4525 -> 0.0000s4526-- transaction()4527-- add_column(:projects, :merge_requests_ff_only_enabled, :boolean, {:default=>nil})4528 -> 0.0420s4529-- change_column_default(:projects, :merge_requests_ff_only_enabled, false)4530 -> 0.0078s4531 -> 0.0506s4532-- transaction_open?()4533 -> 0.0000s4534-- exec_query("SELECT COUNT(*) AS count FROM `projects`")4535 -> 0.0004s4536-- change_column_null(:projects, :merge_requests_ff_only_enabled, false)4537 -> 0.0456s4538== 20171004121444 MakeSureFastForwardOptionExists: migrated (0.0993s) =========4539== 20171005130944 ScheduleCreateGpgKeySubkeysFromGpgKeys: migrating ===========4540== 20171005130944 ScheduleCreateGpgKeySubkeysFromGpgKeys: migrated (0.0030s) ==4541== 20171006090001 CreateCiBuildTraceSections: migrating =======================4542-- create_table(:ci_build_trace_sections, {})4543 -> 0.0140s4544-- add_index(:ci_build_trace_sections, [:build_id, :section_name_id], {:unique=>true})4545 -> 0.0087s4546== 20171006090001 CreateCiBuildTraceSections: migrated (0.0229s) ==============4547== 20171006090010 AddBuildForeignKeyToCiBuildTraceSections: migrating =========4548-- transaction_open?()4549 -> 0.0000s4550-- foreign_keys(:ci_build_trace_sections)4551 -> 0.0009s4552-- add_foreign_key(:ci_build_trace_sections, :ci_builds, {:column=>:build_id, :on_delete=>:cascade})4553 -> 0.0232s4554== 20171006090010 AddBuildForeignKeyToCiBuildTraceSections: migrated (0.0243s) 4555== 20171006090100 CreateCiBuildTraceSectionNames: migrating ===================4556-- create_table(:ci_build_trace_section_names, {})4557 -> 0.0141s4558-- add_index(:ci_build_trace_section_names, [:project_id, :name], {:unique=>true})4559 -> 0.0110s4560== 20171006090100 CreateCiBuildTraceSectionNames: migrated (0.0253s) ==========4561== 20171006091000 AddNameForeignKeyToCiBuildTraceSections: migrating ==========4562-- transaction_open?()4563 -> 0.0000s4564-- foreign_keys(:ci_build_trace_sections)4565 -> 0.0012s4566-- add_foreign_key(:ci_build_trace_sections, :ci_build_trace_section_names, {:column=>:section_name_id, :on_delete=>:cascade})4567 -> 0.0252s4568== 20171006091000 AddNameForeignKeyToCiBuildTraceSections: migrated (0.0266s) =4569== 20171006220837 AddGlobalRateLimitsToApplicationSettings: migrating =========4570-- transaction_open?()4571 -> 0.0000s4572-- transaction()4573-- add_column(:application_settings, :throttle_unauthenticated_enabled, :boolean, {:default=>nil})4574 -> 0.0448s4575-- change_column_default(:application_settings, :throttle_unauthenticated_enabled, false)4576 -> 0.0115s4577 -> 0.0573s4578-- transaction_open?()4579 -> 0.0000s4580-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4581 -> 0.0006s4582-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4583 -> 0.0004s4584-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4585 -> 0.0005s4586-- execute("UPDATE `application_settings` SET `throttle_unauthenticated_enabled` = 0 WHERE `application_settings`.`id` >= 1")4587 -> 0.0017s4588-- change_column_null(:application_settings, :throttle_unauthenticated_enabled, false)4589 -> 0.0520s4590-- transaction_open?()4591 -> 0.0000s4592-- transaction()4593-- add_column(:application_settings, :throttle_unauthenticated_requests_per_period, :integer, {:default=>nil})4594 -> 0.0451s4595-- change_column_default(:application_settings, :throttle_unauthenticated_requests_per_period, 3600)4596 -> 0.0117s4597 -> 0.0578s4598-- transaction_open?()4599 -> 0.0000s4600-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4601 -> 0.0005s4602-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4603 -> 0.0004s4604-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4605 -> 0.0005s4606-- execute("UPDATE `application_settings` SET `throttle_unauthenticated_requests_per_period` = 3600 WHERE `application_settings`.`id` >= 1")4607 -> 0.0015s4608-- change_column_null(:application_settings, :throttle_unauthenticated_requests_per_period, false)4609 -> 0.0513s4610-- transaction_open?()4611 -> 0.0000s4612-- transaction()4613-- add_column(:application_settings, :throttle_unauthenticated_period_in_seconds, :integer, {:default=>nil})4614 -> 0.0454s4615-- change_column_default(:application_settings, :throttle_unauthenticated_period_in_seconds, 3600)4616 -> 0.0117s4617 -> 0.0580s4618-- transaction_open?()4619 -> 0.0000s4620-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4621 -> 0.0005s4622-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4623 -> 0.0004s4624-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4625 -> 0.0005s4626-- execute("UPDATE `application_settings` SET `throttle_unauthenticated_period_in_seconds` = 3600 WHERE `application_settings`.`id` >= 1")4627 -> 0.0013s4628-- change_column_null(:application_settings, :throttle_unauthenticated_period_in_seconds, false)4629 -> 0.0524s4630-- transaction_open?()4631 -> 0.0000s4632-- transaction()4633-- add_column(:application_settings, :throttle_authenticated_api_enabled, :boolean, {:default=>nil})4634 -> 0.0432s4635-- change_column_default(:application_settings, :throttle_authenticated_api_enabled, false)4636 -> 0.0125s4637 -> 0.0568s4638-- transaction_open?()4639 -> 0.0000s4640-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4641 -> 0.0004s4642-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4643 -> 0.0005s4644-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4645 -> 0.0005s4646-- execute("UPDATE `application_settings` SET `throttle_authenticated_api_enabled` = 0 WHERE `application_settings`.`id` >= 1")4647 -> 0.0016s4648-- change_column_null(:application_settings, :throttle_authenticated_api_enabled, false)4649 -> 0.0500s4650-- transaction_open?()4651 -> 0.0000s4652-- transaction()4653-- add_column(:application_settings, :throttle_authenticated_api_requests_per_period, :integer, {:default=>nil})4654 -> 0.0436s4655-- change_column_default(:application_settings, :throttle_authenticated_api_requests_per_period, 7200)4656 -> 0.0117s4657 -> 0.0562s4658-- transaction_open?()4659 -> 0.0000s4660-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4661 -> 0.0005s4662-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4663 -> 0.0004s4664-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4665 -> 0.0004s4666-- execute("UPDATE `application_settings` SET `throttle_authenticated_api_requests_per_period` = 7200 WHERE `application_settings`.`id` >= 1")DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4667Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4668If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4669You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4670If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4671DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4672Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4673If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4674You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4675If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4676DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4677Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4678If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4679You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4680If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4681DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4682Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4683If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4684You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4685If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4686DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4687Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4688If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4689You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4690If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4691DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4692Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4693If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4694You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4695If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4696DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4697Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4698If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4699You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4700If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4701DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4702Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4703If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4704You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4705If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4706DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4707 -> 0.0014s4708-- change_column_null(:application_settings, :throttle_authenticated_api_requests_per_period, false)4709 -> 0.0513s4710-- transaction_open?()4711 -> 0.0000s4712-- transaction()4713-- add_column(:application_settings, :throttle_authenticated_api_period_in_seconds, :integer, {:default=>nil})4714 -> 0.0424s4715-- change_column_default(:application_settings, :throttle_authenticated_api_period_in_seconds, 3600)4716 -> 0.0117s4717 -> 0.0551s4718-- transaction_open?()4719 -> 0.0000s4720-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4721 -> 0.0004s4722-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4723 -> 0.0004s4724-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4725 -> 0.0004s4726-- execute("UPDATE `application_settings` SET `throttle_authenticated_api_period_in_seconds` = 3600 WHERE `application_settings`.`id` >= 1")4727 -> 0.0012s4728-- change_column_null(:application_settings, :throttle_authenticated_api_period_in_seconds, false)4729 -> 0.0488s4730-- transaction_open?()4731 -> 0.0000s4732-- transaction()4733-- add_column(:application_settings, :throttle_authenticated_web_enabled, :boolean, {:default=>nil})4734 -> 0.0429s4735-- change_column_default(:application_settings, :throttle_authenticated_web_enabled, false)4736 -> 0.0129s4737 -> 0.0567s4738-- transaction_open?()4739 -> 0.0000s4740-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4741 -> 0.0004s4742-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4743 -> 0.0004s4744-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4745 -> 0.0005s4746-- execute("UPDATE `application_settings` SET `throttle_authenticated_web_enabled` = 0 WHERE `application_settings`.`id` >= 1")4747 -> 0.0012s4748-- change_column_null(:application_settings, :throttle_authenticated_web_enabled, false)4749 -> 0.0508s4750-- transaction_open?()4751 -> 0.0000s4752-- transaction()4753-- add_column(:application_settings, :throttle_authenticated_web_requests_per_period, :integer, {:default=>nil})4754 -> 0.0419s4755-- change_column_default(:application_settings, :throttle_authenticated_web_requests_per_period, 7200)4756 -> 0.0121s4757 -> 0.0550s4758-- transaction_open?()4759 -> 0.0000s4760-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4761 -> 0.0005s4762-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4763 -> 0.0004s4764-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4765 -> 0.0004s4766-- execute("UPDATE `application_settings` SET `throttle_authenticated_web_requests_per_period` = 7200 WHERE `application_settings`.`id` >= 1")4767 -> 0.0014s4768-- change_column_null(:application_settings, :throttle_authenticated_web_requests_per_period, false)4769 -> 0.0504s4770-- transaction_open?()4771 -> 0.0000s4772-- transaction()4773-- add_column(:application_settings, :throttle_authenticated_web_period_in_seconds, :integer, {:default=>nil})4774 -> 0.0445s4775-- change_column_default(:application_settings, :throttle_authenticated_web_period_in_seconds, 3600)4776 -> 0.0128s4777 -> 0.0583s4778-- transaction_open?()4779 -> 0.0000s4780-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4781 -> 0.0006s4782-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4783 -> 0.0004s4784-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4785 -> 0.0005s4786-- execute("UPDATE `application_settings` SET `throttle_authenticated_web_period_in_seconds` = 3600 WHERE `application_settings`.`id` >= 1")4787 -> 0.0013s4788-- change_column_null(:application_settings, :throttle_authenticated_web_period_in_seconds, false)4789 -> 0.0530s4790== 20171006220837 AddGlobalRateLimitsToApplicationSettings: migrated (1.0115s) 4791== 20171012101043 AddCircuitBreakerPropertiesToApplicationSettings: migrating =4792-- add_column(:application_settings, :circuitbreaker_failure_count_threshold, :integer, {:default=>160})4793 -> 0.0446s4794-- add_column(:application_settings, :circuitbreaker_failure_wait_time, :integer, {:default=>30})4795 -> 0.0442s4796-- add_column(:application_settings, :circuitbreaker_failure_reset_time, :integer, {:default=>1800})4797 -> 0.0452s4798-- add_column(:application_settings, :circuitbreaker_storage_timeout, :integer, {:default=>30})4799 -> 0.0453s4800== 20171012101043 AddCircuitBreakerPropertiesToApplicationSettings: migrated (0.1796s) 4801== 20171012125712 MigrateUserAuthenticationTokenToPersonalAccessToken: migrating 4802-- execute("INSERT INTO personal_access_tokens (user_id, token, name, created_at, updated_at, scopes)\nSELECT id, authentication_token, 'Private Token', NOW(), NOW(), '---\n- api\n'\nFROM users\nWHERE authentication_token IS NOT NULL\nAND admin = FALSE\nAND NOT EXISTS (\n SELECT true\n FROM personal_access_tokens\n WHERE user_id = users.id\n AND token = users.authentication_token\n)\n")4803 -> 0.0009s4804-- execute("INSERT INTO personal_access_tokens (user_id, token, name, created_at, updated_at, scopes)\nSELECT id, authentication_token, 'Private Token', NOW(), NOW(), '---\n- api\n- sudo\n'\nFROM users\nWHERE authentication_token IS NOT NULL\nAND admin = TRUE\nAND NOT EXISTS (\n SELECT true\n FROM personal_access_tokens\n WHERE user_id = users.id\n AND token = users.authentication_token\n)\n")4805 -> 0.0006s4806== 20171012125712 MigrateUserAuthenticationTokenToPersonalAccessToken: migrated (0.0023s) 4807== 20171012150314 RemoveUserAuthenticationToken: migrating ====================4808-- remove_column(:users, :authentication_token)4809 -> 0.0743s4810== 20171012150314 RemoveUserAuthenticationToken: migrated (0.0743s) ===========4811== 20171013094327 CreateNewClustersArchitectures: migrating ===================4812-- create_table(:clusters, {})4813 -> 0.0174s4814-- create_table(:cluster_projects, {})4815 -> 0.0169s4816-- create_table(:cluster_platforms_kubernetes, {})4817 -> 0.0140s4818-- create_table(:cluster_providers_gcp, {})4819 -> 0.0151s4820== 20171013094327 CreateNewClustersArchitectures: migrated (0.0636s) ==========4821== 20171013104327 MigrateGcpClustersToNewClustersArchitectures: migrating =====4822== 20171013104327 MigrateGcpClustersToNewClustersArchitectures: migrated (0.0049s) 4823== 20171017145932 AddNewCircuitbreakerSettingsToApplicationSettings: migrating 4824-- add_column(:application_settings, :circuitbreaker_access_retries, :integer, {:default=>3})4825 -> 0.0442s4826-- add_column(:application_settings, :circuitbreaker_backoff_threshold, :integer, {:default=>80})4827 -> 0.0440s4828== 20171017145932 AddNewCircuitbreakerSettingsToApplicationSettings: migrated (0.0884s) 4829== 20171019141859 FixDevTimezoneSchema: migrating =============================4830-- change_column(:appearances, :created_at, :datetime_with_timezone)4831 -> 0.0045s4832-- change_column(:appearances, :updated_at, :datetime_with_timezone)4833 -> 0.0043s4834-- change_column(:ci_group_variables, :created_at, :datetime_with_timezone)4835 -> 0.0050s4836-- change_column(:ci_group_variables, :updated_at, :datetime_with_timezone)4837 -> 0.0044s4838-- change_column(:ci_pipeline_schedule_variables, :created_at, :datetime_with_timezone)4839 -> 0.0044s4840-- change_column(:ci_pipeline_schedule_variables, :updated_at, :datetime_with_timezone)4841 -> 0.0041s4842-- change_column(:events, :created_at, :datetime_with_timezone)4843 -> 0.0038s4844-- change_column(:events, :updated_at, :datetime_with_timezone)4845 -> 0.0036s4846-- change_column(:gpg_keys, :created_at, :datetime_with_timezone)4847 -> 0.0037s4848-- change_column(:gpg_keys, :updated_at, :datetime_with_timezone)4849 -> 0.0037s4850-- change_column(:gpg_signatures, :created_at, :datetime_with_timezone)4851 -> 0.0043s4852-- change_column(:gpg_signatures, :updated_at, :datetime_with_timezone)Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4853If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4854You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4855If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4856DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4857Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4858If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4859You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4860If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4861DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4862Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4863If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4864You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4865If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4866DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4867Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4868If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4869You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4870If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4871DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4872Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4873If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4874You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4875If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4876DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4877Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4878If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4879You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4880If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4881DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4882Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4883If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4884You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4885If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4886DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)4887Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.4888If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).4889You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)4890If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.4891DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)4892 -> 0.0041s4893-- change_column(:project_auto_devops, :created_at, :datetime_with_timezone)4894 -> 0.0039s4895-- change_column(:project_auto_devops, :updated_at, :datetime_with_timezone)4896 -> 0.0035s4897== 20171019141859 FixDevTimezoneSchema: migrated (0.0579s) ====================4898== 20171025110159 AddLatestMergeRequestDiffIdToMergeRequests: migrating =======4899-- add_column(:merge_requests, :latest_merge_request_diff_id, :integer)4900 -> 0.0408s4901-- transaction_open?()4902 -> 0.0000s4903-- index_name(:merge_requests, {:column=>["latest_merge_request_diff_id"]})4904 -> 0.0000s4905-- index_exists?(:merge_requests, :latest_merge_request_diff_id, {:name=>"index_merge_requests_on_latest_merge_request_diff_id"})4906 -> 0.0011s4907-- add_index(:merge_requests, :latest_merge_request_diff_id, {:name=>"index_merge_requests_on_latest_merge_request_diff_id"})4908 -> 0.0105s4909-- transaction_open?()4910 -> 0.0000s4911-- foreign_keys(:merge_requests)4912 -> 0.0011s4913-- add_foreign_key(:merge_requests, :merge_request_diffs, {:column=>:latest_merge_request_diff_id, :on_delete=>:nullify})4914 -> 0.0467s4915== 20171025110159 AddLatestMergeRequestDiffIdToMergeRequests: migrated (0.1006s) 4916== 20171026082505 ScheduleMergeRequestLatestMergeRequestDiffIdMigrations: migrating 4917== 20171026082505 ScheduleMergeRequestLatestMergeRequestDiffIdMigrations: migrated (0.0053s) 4918== 20171031100710 CreateClustersKubernetesHelmApps: migrating =================4919-- create_table(:clusters_applications_helm, {})4920 -> 0.0144s4921== 20171031100710 CreateClustersKubernetesHelmApps: migrated (0.0145s) ========4922== 20171101130535 AddGitalyTimeoutPropertiesToApplicationSettings: migrating ==4923-- transaction_open?()4924 -> 0.0000s4925-- transaction()4926-- add_column(:application_settings, :gitaly_timeout_default, :integer, {:default=>nil})4927 -> 0.0453s4928-- change_column_default(:application_settings, :gitaly_timeout_default, 55)4929 -> 0.0133s4930 -> 0.0595s4931-- transaction_open?()4932 -> 0.0000s4933-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4934 -> 0.0006s4935-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4936 -> 0.0005s4937-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4938 -> 0.0005s4939-- execute("UPDATE `application_settings` SET `gitaly_timeout_default` = 55 WHERE `application_settings`.`id` >= 1")4940 -> 0.0014s4941-- change_column_null(:application_settings, :gitaly_timeout_default, false)4942 -> 0.0541s4943-- transaction_open?()4944 -> 0.0000s4945-- transaction()4946-- add_column(:application_settings, :gitaly_timeout_medium, :integer, {:default=>nil})4947 -> 0.0444s4948-- change_column_default(:application_settings, :gitaly_timeout_medium, 30)4949 -> 0.0135s4950 -> 0.0588s4951-- transaction_open?()4952 -> 0.0000s4953-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4954 -> 0.0004s4955-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4956 -> 0.0004s4957-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4958 -> 0.0005s4959-- execute("UPDATE `application_settings` SET `gitaly_timeout_medium` = 30 WHERE `application_settings`.`id` >= 1")4960 -> 0.0012s4961-- change_column_null(:application_settings, :gitaly_timeout_medium, false)4962 -> 0.0542s4963-- transaction_open?()4964 -> 0.0000s4965-- transaction()4966-- add_column(:application_settings, :gitaly_timeout_fast, :integer, {:default=>nil})4967 -> 0.0448s4968-- change_column_default(:application_settings, :gitaly_timeout_fast, 10)4969 -> 0.0152s4970 -> 0.0611s4971-- transaction_open?()4972 -> 0.0000s4973-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")4974 -> 0.0005s4975-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")4976 -> 0.0004s4977-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")4978 -> 0.0004s4979-- execute("UPDATE `application_settings` SET `gitaly_timeout_fast` = 10 WHERE `application_settings`.`id` >= 1")4980 -> 0.0028s4981-- change_column_null(:application_settings, :gitaly_timeout_fast, false)4982 -> 0.0552s4983== 20171101130535 AddGitalyTimeoutPropertiesToApplicationSettings: migrated (0.3568s) 4984== 20171101134435 RemoveRefFetchedFromMergeRequests: migrating ================4985-- remove_column(:merge_requests, :ref_fetched, :boolean)4986 -> 0.0549s4987== 20171101134435 RemoveRefFetchedFromMergeRequests: migrated (0.0549s) =======4988== 20171103000000 SetUploadsPathSizeForMysql: migrating =======================4989-- change_column(:uploads, :path, :string, {:limit=>511})4990 -> 0.0055s4991== 20171103000000 SetUploadsPathSizeForMysql: migrated (0.0056s) ==============4992== 20171103140253 TrackUntrackedUploads: migrating ============================4993== 20171103140253 TrackUntrackedUploads: migrated (0.0012s) ===================4994== 20171106101200 CreateClustersKubernetesIngressApps: migrating ==============4995-- create_table(:clusters_applications_ingress, {})4996 -> 0.0137s4997== 20171106101200 CreateClustersKubernetesIngressApps: migrated (0.0138s) =====4998== 20171106132212 IssuesConfidentialNotNull: migrating ========================4999-- change_column_null(:issues, :confidential, false)5000 -> 0.0070s5001== 20171106132212 IssuesConfidentialNotNull: migrated (0.0094s) ===============5002== 20171106133143 RenameApplicationSettingsPasswordAuthenticationEnabledToPasswordAuthenticationEnabledForWeb: migrating 5003-- transaction_open?()5004 -> 0.0000s5005-- columns(:application_settings)5006 -> 0.0040s5007-- add_column(:application_settings, :password_authentication_enabled_for_web, :boolean, {:limit=>nil, :precision=>nil, :scale=>nil})5008 -> 0.0460s5009-- quote_table_name(:application_settings)5010 -> 0.0000s5011-- quote_column_name(:password_authentication_enabled)5012 -> 0.0000s5013-- quote_column_name(:password_authentication_enabled_for_web)5014 -> 0.0000s5015-- execute("CREATE TRIGGER trigger_1aa3789b513d_insert\nBEFORE INSERT\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled_for_web` = NEW.`password_authentication_enabled`\n")5016 -> 0.0058s5017-- execute("CREATE TRIGGER trigger_1aa3789b513d_update\nBEFORE UPDATE\nON `application_settings`\nFOR EACH ROW\nSET NEW.`password_authentication_enabled_for_web` = NEW.`password_authentication_enabled`\n")5018 -> 0.0049s5019-- transaction_open?()5020 -> 0.0000s5021-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")5022 -> 0.0010s5023-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")5024 -> 0.0004s5025-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")5026 -> 0.0005s5027-- execute("UPDATE `application_settings` SET `password_authentication_enabled_for_web` = `application_settings`.`password_authentication_enabled` WHERE `application_settings`.`id` >= 1")5028 -> 0.0013s5029-- indexes(:application_settings)5030 -> 0.0005s5031-- foreign_keys(:application_settings)5032 -> 0.0007s5033== 20171106133143 RenameApplicationSettingsPasswordAuthenticationEnabledToPasswordAuthenticationEnabledForWeb: migrated (0.0688s) 5034== 20171106133144 CleanupApplicationSettingsPasswordAuthenticationEnabledRename: migrating 5035-- execute("DROP TRIGGER IF EXISTS trigger_1aa3789b513d_insert")5036 -> 0.0027s5037-- execute("DROP TRIGGER IF EXISTS trigger_1aa3789b513d_update")5038 -> 0.0008s5039-- remove_column(:application_settings, :password_authentication_enabled)5040 -> 0.0447s5041== 20171106133144 CleanupApplicationSettingsPasswordAuthenticationEnabledRename: migrated (0.0498s) 5042== 20171106133911 AddPasswordAuthenticationEnabledForGitToApplicationSettings: migrating 5043-- add_column(:application_settings, :password_authentication_enabled_for_git, :boolean, {:default=>true, :null=>false})5044 -> 0.0450s5045== 20171106133911 AddPasswordAuthenticationEnabledForGitToApplicationSettings: migrated (0.0451s) 5046== 20171106135924 IssuesMilestoneIdForeignKey: migrating ======================5047-- transaction_open?()5048 -> 0.0000s5049-- foreign_keys(:issues)5050 -> 0.0008s5051-- add_foreign_key(:issues, :milestones, {:column=>:milestone_id, :on_delete=>:nullify})5052 -> 0.0433s5053== 20171106135924 IssuesMilestoneIdForeignKey: migrated (0.0465s) =============5054== 20171106150657 IssuesUpdatedByIdForeignKey: migrating ======================5055-- transaction_open?()5056 -> 0.0000s5057-- index_name(:issues, {:column=>["updated_by_id"]})5058 -> 0.0000s5059-- index_exists?(:issues, :updated_by_id, {:where=>"updated_by_id IS NOT NULL", :name=>"index_issues_on_updated_by_id"})5060 -> 0.0007s5061-- add_index(:issues, :updated_by_id, {:where=>"updated_by_id IS NOT NULL", :name=>"index_issues_on_updated_by_id"})5062 -> 0.0099s5063-- transaction_open?()5064 -> 0.0000s5065-- foreign_keys(:issues)5066 -> 0.0010s5067-- add_foreign_key(:issues, :users, {:column=>:updated_by_id, :on_delete=>:nullify})5068 -> 0.0422s5069== 20171106150657 IssuesUpdatedByIdForeignKey: migrated (0.0571s) =============5070== 20171106151218 IssuesMovedToIdForeignKey: migrating ========================5071-- transaction_open?()5072 -> 0.0000s5073-- foreign_keys(:issues)5074 -> 0.0010s5075-- add_foreign_key(:issues, :issues, {:column=>:moved_to_id, :on_delete=>:nullify})5076 -> 0.0467s5077-- transaction_open?()5078 -> 0.0000s5079-- index_name(:issues, {:column=>["moved_to_id"]})5080 -> 0.0000s5081-- index_exists?(:issues, :moved_to_id, {:where=>"moved_to_id IS NOT NULL", :name=>"index_issues_on_moved_to_id"})5082 -> 0.0013s5083-- add_index(:issues, :moved_to_id, {:where=>"moved_to_id IS NOT NULL", :name=>"index_issues_on_moved_to_id"})5084 -> 0.0113s5085== 20171106151218 IssuesMovedToIdForeignKey: migrated (0.0635s) ===============5086== 20171106154015 RemoveIssuesBranchName: migrating ===========================5087-- remove_column(:issues, :branch_name, :string)5088 -> 0.0418s5089== 20171106154015 RemoveIssuesBranchName: migrated (0.0419s) ==================5090== 20171106155656 TurnIssuesDueDateIndexToPartialIndex: migrating =============5091-- transaction_open?()5092 -> 0.0000s5093-- index_exists?(:issues, [:project_id, :due_date, :id, :state], {:where=>"due_date IS NOT NULL", :name=>"idx_issues_on_project_id_and_due_date_and_id_and_state_partial"})5094 -> 0.0007s5095-- add_index(:issues, [:project_id, :due_date, :id, :state], {:where=>"due_date IS NOT NULL", :name=>"idx_issues_on_project_id_and_due_date_and_id_and_state_partial"})5096 -> 0.0091s5097-- transaction_open?()5098 -> 0.0000s5099-- indexes(:issues)5100 -> 0.0009s5101-- index_name(:issues, {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})5102 -> 0.0000s5103-- index_name_exists?(:issues, "index_issues_on_project_id_and_due_date_and_id_and_state", true)5104 -> 0.0007s5105-- remove_index(:issues, {:name=>"index_issues_on_project_id_and_due_date_and_id_and_state"})5106 -> 0.0064s5107== 20171106155656 TurnIssuesDueDateIndexToPartialIndex: migrated (0.0182s) ====5108== 20171106171453 AddTimezoneToIssuesClosedAt: migrating ======================5109-- transaction_open?()5110 -> 0.0000s5111-- columns(:issues)5112 -> 0.0014s5113-- add_column(:issues, "closed_at_for_type_change", :datetime_with_timezone, {:limit=>nil, :precision=>0, :scale=>nil})5114 -> 0.0397s5115-- quote_table_name(:issues)5116 -> 0.0000s5117-- quote_column_name(:closed_at)5118 -> 0.0000s5119-- quote_column_name("closed_at_for_type_change")5120 -> 0.0000s5121-- execute("CREATE TRIGGER trigger_08acb26c5ecf_insert\nBEFORE INSERT\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")5122 -> 0.0048s5123-- execute("CREATE TRIGGER trigger_08acb26c5ecf_update\nBEFORE UPDATE\nON `issues`\nFOR EACH ROW\nSET NEW.`closed_at_for_type_change` = NEW.`closed_at`\n")5124 -> 0.0046s5125-- transaction_open?()5126 -> 0.0000s5127-- exec_query("SELECT COUNT(*) AS count FROM `issues`")5128 -> 0.0010s5129-- indexes(:issues)5130 -> 0.0007s5131-- foreign_keys(:issues)5132 -> 0.0009s5133== 20171106171453 AddTimezoneToIssuesClosedAt: migrated (0.0555s) =============5134== 20171106180641 CleanupAddTimezoneToIssuesClosedAt: migrating ===============5135-- transaction()5136-- execute("DROP TRIGGER IF EXISTS trigger_08acb26c5ecf_insert")5137 -> 0.0025s5138-- execute("DROP TRIGGER IF EXISTS trigger_08acb26c5ecf_update")5139 -> 0.0007s5140-- remove_column(:issues, :closed_at)5141 -> 0.0385s5142-- rename_column(:issues, "closed_at_for_type_change", :closed_at)5143 -> 0.0068s5144 -> 0.0509s5145== 20171106180641 CleanupAddTimezoneToIssuesClosedAt: migrated (0.0509s) ======5146== 20171114104051 RemoveEmptyForkNetworks: migrating ==========================5147-- Deleting empty ForkNetworks in batches5148== 20171114104051 RemoveEmptyForkNetworks: migrated (0.0039s) =================5149== 20171114150259 MergeRequestsAuthorIdForeignKey: migrating ==================5150-- transaction_open?()5151 -> 0.0000s5152-- foreign_keys(:merge_requests)5153 -> 0.0008s5154-- add_foreign_key(:merge_requests, :users, {:column=>:author_id, :on_delete=>:nullify})5155 -> 0.0473s5156== 20171114150259 MergeRequestsAuthorIdForeignKey: migrated (0.0518s) =========5157== 20171114160005 MergeRequestsAssigneeIdForeignKey: migrating ================5158-- transaction_open?()5159 -> 0.0000s5160-- foreign_keys(:merge_requests)5161 -> 0.0010s5162-- add_foreign_key(:merge_requests, :users, {:column=>:assignee_id, :on_delete=>:nullify})5163 -> 0.0483s5164== 20171114160005 MergeRequestsAssigneeIdForeignKey: migrated (0.0522s) =======5165== 20171114160904 MergeRequestsUpdatedByIdForeignKey: migrating ===============5166-- transaction_open?()5167 -> 0.0000s5168-- index_name(:merge_requests, {:column=>["updated_by_id"]})5169 -> 0.0000s5170-- index_exists?(:merge_requests, :updated_by_id, {:where=>"updated_by_id IS NOT NULL", :name=>"index_merge_requests_on_updated_by_id"})5171 -> 0.0008s5172-- add_index(:merge_requests, :updated_by_id, {:where=>"updated_by_id IS NOT NULL", :name=>"index_merge_requests_on_updated_by_id"})5173 -> 0.0094s5174-- transaction_open?()5175 -> 0.0000s5176-- foreign_keys(:merge_requests)5177 -> 0.0009s5178-- add_foreign_key(:merge_requests, :users, {:column=>:updated_by_id, :on_delete=>:nullify})5179 -> 0.0490s5180== 20171114160904 MergeRequestsUpdatedByIdForeignKey: migrated (0.0633s) ======5181== 20171114161720 MergeRequestsMergeUserIdForeignKey: migrating ===============5182-- transaction_open?()5183 -> 0.0000s5184-- index_name(:merge_requests, {:column=>["merge_user_id"]})5185 -> 0.0000s5186-- index_exists?(:merge_requests, :merge_user_id, {:where=>"merge_user_id IS NOT NULL", :name=>"index_merge_requests_on_merge_user_id"})5187 -> 0.0007s5188-- add_index(:merge_requests, :merge_user_id, {:where=>"merge_user_id IS NOT NULL", :name=>"index_merge_requests_on_merge_user_id"})5189 -> 0.0107s5190-- transaction_open?()5191 -> 0.0000s5192-- foreign_keys(:merge_requests)5193 -> 0.0010s5194-- add_foreign_key(:merge_requests, :users, {:column=>:merge_user_id, :on_delete=>:nullify})5195 -> 0.0517s5196== 20171114161720 MergeRequestsMergeUserIdForeignKey: migrated (0.0675s) ======5197== 20171114161914 MergeRequestsSourceProjectIdForeignKey: migrating ===========5198-- change_column_null(:merge_requests, :source_project_id, true)5199 -> 0.0506s5200-- transaction_open?()5201 -> 0.0000s5202-- foreign_keys(:merge_requests)5203 -> 0.0012s5204-- add_foreign_key(:merge_requests, :projects, {:column=>:source_project_id, :on_delete=>:nullify})5205 -> 0.0535s5206== 20171114161914 MergeRequestsSourceProjectIdForeignKey: migrated (0.1085s) ==5207== 20171114162227 MergeRequestsMilestoneIdForeignKey: migrating ===============5208-- transaction_open?()5209 -> 0.0000s5210-- foreign_keys(:merge_requests)5211 -> 0.0009s5212-- add_foreign_key(:merge_requests, :milestones, {:column=>:milestone_id, :on_delete=>:nullify})5213 -> 0.0501s5214== 20171114162227 MergeRequestsMilestoneIdForeignKey: migrated (0.0539s) ======5215== 20171115164540 PopulateMergeRequestsLatestMergeRequestDiffIdTakeTwo: migrating 5216== 20171115164540 PopulateMergeRequestsLatestMergeRequestDiffIdTakeTwo: migrated (0.0045s) 5217== 20171116135628 AddEnvironmentScopeToClusters: migrating ====================5218-- transaction_open?()5219 -> 0.0000s5220-- transaction()5221-- add_column(:clusters, :environment_scope, :string, {:default=>nil})5222 -> 0.0201s5223-- change_column_default(:clusters, :environment_scope, "*")5224 -> 0.0059s5225 -> 0.0268s5226-- transaction_open?()5227 -> 0.0000s5228-- exec_query("SELECT COUNT(*) AS count FROM `clusters`")Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5229If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5230You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5231If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5232DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)5233Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5234If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5235You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5236If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5237DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)5238 -> 0.0005s5239-- change_column_null(:clusters, :environment_scope, false)5240 -> 0.0222s5241== 20171116135628 AddEnvironmentScopeToClusters: migrated (0.0500s) ===========5242== 20171121135738 CleanUpFromMergeRequestDiffsAndCommits: migrating ===========5243== 20171121135738 CleanUpFromMergeRequestDiffsAndCommits: migrated (0.0037s) ==5244== 20171121144800 CiPipelinesIndexOnProjectIdRefStatusId: migrating ===========5245-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status", "id"]})5246 -> 0.0000s5247-- index_exists?(:ci_pipelines, [:project_id, :ref, :status, :id], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"})5248 -> 0.0007s5249-- transaction_open?()5250 -> 0.0000s5251-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status", "id"]})5252 -> 0.0000s5253-- index_exists?(:ci_pipelines, [:project_id, :ref, :status, :id], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"})5254 -> 0.0004s5255-- add_index(:ci_pipelines, [:project_id, :ref, :status, :id], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"})5256 -> 0.0095s5257-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status"]})5258 -> 0.0000s5259-- index_exists?(:ci_pipelines, [:project_id, :ref, :status], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status"})5260 -> 0.0006s5261-- transaction_open?()5262 -> 0.0000s5263-- index_name(:ci_pipelines, {:column=>["project_id", "ref", "status"]})5264 -> 0.0000s5265-- index_exists?(:ci_pipelines, [:project_id, :ref, :status], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status"})5266 -> 0.0005s5267-- index_name(:ci_pipelines, {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status", :column=>[:project_id, :ref, :status]})5268 -> 0.0000s5269-- index_name_exists?(:ci_pipelines, "index_ci_pipelines_on_project_id_and_ref_and_status", true)5270 -> 0.0005s5271-- remove_index(:ci_pipelines, {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status", :column=>[:project_id, :ref, :status]})5272 -> 0.0062s5273== 20171121144800 CiPipelinesIndexOnProjectIdRefStatusId: migrated (0.0192s) ==5274== 20171121160421 RemoveMergeRequestDiffStCommitsAndStDiffs: migrating ========5275-- remove_column(:merge_request_diffs, :st_commits, :text)5276 -> 0.0177s5277-- remove_column(:merge_request_diffs, :st_diffs, :text)5278 -> 0.0173s5279== 20171121160421 RemoveMergeRequestDiffStCommitsAndStDiffs: migrated (0.0352s) 5280== 20171122131600 AddNewProjectGuidelinesToAppearances: migrating =============5281-- change_table(:appearances, {})5282 -> 0.0292s5283== 20171122131600 AddNewProjectGuidelinesToAppearances: migrated (0.0293s) ====5284== 20171123094802 AddCircuitbreakerCheckIntervalToApplicationSettings: migrating 5285-- transaction_open?()5286 -> 0.0000s5287-- transaction()5288-- add_column(:application_settings, :circuitbreaker_check_interval, :integer, {:default=>nil})5289 -> 0.0464s5290-- change_column_default(:application_settings, :circuitbreaker_check_interval, 1)5291 -> 0.0129s5292 -> 0.0603s5293-- transaction_open?()5294 -> 0.0000s5295-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")5296 -> 0.0005s5297-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")5298 -> 0.0005s5299-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")5300 -> 0.0006s5301-- execute("UPDATE `application_settings` SET `circuitbreaker_check_interval` = 1 WHERE `application_settings`.`id` >= 1")5302 -> 0.0015s5303-- change_column_null(:application_settings, :circuitbreaker_check_interval, false)5304 -> 0.0517s5305== 20171123094802 AddCircuitbreakerCheckIntervalToApplicationSettings: migrated (0.1163s) 5306== 20171123101020 UpdateCircuitbreakerDefaults: migrating =====================5307-- change_column_default(:application_settings, :circuitbreaker_failure_count_threshold, 3)5308 -> 0.0126s5309-- change_column_default(:application_settings, :circuitbreaker_storage_timeout, 15)5310 -> 0.0124s5311== 20171123101020 UpdateCircuitbreakerDefaults: migrated (0.0307s) ============5312== 20171123101046 RemoveOldCircuitbreakerConfig: migrating ====================5313-- remove_column(:application_settings, :circuitbreaker_backoff_threshold)5314 -> 0.0453s5315-- remove_column(:application_settings, :circuitbreaker_failure_wait_time)5316 -> 0.0447s5317== 20171123101046 RemoveOldCircuitbreakerConfig: migrated (0.0902s) ===========5318== 20171124095655 AddIndexOnMergeRequestDiffsMergeRequestIdAndId: migrating ===5319-- transaction_open?()5320 -> 0.0000s5321-- index_name(:merge_request_diffs, {:column=>["merge_request_id", "id"]})5322 -> 0.0000s5323-- index_exists?(:merge_request_diffs, [:merge_request_id, :id], {:name=>"index_merge_request_diffs_on_merge_request_id_and_id"})5324 -> 0.0006s5325-- add_index(:merge_request_diffs, [:merge_request_id, :id], {:name=>"index_merge_request_diffs_on_merge_request_id_and_id"})5326 -> 0.0096s5327== 20171124095655 AddIndexOnMergeRequestDiffsMergeRequestIdAndId: migrated (0.0105s) 5328== 20171124100152 RemoveIndexOnMergeRequestDiffsMergeRequestDiffId: migrating =5329-- index_name(:merge_request_diffs, {:column=>["merge_request_id"]})5330 -> 0.0000s5331-- index_exists?(:merge_request_diffs, :merge_request_id, {:name=>"index_merge_request_diffs_on_merge_request_id"})5332 -> 0.0006s5333-- transaction_open?()5334 -> 0.0000s5335-- index_name(:merge_request_diffs, {:column=>["merge_request_id"]})5336 -> 0.0000s5337-- index_exists?(:merge_request_diffs, :merge_request_id, {:name=>"index_merge_request_diffs_on_merge_request_id"})5338 -> 0.0004s5339-- index_name(:merge_request_diffs, {:name=>"index_merge_request_diffs_on_merge_request_id", :column=>:merge_request_id})5340 -> 0.0000s5341-- index_name_exists?(:merge_request_diffs, "index_merge_request_diffs_on_merge_request_id", true)5342 -> 0.0005s5343-- remove_index(:merge_request_diffs, {:name=>"index_merge_request_diffs_on_merge_request_id", :column=>:merge_request_id})5344 -> 0.0061s5345== 20171124100152 RemoveIndexOnMergeRequestDiffsMergeRequestDiffId: migrated (0.0080s) 5346== 20171124104327 MigrateKubernetesServiceToNewClustersArchitectures: migrating 5347== 20171124104327 MigrateKubernetesServiceToNewClustersArchitectures: migrated (0.0068s) 5348== 20171124125042 AddDefaultValuesToMergeRequestStates: migrating =============5349-- change_column_default(:merge_requests, :state, :opened)5350 -> 0.0070s5351-- change_column_default(:merge_requests, :merge_status, :unchecked)5352 -> 0.0069s5353== 20171124125042 AddDefaultValuesToMergeRequestStates: migrated (0.0141s) ====5354== 20171124125748 PopulateMissingMergeRequestStatuses: migrating ==============5355-- Populating missing merge_requests.state values5356-- Populating missing merge_requests.merge_status values. This will take a few minutes...5357== 20171124125748 PopulateMissingMergeRequestStatuses: migrated (0.0033s) =====5358== 20171124132536 MakeMergeRequestStatusesNotNull: migrating ==================5359-- change_column_null(:merge_requests, :state, false)5360 -> 0.0509s5361-- change_column_null(:merge_requests, :merge_status, false)5362 -> 0.0512s5363== 20171124132536 MakeMergeRequestStatusesNotNull: migrated (0.1022s) =========5364== 20171124150326 RescheduleForkNetworkCreation: migrating ====================5365-- Fork networks will be populated in 20171205190711 - RescheduleForkNetworkCreationCaller5366== 20171124150326 RescheduleForkNetworkCreation: migrated (0.0000s) ===========5367== 20171127151038 AddEventsRelatedColumnsToMergeRequestMetrics: migrating =====5368-- change_table(:merge_request_metrics, {})5369 -> 0.0457s5370-- add_column(:merge_request_metrics, :latest_closed_at, :datetime_with_timezone)5371 -> 0.0218s5372-- transaction_open?()5373 -> 0.0000s5374-- foreign_keys(:merge_request_metrics)5375 -> 0.0011s5376-- add_foreign_key(:merge_request_metrics, :users, {:column=>:merged_by_id, :on_delete=>:nullify})5377 -> 0.0282s5378-- transaction_open?()5379 -> 0.0000s5380-- foreign_keys(:merge_request_metrics)5381 -> 0.0014s5382-- add_foreign_key(:merge_request_metrics, :users, {:column=>:latest_closed_by_id, :on_delete=>:nullify})5383 -> 0.0291s5384== 20171127151038 AddEventsRelatedColumnsToMergeRequestMetrics: migrated (0.1278s) 5385== 20171128214150 SchedulePopulateMergeRequestMetricsWithEventsData: migrating 5386-- Scheduling `PopulateMergeRequestMetricsWithEventsData` jobsArel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5387If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5388You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5389If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5390DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)5391== 20171128214150 SchedulePopulateMergeRequestMetricsWithEventsData: migrated (0.0026s) 5392== 20171204204233 AddPermanentToRedirectRoute: migrating ======================5393-- add_column(:redirect_routes, :permanent, :boolean)5394 -> 0.0207s5395== 20171204204233 AddPermanentToRedirectRoute: migrated (0.0208s) =============5396== 20171205190711 RescheduleForkNetworkCreationCaller: migrating ==============5397-- Populating the `fork_networks` based on existing `forked_project_links`5398== 20171205190711 RescheduleForkNetworkCreationCaller: migrated (0.0031s) =====5399== 20171206221519 AddPermanentIndexToRedirectRoute: migrating =================5400-- transaction_open?()5401 -> 0.0000s5402-- index_name(:redirect_routes, {:column=>["permanent"]})5403 -> 0.0000s5404-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})5405 -> 0.0006s5406-- add_index(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})5407 -> 0.0092s5408== 20171206221519 AddPermanentIndexToRedirectRoute: migrated (0.0101s) ========5409== 20171207150300 RemoveProjectLabelsGroupIdCopy: migrating ===================5410-- transaction_open?()5411 -> 0.0000s5412-- exec_query("SELECT COUNT(*) AS count FROM `labels` WHERE `labels`.`type` = 'ProjectLabel' AND `labels`.`group_id` IS NOT NULL")5413 -> 0.0005s5414== 20171207150300 RemoveProjectLabelsGroupIdCopy: migrated (0.0022s) ==========5415== 20171207150343 RemoveSoftRemovedObjects: migrating =========================5416-- Not scheduling soft removed groups for removal as no admin user could be found. You will need to remove any such groups manually.5417-- index_exists?("issues", [:deleted_at, :id], {:name=>"index_on_issues_tmp"})5418 -> 0.0007s5419-- Creating temporary index index_on_issues_tmp5420-- transaction_open?()5421 -> 0.0000s5422-- index_exists?("issues", [:deleted_at, :id], {:name=>"index_on_issues_tmp", :where=>"deleted_at IS NOT NULL"})5423 -> 0.0006s5424-- add_index("issues", [:deleted_at, :id], {:name=>"index_on_issues_tmp", :where=>"deleted_at IS NOT NULL"})5425 -> 0.0099s5426 -> 0.0107s5427-- index_exists?("merge_requests", [:deleted_at, :id], {:name=>"index_on_merge_requests_tmp"})5428 -> 0.0008s5429-- Creating temporary index index_on_merge_requests_tmp5430-- transaction_open?()5431 -> 0.0000s5432-- index_exists?("merge_requests", [:deleted_at, :id], {:name=>"index_on_merge_requests_tmp", :where=>"deleted_at IS NOT NULL"})5433 -> 0.0006s5434-- add_index("merge_requests", [:deleted_at, :id], {:name=>"index_on_merge_requests_tmp", :where=>"deleted_at IS NOT NULL"})5435 -> 0.0095s5436 -> 0.0103s5437-- index_exists?("ci_pipeline_schedules", [:deleted_at, :id], {:name=>"index_on_ci_pipeline_schedules_tmp"})5438 -> 0.0007s5439-- Creating temporary index index_on_ci_pipeline_schedules_tmp5440-- transaction_open?()5441 -> 0.0000s5442-- index_exists?("ci_pipeline_schedules", [:deleted_at, :id], {:name=>"index_on_ci_pipeline_schedules_tmp", :where=>"deleted_at IS NOT NULL"})5443 -> 0.0005s5444-- add_index("ci_pipeline_schedules", [:deleted_at, :id], {:name=>"index_on_ci_pipeline_schedules_tmp", :where=>"deleted_at IS NOT NULL"})5445 -> 0.0091s5446 -> 0.0098s5447-- index_exists?("ci_triggers", [:deleted_at, :id], {:name=>"index_on_ci_triggers_tmp"})5448 -> 0.0009s5449-- Creating temporary index index_on_ci_triggers_tmp5450-- transaction_open?()5451 -> 0.0000s5452-- index_exists?("ci_triggers", [:deleted_at, :id], {:name=>"index_on_ci_triggers_tmp", :where=>"deleted_at IS NOT NULL"})5453 -> 0.0005s5454-- add_index("ci_triggers", [:deleted_at, :id], {:name=>"index_on_ci_triggers_tmp", :where=>"deleted_at IS NOT NULL"})5455 -> 0.0081s5456 -> 0.0088s5457-- Removing soft removed rows from issues5458 -> 0.0022s5459-- Removing soft removed rows from merge_requests5460 -> 0.0022s5461-- Removing soft removed rows from ci_pipeline_schedules5462 -> 0.0030s5463-- Removing soft removed rows from ci_triggers5464 -> 0.0027s5465-- index_exists?("issues", [:deleted_at, :id], {:name=>"index_on_issues_tmp"})5466 -> 0.0007s5467-- Removing temporary index index_on_issues_tmp5468-- transaction_open?()5469 -> 0.0000s5470-- indexes("issues")5471 -> 0.0006s5472-- index_name("issues", {:name=>"index_on_issues_tmp"})5473 -> 0.0000s5474-- index_name_exists?("issues", "index_on_issues_tmp", true)5475 -> 0.0006s5476-- remove_index("issues", {:name=>"index_on_issues_tmp"})5477 -> 0.0062s5478 -> 0.0077s5479-- index_exists?("merge_requests", [:deleted_at, :id], {:name=>"index_on_merge_requests_tmp"})5480 -> 0.0007s5481-- Removing temporary index index_on_merge_requests_tmp5482-- transaction_open?()5483 -> 0.0000s5484-- indexes("merge_requests")5485 -> 0.0008s5486-- index_name("merge_requests", {:name=>"index_on_merge_requests_tmp"})5487 -> 0.0000s5488-- index_name_exists?("merge_requests", "index_on_merge_requests_tmp", true)5489 -> 0.0006s5490-- remove_index("merge_requests", {:name=>"index_on_merge_requests_tmp"})5491 -> 0.0058s5492 -> 0.0073s5493-- index_exists?("ci_pipeline_schedules", [:deleted_at, :id], {:name=>"index_on_ci_pipeline_schedules_tmp"})5494 -> 0.0006s5495-- Removing temporary index index_on_ci_pipeline_schedules_tmp5496-- transaction_open?()5497 -> 0.0000s5498-- indexes("ci_pipeline_schedules")5499 -> 0.0005s5500-- index_name("ci_pipeline_schedules", {:name=>"index_on_ci_pipeline_schedules_tmp"})5501 -> 0.0000s5502-- index_name_exists?("ci_pipeline_schedules", "index_on_ci_pipeline_schedules_tmp", true)5503 -> 0.0004s5504-- remove_index("ci_pipeline_schedules", {:name=>"index_on_ci_pipeline_schedules_tmp"})5505 -> 0.0053s5506 -> 0.0064s5507-- index_exists?("ci_triggers", [:deleted_at, :id], {:name=>"index_on_ci_triggers_tmp"})5508 -> 0.0005s5509-- Removing temporary index index_on_ci_triggers_tmp5510-- transaction_open?()5511 -> 0.0000s5512-- indexes("ci_triggers")5513 -> 0.0006s5514-- index_name("ci_triggers", {:name=>"index_on_ci_triggers_tmp"})5515 -> 0.0000s5516-- index_name_exists?("ci_triggers", "index_on_ci_triggers_tmp", true)5517 -> 0.0004s5518-- remove_index("ci_triggers", {:name=>"index_on_ci_triggers_tmp"})5519 -> 0.0053s5520 -> 0.0065s5521== 20171207150343 RemoveSoftRemovedObjects: migrated (0.0921s) ================5522== 20171207150344 RemoveDeletedAtColumns: migrating ===========================5523-- column_exists?(:issues, :deleted_at)5524 -> 0.0016s5525-- remove_column(:issues, :deleted_at)5526 -> 0.0356s5527-- column_exists?(:merge_requests, :deleted_at)5528 -> 0.0020s5529-- remove_column(:merge_requests, :deleted_at)5530 -> 0.0426s5531-- column_exists?(:namespaces, :deleted_at)5532 -> 0.0017s5533-- remove_column(:namespaces, :deleted_at)5534 -> 0.0622s5535-- column_exists?(:ci_pipeline_schedules, :deleted_at)5536 -> 0.0015s5537-- remove_column(:ci_pipeline_schedules, :deleted_at)5538 -> 0.0212s5539-- column_exists?(:ci_triggers, :deleted_at)5540 -> 0.0014s5541-- remove_column(:ci_triggers, :deleted_at)5542 -> 0.0193s5543== 20171207150344 RemoveDeletedAtColumns: migrated (0.1896s) ==================5544== 20171207185153 AddMergeRequestStateIndex: migrating ========================5545-- transaction_open?()5546 -> 0.0000s5547-- index_exists?(:merge_requests, [:source_project_id, :source_branch], {:where=>"state = 'opened'", :name=>"index_merge_requests_on_source_project_and_branch_state_opened"})5548 -> 0.0008s5549-- add_index(:merge_requests, [:source_project_id, :source_branch], {:where=>"state = 'opened'", :name=>"index_merge_requests_on_source_project_and_branch_state_opened"})5550 -> 0.0099s5551== 20171207185153 AddMergeRequestStateIndex: migrated (0.0109s) ===============5552== 20171211145425 AddCanPushToDeployKeysProjects: migrating ===================5553-- transaction_open?()5554 -> 0.0000s5555-- transaction()5556-- add_column(:deploy_keys_projects, :can_push, :boolean, {:default=>nil})5557 -> 0.0187s5558-- change_column_default(:deploy_keys_projects, :can_push, false)5559 -> 0.0049s5560 -> 0.0242s5561-- transaction_open?()5562 -> 0.0000s5563-- exec_query("SELECT COUNT(*) AS count FROM `deploy_keys_projects`")5564 -> 0.0004s5565-- change_column_null(:deploy_keys_projects, :can_push, false)5566 -> 0.0190s5567== 20171211145425 AddCanPushToDeployKeysProjects: migrated (0.0441s) ==========5568== 20171212203433 CreateClustersApplicationsPrometheus: migrating =============5569-- create_table(:clusters_applications_prometheus, {})5570 -> 0.0148s5571== 20171212203433 CreateClustersApplicationsPrometheus: migrated (0.0148s) ====5572== 20171213160445 MigrateGithubImporterAdvanceStageSidekiqQueue: migrating ====5573== 20171213160445 MigrateGithubImporterAdvanceStageSidekiqQueue: migrated (0.0005s) 5574== 20171214144320 AddStoreColumnToUploads: migrating ==========================5575-- add_column(:uploads, :store, :integer)5576 -> 0.0216s5577== 20171214144320 AddStoreColumnToUploads: migrated (0.0216s) =================5578== 20171215113714 PopulateCanPushFromDeployKeysProjects: migrating ============5579== 20171215113714 PopulateCanPushFromDeployKeysProjects: migrated (0.0031s) ===5580== 20171215121205 PostPopulateCanPushFromDeployKeysProjects: migrating ========5581== 20171215121205 PostPopulateCanPushFromDeployKeysProjects: migrated (0.0013s) 5582== 20171215121259 RemoveCanPushFromKeys: migrating ============================5583-- remove_column(:keys, :can_push)5584 -> 0.0202s5585== 20171215121259 RemoveCanPushFromKeys: migrated (0.0202s) ===================5586== 20171216111734 CleanUpForMembers: migrating ================================5587== 20171216111734 CleanUpForMembers: migrated (0.0036s) =======================5588== 20171216112339 AddForeignKeyForMembers: migrating ==========================5589-- transaction_open?()5590 -> 0.0000s5591-- foreign_keys(:members)5592 -> 0.0008s5593-- add_foreign_key(:members, :users, {:column=>:user_id, :on_delete=>:cascade})5594 -> 0.0287s5595== 20171216112339 AddForeignKeyForMembers: migrated (0.0297s) =================5596== 20171219121201 NormalizeExternUidFromIdentities: migrating =================5597== 20171219121201 NormalizeExternUidFromIdentities: migrated (0.0017s) ========5598== 20171220191323 AddIndexOnNamespacesLowerName: migrating ====================5599== 20171220191323 AddIndexOnNamespacesLowerName: migrated (0.0000s) ===========5600== 20171221140220 ScheduleIssuesClosedAtTypeChange: migrating =================5601-- columns("issues")5602 -> 0.0016s5603== 20171221140220 ScheduleIssuesClosedAtTypeChange: migrated (0.0016s) ========5604== 20171222115326 AddConfidentialNoteEventsToWebHooks: migrating ==============5605-- add_column(:web_hooks, :confidential_note_events, :boolean)5606 -> 0.0207s5607== 20171222115326 AddConfidentialNoteEventsToWebHooks: migrated (0.0209s) =====5608== 20171222183504 AddJobsCacheIndexToProject: migrating =======================5609-- add_column(:projects, :jobs_cache_index, :integer)5610 -> 0.0425s5611== 20171222183504 AddJobsCacheIndexToProject: migrated (0.0425s) ==============5612== 20171229225929 ChangeUserProjectLimitNotNullAndRemoveDefault: migrating ====5613-- change_column_null(:users, :projects_limit, false)5614 -> 0.0768s5615-- change_column_default(:users, :projects_limit, nil)5616 -> 0.0089s5617== 20171229225929 ChangeUserProjectLimitNotNullAndRemoveDefault: migrated (0.0858s) 5618== 20171230123729 AddRebaseCommitShaToMergeRequestsCe: migrating ==============5619-- column_exists?(:merge_requests, :rebase_commit_sha)5620 -> 0.0016s5621-- add_column(:merge_requests, :rebase_commit_sha, :string)5622 -> 0.0453s5623== 20171230123729 AddRebaseCommitShaToMergeRequestsCe: migrated (0.0471s) =====5624== 20180101160629 CreatePrometheusMetrics: migrating ==========================5625-- create_table(:prometheus_metrics, {})5626 -> 0.0161s5627== 20180101160629 CreatePrometheusMetrics: migrated (0.0162s) =================5628== 20180101160630 ChangeProjectIdForPrometheusMetrics: migrating ==============5629-- change_column_null(:prometheus_metrics, :project_id, true)5630 -> 0.0207s5631== 20180101160630 ChangeProjectIdForPrometheusMetrics: migrated (0.0207s) =====5632== 20180102220145 AddPagesHttpsOnlyToProjects: migrating ======================5633-- add_column(:projects, :pages_https_only, :boolean)5634 -> 0.0404s5635== 20180102220145 AddPagesHttpsOnlyToProjects: migrated (0.0405s) =============5636== 20180103123548 AddConfidentialNoteEventsToServices: migrating ==============5637-- add_column(:services, :confidential_note_events, :boolean)5638 -> 0.0181s5639-- change_column_default(:services, :confidential_note_events, true)5640 -> 0.0056s5641== 20180103123548 AddConfidentialNoteEventsToServices: migrated (0.0238s) =====5642== 20180104131052 ScheduleSetConfidentialNoteEventsOnWebhooks: migrating ======5643== 20180104131052 ScheduleSetConfidentialNoteEventsOnWebhooks: migrated (0.0037s) 5644== 20180105212544 AddCommitsCountToMergeRequestDiff: migrating ================5645-- add_column(:merge_request_diffs, :commits_count, :integer)5646 -> 0.0174s5647-- Populating the MergeRequestDiff `commits_count`5648== 20180105212544 AddCommitsCountToMergeRequestDiff: migrated (0.0191s) =======5649== 20180109183319 ChangeDefaultValueForPagesHttpsOnly: migrating ==============5650-- change_column_default(:projects, :pages_https_only, true)5651 -> 0.0078s5652== 20180109183319 ChangeDefaultValueForPagesHttpsOnly: migrated (0.0078s) =====5653== 20180113220114 ReworkRedirectRoutesIndexes: migrating ======================5654-- index_name(:redirect_routes, {:column=>["permanent"]})5655 -> 0.0000s5656-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})5657 -> 0.0006s5658-- transaction_open?()5659 -> 0.0000s5660-- index_name(:redirect_routes, {:column=>["permanent"]})5661 -> 0.0000s5662-- index_exists?(:redirect_routes, :permanent, {:name=>"index_redirect_routes_on_permanent"})5663 -> 0.0005s5664-- index_name(:redirect_routes, {:name=>"index_redirect_routes_on_permanent", :column=>:permanent})5665 -> 0.0000s5666-- index_name_exists?(:redirect_routes, "index_redirect_routes_on_permanent", true)5667 -> 0.0004s5668-- remove_index(:redirect_routes, {:name=>"index_redirect_routes_on_permanent", :column=>:permanent})5669 -> 0.0055s5670== 20180113220114 ReworkRedirectRoutesIndexes: migrated (0.0073s) =============5671== 20180115201419 AddIndexUpdatedAtToIssues: migrating ========================5672-- transaction_open?()5673 -> 0.0000s5674-- index_name(:issues, {:column=>["updated_at"]})5675 -> 0.0000s5676-- index_exists?(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})5677 -> 0.0007s5678-- add_index(:issues, :updated_at, {:name=>"index_issues_on_updated_at"})5679 -> 0.0089s5680== 20180115201419 AddIndexUpdatedAtToIssues: migrated (0.0098s) ===============5681== 20180116193854 CreateLfsFileLocks: migrating ===============================5682-- create_table(:lfs_file_locks, {})5683 -> 0.0149s5684-- add_index(:lfs_file_locks, [:project_id, :path], {:unique=>true})5685 -> 0.0096s5686== 20180116193854 CreateLfsFileLocks: migrated (0.0246s) ======================5687== 20180119121225 RemoveRedundantPipelineStages: migrating ====================5688-- execute("UPDATE ci_builds SET stage_id = NULL WHERE stage_id IN (SELECT id FROM ci_stages WHERE (pipeline_id, name) IN (\n SELECT pipeline_id, name FROM ci_stages\n GROUP BY pipeline_id, name HAVING COUNT(*) > 1\n)\n)\n")5689 -> 0.0005s5690-- execute("DELETE a FROM ci_stages AS a, ci_stages AS b\n WHERE a.pipeline_id = b.pipeline_id AND a.name = b.name\n AND a.id <> b.id\n")5691 -> 0.0004s5692-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})5693 -> 0.0000s5694-- index_exists?(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})5695 -> 0.0004s5696-- transaction_open?()5697 -> 0.0000s5698-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})5699 -> 0.0000s5700-- index_exists?(:ci_stages, [:pipeline_id, :name], {:name=>"index_ci_stages_on_pipeline_id_and_name"})5701 -> 0.0005s5702-- index_name(:ci_stages, {:name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})5703 -> 0.0000s5704-- index_name_exists?(:ci_stages, "index_ci_stages_on_pipeline_id_and_name", true)5705 -> 0.0004s5706-- remove_index(:ci_stages, {:name=>"index_ci_stages_on_pipeline_id_and_name", :column=>[:pipeline_id, :name]})5707 -> 0.0048s5708-- transaction_open?()5709 -> 0.0000s5710-- index_name(:ci_stages, {:column=>["pipeline_id", "name"]})5711 -> 0.0000s5712-- index_exists?(:ci_stages, [:pipeline_id, :name], {:unique=>true, :name=>"index_ci_stages_on_pipeline_id_and_name"})5713 -> 0.0005s5714-- add_index(:ci_stages, [:pipeline_id, :name], {:unique=>true, :name=>"index_ci_stages_on_pipeline_id_and_name"})5715 -> 0.0067s5716== 20180119121225 RemoveRedundantPipelineStages: migrated (0.0150s) ===========5717== 20180119135717 AddUploaderIndexToUploads: migrating ========================5718-- transaction_open?()5719 -> 0.0000s5720-- index_name(:uploads, {:column=>["path"]})5721 -> 0.0000s5722-- index_exists?(:uploads, :path, {:name=>"index_uploads_on_path"})5723 -> 0.0006s5724-- index_name(:uploads, {:name=>"index_uploads_on_path", :column=>:path})5725 -> 0.0000sArel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5726If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5727You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5728If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5729DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)5730-- index_name_exists?(:uploads, "index_uploads_on_path", true)5731 -> 0.0005s5732-- remove_index(:uploads, {:name=>"index_uploads_on_path", :column=>:path})5733 -> 0.0049s5734-- transaction_open?()5735 -> 0.0000s5736-- index_name(:uploads, {:column=>["uploader", "path"]})5737 -> 0.0000s5738-- index_exists?(:uploads, [:uploader, :path], {:using=>:btree, :name=>"index_uploads_on_uploader_and_path"})5739 -> 0.0005s5740-- add_index(:uploads, [:uploader, :path], {:using=>:btree, :name=>"index_uploads_on_uploader_and_path"})5741 -> 0.0064s5742== 20180119135717 AddUploaderIndexToUploads: migrated (0.0135s) ===============5743== 20180119160751 OptimizeCiJobArtifacts: migrating ===========================5744-- transaction_open?()5745 -> 0.0000s5746-- index_name(:ci_job_artifacts, {:column=>["expire_at", "job_id"]})5747 -> 0.0000s5748-- index_exists?(:ci_job_artifacts, [:expire_at, :job_id], {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id"})5749 -> 0.0005s5750-- add_index(:ci_job_artifacts, [:expire_at, :job_id], {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id"})5751 -> 0.0081s5752-- transaction_open?()5753 -> 0.0000s5754-- index_name(:ci_builds, {:column=>["artifacts_expire_at"]})5755 -> 0.0000s5756-- index_exists?(:ci_builds, [:artifacts_expire_at], {:where=>"artifacts_file <> ''", :name=>"index_ci_builds_on_artifacts_expire_at"})5757 -> 0.0008s5758-- add_index(:ci_builds, [:artifacts_expire_at], {:where=>"artifacts_file <> ''", :name=>"index_ci_builds_on_artifacts_expire_at"})5759 -> 0.0068s5760== 20180119160751 OptimizeCiJobArtifacts: migrated (0.0164s) ==================5761== 20180122154930 ScheduleSetConfidentialNoteEventsOnServices: migrating ======5762== 20180122154930 ScheduleSetConfidentialNoteEventsOnServices: migrated (0.0038s) 5763== 20180122162010 AddAutoDevopsDomainToApplicationSettings: migrating =========5764-- add_column(:application_settings, :auto_devops_domain, :string)5765 -> 0.0426s5766== 20180122162010 AddAutoDevopsDomainToApplicationSettings: migrated (0.0427s) 5767== 20180125214301 CreateUserCallouts: migrating ===============================5768-- create_table(:user_callouts, {})5769 -> 0.0138s5770-- add_index(:user_callouts, [:user_id, :feature_name], {:unique=>true})5771 -> 0.0087s5772== 20180125214301 CreateUserCallouts: migrated (0.0226s) ======================5773== 20180129193323 AddUploadsBuilderContext: migrating =========================5774-- add_column(:uploads, :mount_point, :string)5775 -> 0.0196s5776-- add_column(:uploads, :secret, :string)5777 -> 0.0196s5778== 20180129193323 AddUploadsBuilderContext: migrated (0.0393s) ================5779== 20180201102129 AddUniqueConstraintToTrendingProjectsProjectId: migrating ===5780-- transaction_open?()5781 -> 0.0000s5782-- index_exists?(:trending_projects, :project_id, {:unique=>true, :name=>"index_trending_projects_on_project_id_unique"})5783 -> 0.0006s5784-- add_index(:trending_projects, :project_id, {:unique=>true, :name=>"index_trending_projects_on_project_id_unique"})5785 -> 0.0067s5786-- transaction_open?()5787 -> 0.0000s5788-- indexes(:trending_projects)5789 -> 0.0004s5790-- index_name(:trending_projects, {:name=>"index_trending_projects_on_project_id"})5791 -> 0.0000s5792-- index_name_exists?(:trending_projects, "index_trending_projects_on_project_id", true)5793 -> 0.0004s5794-- remove_index(:trending_projects, {:name=>"index_trending_projects_on_project_id"})5795 -> 0.0045s5796-- rename_index(:trending_projects, "index_trending_projects_on_project_id_unique", "index_trending_projects_on_project_id")5797 -> 0.0039s5798== 20180201102129 AddUniqueConstraintToTrendingProjectsProjectId: migrated (0.0169s) 5799== 20180201110056 AddForeignKeysToTodos: migrating ============================5800-- transaction_open?()5801 -> 0.0000s5802-- foreign_keys(:todos)5803 -> 0.0007s5804-- add_foreign_key(:todos, :users, {:column=>:user_id, :on_delete=>:cascade})5805 -> 0.0289s5806-- transaction_open?()5807 -> 0.0000s5808-- foreign_keys(:todos)5809 -> 0.0014s5810-- add_foreign_key(:todos, :users, {:column=>:author_id, :on_delete=>:cascade})5811 -> 0.0305s5812-- transaction_open?()5813 -> 0.0000s5814-- foreign_keys(:todos)5815 -> 0.0014s5816-- add_foreign_key(:todos, :notes, {:column=>:note_id, :on_delete=>:cascade})5817 -> 0.0303s5818== 20180201110056 AddForeignKeysToTodos: migrated (0.0987s) ===================5819== 20180201145907 MigrateRemainingIssuesClosedAt: migrating ===================5820-- columns("issues")5821 -> 0.0015s5822== 20180201145907 MigrateRemainingIssuesClosedAt: migrated (0.0045s) ==========5823== 20180202111106 RemoveProjectLabelsGroupId: migrating =======================5824-- transaction_open?()5825 -> 0.0000s5826-- exec_query("SELECT COUNT(*) AS count FROM `labels` WHERE `labels`.`type` = 'ProjectLabel' AND `labels`.`group_id` IS NOT NULL")5827 -> 0.0005s5828== 20180202111106 RemoveProjectLabelsGroupId: migrated (0.0011s) ==============5829== 20180204200836 ChangeAuthorIdToNotNullInTodos: migrating ===================5830-- change_column_null(:todos, :author_id, false)5831 -> 0.0275s5832== 20180204200836 ChangeAuthorIdToNotNullInTodos: migrated (0.0295s) ==========5833== 20180206200543 ResetEventsPrimaryKeySequence: migrating ====================5834-- execute("ALTER TABLE events AUTO_INCREMENT = 1")5835 -> 0.0030s5836== 20180206200543 ResetEventsPrimaryKeySequence: migrated (0.0043s) ===========5837== 20180208183958 SchedulePopulateUntrackedUploadsIfNeeded: migrating =========5838== 20180208183958 SchedulePopulateUntrackedUploadsIfNeeded: migrated (0.0006s) 5839== 20180209115333 CreateChatopsTables: migrating ==============================5840-- create_table(:ci_pipeline_chat_data, {:id=>:bigserial})5841 -> 0.0154s5842-- add_foreign_key(:ci_pipeline_chat_data, :ci_pipelines, {:column=>:pipeline_id, :on_delete=>:cascade})5843 -> 0.0229s5844== 20180209115333 CreateChatopsTables: migrated (0.0385s) =====================5845== 20180209165249 AddClosedByToIssues: migrating ==============================5846-- add_column(:issues, :closed_by_id, :integer)5847 -> 0.0386s5848-- transaction_open?()5849 -> 0.0000s5850-- foreign_keys(:issues)5851 -> 0.0011s5852-- add_foreign_key(:issues, :users, {:column=>:closed_by_id, :on_delete=>:nullify})5853 -> 0.0440s5854== 20180209165249 AddClosedByToIssues: migrated (0.0839s) =====================5855== 20180212030105 AddExternalIpToClustersApplicationsIngress: migrating =======5856-- add_column(:clusters_applications_ingress, :external_ip, :string)5857 -> 0.0161s5858== 20180212030105 AddExternalIpToClustersApplicationsIngress: migrated (0.0162s) 5859== 20180212101828 AddTmpPartialNullIndexToBuilds: migrating ===================5860-- transaction_open?()5861 -> 0.0000s5862-- index_exists?(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_partial_null_index"})5863 -> 0.0009s5864-- add_index(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_partial_null_index"})5865 -> 0.0090s5866== 20180212101828 AddTmpPartialNullIndexToBuilds: migrated (0.0100s) ==========5867== 20180212101928 ScheduleBuildStageMigration: migrating ======================5868== 20180212101928 ScheduleBuildStageMigration: migrated (0.0000s) =============5869== 20180212102028 RemoveTmpPartialNullIndexFromBuilds: migrating ==============5870-- transaction_open?()5871 -> 0.0000s5872-- indexes(:ci_builds)5873 -> 0.0008s5874-- index_name(:ci_builds, {:name=>"tmp_id_partial_null_index"})5875 -> 0.0000s5876-- index_name_exists?(:ci_builds, "tmp_id_partial_null_index", true)5877 -> 0.0007s5878-- remove_index(:ci_builds, {:name=>"tmp_id_partial_null_index"})5879 -> 0.0058s5880== 20180212102028 RemoveTmpPartialNullIndexFromBuilds: migrated (0.0075s) =====5881== 20180213131630 AddPartialIndexToProjectsForIndexOnlyScans: migrating =======5882-- index_exists?(:projects, :id, {:name=>"index_projects_on_id_partial_for_visibility"})5883 -> 0.0006s5884-- transaction_open?()5885 -> 0.0000s5886-- index_exists?(:projects, :id, {:name=>"index_projects_on_id_partial_for_visibility", :unique=>true, :where=>"visibility_level IN (10,20)"})5887 -> 0.0005s5888-- add_index(:projects, :id, {:name=>"index_projects_on_id_partial_for_visibility", :unique=>true, :where=>"visibility_level IN (10,20)"})5889 -> 0.0090s5890== 20180213131630 AddPartialIndexToProjectsForIndexOnlyScans: migrated (0.0103s) 5891== 20180214093516 CreateBadges: migrating =====================================5892-- create_table(:badges, {})5893 -> 0.0157s5894-- add_foreign_key(:badges, :namespaces, {:column=>:group_id, :on_delete=>:cascade})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5895If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5896You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5897If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5898DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)5899Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.5900If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).5901You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)5902If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.5903DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)5904 -> 0.0220s5905== 20180214093516 CreateBadges: migrated (0.0378s) ============================5906== 20180214155405 CreateClustersApplicationsRunners: migrating ================5907-- create_table(:clusters_applications_runners, {})5908 -> 0.0168s5909-- transaction_open?()5910 -> 0.0000s5911-- foreign_keys(:clusters_applications_runners)5912 -> 0.0012s5913-- add_foreign_key(:clusters_applications_runners, :ci_runners, {:column=>:runner_id, :on_delete=>:nullify})5914 -> 0.0225s5915== 20180214155405 CreateClustersApplicationsRunners: migrated (0.0407s) =======5916== 20180215181245 UsersNameLowerIndex: migrating ==============================5917== 20180215181245 UsersNameLowerIndex: migrated (0.0000s) =====================5918== 20180216120000 AddPagesDomainVerification: migrating =======================5919-- add_column(:pages_domains, :verified_at, :datetime_with_timezone)5920 -> 0.0192s5921-- add_column(:pages_domains, :verification_code, :string)5922 -> 0.0187s5923== 20180216120000 AddPagesDomainVerification: migrated (0.0381s) ==============5924== 20180216120010 AddPagesDomainVerifiedAtIndex: migrating ====================5925-- transaction_open?()5926 -> 0.0000s5927-- index_name(:pages_domains, {:column=>["verified_at"]})5928 -> 0.0000s5929-- index_exists?(:pages_domains, :verified_at, {:name=>"index_pages_domains_on_verified_at"})5930 -> 0.0006s5931-- add_index(:pages_domains, :verified_at, {:name=>"index_pages_domains_on_verified_at"})5932 -> 0.0088s5933== 20180216120010 AddPagesDomainVerifiedAtIndex: migrated (0.0095s) ===========5934== 20180216120020 AllowDomainVerificationToBeDisabled: migrating ==============5935-- add_column(:application_settings, :pages_domain_verification_enabled, :boolean, {:default=>true, :null=>false})5936 -> 0.0426s5937== 20180216120020 AllowDomainVerificationToBeDisabled: migrated (0.0427s) =====5938== 20180216120030 AddPagesDomainEnabledUntil: migrating =======================5939-- add_column(:pages_domains, :enabled_until, :datetime_with_timezone)5940 -> 0.0205s5941== 20180216120030 AddPagesDomainEnabledUntil: migrated (0.0206s) ==============5942== 20180216120040 AddPagesDomainEnabledUntilIndex: migrating ==================5943-- transaction_open?()5944 -> 0.0000s5945-- index_name(:pages_domains, {:column=>["project_id", "enabled_until"]})5946 -> 0.0000s5947-- index_exists?(:pages_domains, [:project_id, :enabled_until], {:name=>"index_pages_domains_on_project_id_and_enabled_until"})5948 -> 0.0006s5949-- add_index(:pages_domains, [:project_id, :enabled_until], {:name=>"index_pages_domains_on_project_id_and_enabled_until"})5950 -> 0.0088s5951-- transaction_open?()5952 -> 0.0000s5953-- index_name(:pages_domains, {:column=>["verified_at", "enabled_until"]})5954 -> 0.0000s5955-- index_exists?(:pages_domains, [:verified_at, :enabled_until], {:name=>"index_pages_domains_on_verified_at_and_enabled_until"})5956 -> 0.0005s5957-- add_index(:pages_domains, [:verified_at, :enabled_until], {:name=>"index_pages_domains_on_verified_at_and_enabled_until"})5958 -> 0.0082s5959== 20180216120040 AddPagesDomainEnabledUntilIndex: migrated (0.0186s) =========5960== 20180216120050 PagesDomainsVerificationGracePeriod: migrating ==============5961== 20180216120050 PagesDomainsVerificationGracePeriod: migrated (0.0035s) =====5962== 20180216121020 FillPagesDomainVerificationCode: migrating ==================5963-- change_column_null(:pages_domains, :verification_code, false)5964 -> 0.0272s5965== 20180216121020 FillPagesDomainVerificationCode: migrated (0.0292s) =========5966== 20180216121030 EnqueueVerifyPagesDomainWorkers: migrating ==================5967== 20180216121030 EnqueueVerifyPagesDomainWorkers: migrated (0.0017s) =========5968== 20180219153455 AddMaximumTimeoutToCiRunners: migrating =====================5969-- add_column(:ci_runners, :maximum_timeout, :integer)5970 -> 0.0231s5971== 20180219153455 AddMaximumTimeoutToCiRunners: migrated (0.0232s) ============5972== 20180220150310 RemoveEmptyExternUidAuth0Identities: migrating ==============5973== 20180220150310 RemoveEmptyExternUidAuth0Identities: migrated (0.0025s) =====5974== 20180221151752 AddAllowMaintainerToPushToMergeRequests: migrating ==========5975-- add_column(:merge_requests, :allow_maintainer_to_push, :boolean)5976 -> 0.0441s5977== 20180221151752 AddAllowMaintainerToPushToMergeRequests: migrated (0.0441s) =5978== 20180222043024 AddIpAddressToRunner: migrating =============================5979-- add_column(:ci_runners, :ip_address, :string)5980 -> 0.0227s5981== 20180222043024 AddIpAddressToRunner: migrated (0.0228s) ====================5982== 20180223120443 CreateUserInteractedProjectsTable: migrating ================5983-- create_table(:user_interacted_projects, {:id=>false})5984 -> 0.0104s5985-- add_index(:user_interacted_projects, [:project_id, :user_id], {:name=>"user_interacted_projects_non_unique_index"})5986 -> 0.0081s5987== 20180223120443 CreateUserInteractedProjectsTable: migrated (0.0187s) =======5988== 20180223124427 BuildUserInteractedProjectsTable: migrating =================5989-- execute("INSERT INTO user_interacted_projects (user_id, project_id)\nSELECT e.user_id, e.project_id\nFROM (SELECT DISTINCT author_id AS user_id, project_id FROM events WHERE project_id IS NOT NULL) AS e\nLEFT JOIN user_interacted_projects ucp USING (user_id, project_id)\nWHERE ucp.user_id IS NULL\n")5990 -> 0.0007s5991-- index_name(:user_interacted_projects, {:column=>["project_id", "user_id"]})5992 -> 0.0000s5993-- index_exists?(:user_interacted_projects, [:project_id, :user_id], {:name=>"index_user_interacted_projects_on_project_id_and_user_id"})5994 -> 0.0005s5995-- transaction_open?()5996 -> 0.0000s5997-- index_exists?(:user_interacted_projects, [:project_id, :user_id], {:unique=>true, :name=>"index_user_interacted_projects_on_project_id_and_user_id"})5998 -> 0.0004s5999-- add_index(:user_interacted_projects, [:project_id, :user_id], {:unique=>true, :name=>"index_user_interacted_projects_on_project_id_and_user_id"})6000 -> 0.0197s6001-- foreign_keys(:user_interacted_projects)6002 -> 0.0009s6003-- transaction_open?()6004 -> 0.0000s6005-- foreign_keys(:user_interacted_projects)6006 -> 0.0006s6007-- add_foreign_key(:user_interacted_projects, :users, {:column=>:user_id, :on_delete=>:cascade})6008 -> 0.0219s6009-- foreign_keys(:user_interacted_projects)6010 -> 0.0012s6011-- transaction_open?()6012 -> 0.0000s6013-- foreign_keys(:user_interacted_projects)6014 -> 0.0007s6015-- add_foreign_key(:user_interacted_projects, :projects, {:column=>:project_id, :on_delete=>:cascade})6016 -> 0.0222s6017-- indexes(:user_interacted_projects)6018 -> 0.0009s6019-- transaction_open?()6020 -> 0.0000s6021-- indexes(:user_interacted_projects)6022 -> 0.0005s6023-- index_name(:user_interacted_projects, {:name=>"user_interacted_projects_non_unique_index"})6024 -> 0.0000s6025-- index_name_exists?(:user_interacted_projects, "user_interacted_projects_non_unique_index", true)6026 -> 0.0005s6027-- remove_index(:user_interacted_projects, {:name=>"user_interacted_projects_non_unique_index"})6028 -> 0.0049s6029== 20180223124427 BuildUserInteractedProjectsTable: migrated (0.0768s) ========6030== 20180223144945 AddAllowLocalRequestsFromHooksAndServicesToApplicationSettings: migrating 6031-- transaction_open?()6032 -> 0.0000s6033-- transaction()6034-- add_column(:application_settings, :allow_local_requests_from_hooks_and_services, :boolean, {:default=>nil})6035 -> 0.0442s6036-- change_column_default(:application_settings, :allow_local_requests_from_hooks_and_services, false)6037 -> 0.0127s6038 -> 0.0578s6039-- transaction_open?()6040 -> 0.0000s6041-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")6042 -> 0.0004s6043-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")6044 -> 0.0004s6045-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")6046 -> 0.0005s6047-- execute("UPDATE `application_settings` SET `allow_local_requests_from_hooks_and_services` = 0 WHERE `application_settings`.`id` >= 1")6048 -> 0.0013s6049-- change_column_null(:application_settings, :allow_local_requests_from_hooks_and_services, false)6050 -> 0.0519s6051== 20180223144945 AddAllowLocalRequestsFromHooksAndServicesToApplicationSettings: migrated (0.1137s) 6052== 20180226050030 AddChecksumToCiJobArtifacts: migrating ======================6053-- add_column(:ci_job_artifacts, :file_sha256, :binary)6054 -> 0.0215s6055== 20180226050030 AddChecksumToCiJobArtifacts: migrated (0.0216s) =============6056== 20180227182112 AddGroupIdToBoardsCe: migrating =============================6057-- column_exists?(:boards, :group_id)6058 -> 0.0011s6059-- add_column(:boards, :group_id, :integer)6060 -> 0.0173s6061-- add_foreign_key(:boards, :namespaces, {:column=>:group_id, :on_delete=>:cascade})6062 -> 0.0247s6063-- transaction_open?()6064 -> 0.0000s6065-- index_name(:boards, {:column=>["group_id"]})6066 -> 0.0000s6067-- index_exists?(:boards, :group_id, {:name=>"index_boards_on_group_id"})6068 -> 0.0009s6069-- add_index(:boards, :group_id, {:name=>"index_boards_on_group_id"})6070 -> 0.0100s6071-- change_column_null(:boards, :project_id, true)6072 -> 0.0202s6073== 20180227182112 AddGroupIdToBoardsCe: migrated (0.0747s) ====================6074== 20180228172924 AddIncludePrivateContributionsToUsers: migrating ============6075-- add_column(:users, :include_private_contributions, :boolean)6076 -> 0.0732s6077== 20180228172924 AddIncludePrivateContributionsToUsers: migrated (0.0733s) ===6078== 20180301010859 CreateCiBuildsMetadataTable: migrating ======================6079-- create_table(:ci_builds_metadata, {})6080 -> 0.0170s6081== 20180301010859 CreateCiBuildsMetadataTable: migrated (0.0170s) =============6082== 20180301084653 ChangeProjectNamespaceIdNotNull: migrating ==================6083-- change_column_null(:projects, :namespace_id, false)6084 -> 0.0512s6085== 20180301084653 ChangeProjectNamespaceIdNotNull: migrated (0.0573s) =========6086== 20180302152117 EnsureForeignKeysOnClustersApplications: migrating ==========6087-- foreign_keys(:clusters_applications_ingress)6088 -> 0.0008s6089-- foreign_keys(:clusters_applications_prometheus)6090 -> 0.0007s6091== 20180302152117 EnsureForeignKeysOnClustersApplications: migrated (0.0099s) =6092== 20180305095250 CreateInternalIdsTable: migrating ===========================6093-- create_table(:internal_ids, {:id=>:bigserial})6094 -> 0.0167s6095== 20180305095250 CreateInternalIdsTable: migrated (0.0168s) ==================6096== 20180305100050 RemovePermanentFromRedirectRoutes: migrating ================6097-- remove_column(:redirect_routes, :permanent)6098 -> 0.0182s6099== 20180305100050 RemovePermanentFromRedirectRoutes: migrated (0.0184s) =======6100== 20180305144721 AddPrivilegedToRunner: migrating ============================6101-- transaction_open?()6102 -> 0.0000s6103-- transaction()6104-- add_column(:clusters_applications_runners, :privileged, :boolean, {:default=>nil})6105 -> 0.0209s6106-- change_column_default(:clusters_applications_runners, :privileged, true)6107 -> 0.0050s6108 -> 0.0268s6109-- transaction_open?()6110 -> 0.0000s6111-- exec_query("SELECT COUNT(*) AS count FROM `clusters_applications_runners`")6112 -> 0.0004s6113-- change_column_null(:clusters_applications_runners, :privileged, false)6114 -> 0.0208s6115== 20180305144721 AddPrivilegedToRunner: migrated (0.0484s) ===================6116== 20180306074045 MigrateCreateTraceArtifactSidekiqQueue: migrating ===========6117== 20180306074045 MigrateCreateTraceArtifactSidekiqQueue: migrated (0.0005s) ==6118== 20180306134842 AddMissingIndexesActsAsTaggableOnEngine: migrating ==========6119-- index_name(:taggings, {:column=>["tag_id"]})6120 -> 0.0000s6121-- index_exists?(:taggings, :tag_id, {:name=>"index_taggings_on_tag_id"})6122 -> 0.0007s6123-- transaction_open?()6124 -> 0.0000s6125-- index_name(:taggings, {:column=>["tag_id"]})6126 -> 0.0000s6127-- index_exists?(:taggings, :tag_id, {:name=>"index_taggings_on_tag_id"})6128 -> 0.0004s6129-- add_index(:taggings, :tag_id, {:name=>"index_taggings_on_tag_id"})6130 -> 0.0079s6131-- index_name(:taggings, {:column=>["taggable_id", "taggable_type"]})6132 -> 0.0000s6133-- index_exists?(:taggings, [:taggable_id, :taggable_type], {:name=>"index_taggings_on_taggable_id_and_taggable_type"})6134 -> 0.0007s6135-- transaction_open?()6136 -> 0.0000s6137-- index_name(:taggings, {:column=>["taggable_id", "taggable_type"]})6138 -> 0.0000s6139-- index_exists?(:taggings, [:taggable_id, :taggable_type], {:name=>"index_taggings_on_taggable_id_and_taggable_type"})6140 -> 0.0006s6141-- add_index(:taggings, [:taggable_id, :taggable_type], {:name=>"index_taggings_on_taggable_id_and_taggable_type"})6142 -> 0.0070s6143== 20180306134842 AddMissingIndexesActsAsTaggableOnEngine: migrated (0.0180s) =6144== 20180306164012 AddPathIndexToRedirectRoutes: migrating =====================6145== 20180306164012 AddPathIndexToRedirectRoutes: migrated (0.0000s) ============6146== 20180307012445 MigrateUpdateHeadPipelineForMergeRequestSidekiqQueue: migrating 6147== 20180307012445 MigrateUpdateHeadPipelineForMergeRequestSidekiqQueue: migrated (0.0004s) 6148== 20180308052825 AddSectionNameIdIndexOnCiBuildTraceSections: migrating ======6149-- index_exists?(:ci_build_trace_sections, :section_name_id, {:name=>"index_ci_build_trace_sections_on_section_name_id"})6150 -> 0.0008s6151-- transaction_open?()6152 -> 0.0000s6153-- index_exists?(:ci_build_trace_sections, :section_name_id, {:name=>"index_ci_build_trace_sections_on_section_name_id"})6154 -> 0.0005s6155-- add_index(:ci_build_trace_sections, :section_name_id, {:name=>"index_ci_build_trace_sections_on_section_name_id"})6156 -> 0.0110s6157== 20180308052825 AddSectionNameIdIndexOnCiBuildTraceSections: migrated (0.0125s) 6158== 20180308125206 AddUserInternalRegexToApplicationSetting: migrating =========6159-- add_column(:application_settings, :user_default_internal_regex, :string, {:null=>true})6160 -> 0.0553s6161== 20180308125206 AddUserInternalRegexToApplicationSetting: migrated (0.0554s) 6162== 20180309121820 RescheduleCommitsCountForMergeRequestDiff: migrating ========6163-- Populating the MergeRequestDiff `commits_count` (reschedule)6164== 20180309121820 RescheduleCommitsCountForMergeRequestDiff: migrated (0.0018s) 6165== 20180309160427 AddPartialIndexesOnTodos: migrating =========================6166-- index_exists?(:todos, [:user_id, :id], {:name=>"index_todos_on_user_id_and_id_pending"})6167 -> 0.0007s6168-- transaction_open?()6169 -> 0.0000s6170-- index_exists?(:todos, [:user_id, :id], {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending"})6171 -> 0.0005s6172-- add_index(:todos, [:user_id, :id], {:where=>"state='pending'", :name=>"index_todos_on_user_id_and_id_pending"})6173 -> 0.0094s6174-- index_exists?(:todos, [:user_id, :id], {:name=>"index_todos_on_user_id_and_id_done"})6175 -> 0.0005s6176-- transaction_open?()6177 -> 0.0000s6178-- index_exists?(:todos, [:user_id, :id], {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done"})6179 -> 0.0005s6180-- add_index(:todos, [:user_id, :id], {:where=>"state='done'", :name=>"index_todos_on_user_id_and_id_done"})6181 -> 0.0091s6182== 20180309160427 AddPartialIndexesOnTodos: migrated (0.0211s) ================6183== 20180314145917 AddHeaderAndFooterBannersToAppearancesTable: migrating ======6184-- add_column(:appearances, :header_message, :text)6185 -> 0.0156s6186-- add_column(:appearances, :header_message_html, :text)6187 -> 0.0155s6188-- add_column(:appearances, :footer_message, :text)6189 -> 0.0157s6190-- add_column(:appearances, :footer_message_html, :text)6191 -> 0.0155s6192-- add_column(:appearances, :message_background_color, :text)6193 -> 0.0155s6194-- add_column(:appearances, :message_font_color, :text)6195 -> 0.0149s6196== 20180314145917 AddHeaderAndFooterBannersToAppearancesTable: migrated (0.0930s) 6197== 20180319190020 CreateDeployTokens: migrating ===============================6198-- create_table(:deploy_tokens, {})6199 -> 0.0160s6200== 20180319190020 CreateDeployTokens: migrated (0.0160s) ======================6201== 20180320182229 AddIndexesForUserActivityQueries: migrating =================6202-- index_name(:events, {:column=>["author_id", "project_id"]})6203 -> 0.0000s6204-- index_exists?(:events, [:author_id, :project_id], {:name=>"index_events_on_author_id_and_project_id"})6205 -> 0.0006s6206-- transaction_open?()6207 -> 0.0000s6208-- index_name(:events, {:column=>["author_id", "project_id"]})6209 -> 0.0000s6210-- index_exists?(:events, [:author_id, :project_id], {:name=>"index_events_on_author_id_and_project_id"})6211 -> 0.0005s6212-- add_index(:events, [:author_id, :project_id], {:name=>"index_events_on_author_id_and_project_id"})6213 -> 0.0067s6214-- index_name(:user_interacted_projects, {:column=>["user_id"]})6215 -> 0.0000s6216-- index_exists?(:user_interacted_projects, :user_id, {:name=>"index_user_interacted_projects_on_user_id"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6217If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6218You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6219If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6220DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)6221Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6222If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6223You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6224If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6225DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)6226Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6227If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6228You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6229If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6230DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from up at /builds/gitlab-org/gitlab-ce/db/migrate/20180413022611_create_missing_namespace_for_internal_users.rb:5)6231 -> 0.0005s6232-- transaction_open?()6233 -> 0.0000s6234-- index_name(:user_interacted_projects, {:column=>["user_id"]})6235 -> 0.0000s6236-- index_exists?(:user_interacted_projects, :user_id, {:name=>"index_user_interacted_projects_on_user_id"})6237 -> 0.0005s6238-- add_index(:user_interacted_projects, :user_id, {:name=>"index_user_interacted_projects_on_user_id"})6239 -> 0.0074s6240== 20180320182229 AddIndexesForUserActivityQueries: migrated (0.0168s) ========6241== 20180323150945 AddPushToMergeRequestToNotificationSettings: migrating ======6242-- add_column(:notification_settings, :push_to_merge_request, :boolean)6243 -> 0.0210s6244== 20180323150945 AddPushToMergeRequestToNotificationSettings: migrated (0.0211s) 6245== 20180326202229 CreateCiBuildTraceChunks: migrating =========================6246-- create_table(:ci_build_trace_chunks, {:id=>:bigserial})6247 -> 0.0135s6248== 20180326202229 CreateCiBuildTraceChunks: migrated (0.0136s) ================6249== 20180327101207 RemoveIndexFromEventsTable: migrating =======================6250-- transaction_open?()6251 -> 0.0000s6252-- index_name(:events, {:column=>["author_id"]})6253 -> 0.0000s6254-- index_exists?(:events, :author_id, {:name=>"index_events_on_author_id"})6255 -> 0.0006s6256-- index_name(:events, {:name=>"index_events_on_author_id", :column=>:author_id})6257 -> 0.0000s6258-- index_name_exists?(:events, "index_events_on_author_id", true)6259 -> 0.0005s6260-- remove_index(:events, {:name=>"index_events_on_author_id", :column=>:author_id})6261 -> 0.0053s6262== 20180327101207 RemoveIndexFromEventsTable: migrated (0.0069s) ==============6263== 20180330121048 AddIssueDueToNotificationSettings: migrating ================6264-- add_column(:notification_settings, :issue_due, :boolean)6265 -> 0.0228s6266== 20180330121048 AddIssueDueToNotificationSettings: migrated (0.0229s) =======6267== 20180403035759 CreateProjectCiCdSettings: migrating ========================6268-- create_table(:project_ci_cd_settings, {})6269 -> 0.0117s6270-- execute("INSERT INTO project_ci_cd_settings (project_id) SELECT id FROM projects")6271 -> 0.0009s6272-- transaction_open?()6273 -> 0.0000s6274-- index_name(:project_ci_cd_settings, {:column=>["project_id"]})6275 -> 0.0000s6276-- index_exists?(:project_ci_cd_settings, :project_id, {:unique=>true, :name=>"index_project_ci_cd_settings_on_project_id"})6277 -> 0.0006s6278-- add_index(:project_ci_cd_settings, :project_id, {:unique=>true, :name=>"index_project_ci_cd_settings_on_project_id"})6279 -> 0.0091s6280-- transaction_open?()6281 -> 0.0000s6282-- foreign_keys(:project_ci_cd_settings)6283 -> 0.0009s6284-- add_foreign_key(:project_ci_cd_settings, :projects, {:column=>:project_id, :on_delete=>:cascade})6285 -> 0.0203s6286== 20180403035759 CreateProjectCiCdSettings: migrated (0.0448s) ===============6287== 20180405101928 RescheduleBuildsStagesMigration: migrating ==================6288== 20180405101928 RescheduleBuildsStagesMigration: migrated (0.0055s) =========6289== 20180405142733 CreateProjectDeployTokens: migrating ========================6290-- create_table(:project_deploy_tokens, {})6291 -> 0.0156s6292== 20180405142733 CreateProjectDeployTokens: migrated (0.0157s) ===============6293== 20180406204716 AddLimitsCiBuildTraceChunksRawDataForMysql: migrating =======6294-- change_column(:ci_build_trace_chunks, :raw_data, :binary, {:limit=>16777215})6295 -> 0.0216s6296== 20180406204716 AddLimitsCiBuildTraceChunksRawDataForMysql: migrated (0.0217s) 6297== 20180408143354 RenameUsersRssTokenToFeedToken: migrating ===================6298-- transaction_open?()6299 -> 0.0000s6300-- columns(:users)6301 -> 0.0025s6302-- add_column(:users, :feed_token, :string, {:limit=>255, :precision=>nil, :scale=>nil})6303 -> 0.0742s6304-- quote_table_name(:users)6305 -> 0.0000s6306-- quote_column_name(:rss_token)6307 -> 0.0000s6308-- quote_column_name(:feed_token)6309 -> 0.0000s6310-- execute("CREATE TRIGGER trigger_7dc952250ffd_insert\nBEFORE INSERT\nON `users`\nFOR EACH ROW\nSET NEW.`feed_token` = NEW.`rss_token`\n")6311 -> 0.0045s6312-- execute("CREATE TRIGGER trigger_7dc952250ffd_update\nBEFORE UPDATE\nON `users`\nFOR EACH ROW\nSET NEW.`feed_token` = NEW.`rss_token`\n")6313 -> 0.0045s6314-- transaction_open?()6315 -> 0.0000s6316-- exec_query("SELECT COUNT(*) AS count FROM `users`")6317 -> 0.0010s6318-- exec_query("SELECT `users`.`id` FROM `users` ORDER BY `users`.`id` ASC LIMIT 1")6319 -> 0.0005s6320-- exec_query("SELECT `users`.`id` FROM `users` WHERE `users`.`id` >= 1 ORDER BY `users`.`id` ASC LIMIT 1 OFFSET 1")6321 -> 0.0006s6322-- execute("UPDATE `users` SET `feed_token` = `users`.`rss_token` WHERE `users`.`id` >= 1")6323 -> 0.0005s6324-- indexes(:users)6325 -> 0.0006s6326-- transaction_open?()6327 -> 0.0000s6328-- index_exists?(:users, ["feed_token"], {:unique=>false, :name=>"index_users_on_feed_token", :length=>{}, :order=>nil, :using=>:btree})6329 -> 0.0005s6330-- add_index(:users, ["feed_token"], {:unique=>false, :name=>"index_users_on_feed_token", :length=>{}, :order=>nil, :using=>:btree})6331 -> 0.0130s6332-- foreign_keys(:users)6333 -> 0.0008s6334== 20180408143354 RenameUsersRssTokenToFeedToken: migrated (0.1069s) ==========6335== 20180408143355 CleanupUsersRssTokenRename: migrating =======================6336-- execute("DROP TRIGGER IF EXISTS trigger_7dc952250ffd_insert")6337 -> 0.0024s6338-- execute("DROP TRIGGER IF EXISTS trigger_7dc952250ffd_update")6339 -> 0.0009s6340-- remove_column(:users, :rss_token)6341 -> 0.0949s6342== 20180408143355 CleanupUsersRssTokenRename: migrated (0.0997s) ==============6343== 20180409170809 PopulateMissingProjectCiCdSettings: migrating ===============6344== 20180409170809 PopulateMissingProjectCiCdSettings: migrated (0.0000s) ======6345== 20180413022611 CreateMissingNamespaceForInternalUsers: migrating ===========6346-- column_exists?(:users, :support_bot)6347 -> 0.0026s6348== 20180413022611 CreateMissingNamespaceForInternalUsers: migrated (0.0038s) ==6349== 20180416155103 AddFurtherScopeColumnsToInternalIdTable: migrating ==========6350-- change_column_null(:internal_ids, :project_id, true)6351 -> 0.0230s6352-- add_column(:internal_ids, :namespace_id, :integer, {:null=>true})6353 -> 0.0193s6354== 20180416155103 AddFurtherScopeColumnsToInternalIdTable: migrated (0.0425s) =6355== 20180417090132 AddIndexConstraintsToInternalIdTable: migrating =============6356-- transaction_open?()6357 -> 0.0000s6358-- index_name(:internal_ids, {:column=>["usage", "namespace_id"]})6359 -> 0.0000s6360-- index_exists?(:internal_ids, [:usage, :namespace_id], {:unique=>true, :where=>"namespace_id IS NOT NULL", :name=>"index_internal_ids_on_usage_and_namespace_id"})6361 -> 0.0006s6362-- add_index(:internal_ids, [:usage, :namespace_id], {:unique=>true, :where=>"namespace_id IS NOT NULL", :name=>"index_internal_ids_on_usage_and_namespace_id"})6363 -> 0.0090s6364-- index_exists?(:internal_ids, [:usage, :project_id], {:name=>"index_internal_ids_on_usage_and_project_id"})6365 -> 0.0006s6366-- rename_index(:internal_ids, "index_internal_ids_on_usage_and_project_id", "index_internal_ids_on_usage_and_project_id_old")6367 -> 0.0043s6368-- transaction_open?()6369 -> 0.0000s6370-- index_name(:internal_ids, {:column=>["usage", "project_id"]})6371 -> 0.0000s6372-- index_exists?(:internal_ids, [:usage, :project_id], {:unique=>true, :where=>"project_id IS NOT NULL", :name=>"index_internal_ids_on_usage_and_project_id"})6373 -> 0.0006s6374-- add_index(:internal_ids, [:usage, :project_id], {:unique=>true, :where=>"project_id IS NOT NULL", :name=>"index_internal_ids_on_usage_and_project_id"})6375 -> 0.0085s6376-- transaction_open?()6377 -> 0.0000s6378-- indexes(:internal_ids)6379 -> 0.0006s6380-- index_name(:internal_ids, {:name=>"index_internal_ids_on_usage_and_project_id_old"})6381 -> 0.0000s6382-- index_name_exists?(:internal_ids, "index_internal_ids_on_usage_and_project_id_old", true)6383 -> 0.0005s6384-- remove_index(:internal_ids, {:name=>"index_internal_ids_on_usage_and_project_id_old"})6385 -> 0.0052s6386-- transaction_open?()6387 -> 0.0000s6388-- foreign_keys(:internal_ids)6389 -> 0.0010s6390-- add_foreign_key(:internal_ids, :namespaces, {:column=>:namespace_id, :on_delete=>:cascade})6391 -> 0.0393s6392== 20180417090132 AddIndexConstraintsToInternalIdTable: migrated (0.0712s) ====6393== 20180417101040 AddTmpStagePriorityIndexToCiBuilds: migrating ===============6394-- transaction_open?()6395 -> 0.0000s6396-- index_exists?(:ci_builds, [:stage_id, :stage_idx], {:where=>"stage_idx IS NOT NULL", :name=>"tmp_build_stage_position_index"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6397If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6398You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6399If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6400DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)6401Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6402If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6403You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6404If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6405DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)6406 -> 0.0010s6407-- add_index(:ci_builds, [:stage_id, :stage_idx], {:where=>"stage_idx IS NOT NULL", :name=>"tmp_build_stage_position_index"})6408 -> 0.0084s6409== 20180417101040 AddTmpStagePriorityIndexToCiBuilds: migrated (0.0097s) ======6410== 20180417101940 AddIndexToCiStage: migrating ================================6411-- add_column(:ci_stages, :position, :integer)6412 -> 0.0211s6413== 20180417101940 AddIndexToCiStage: migrated (0.0212s) =======================6414== 20180418053107 AddIndexToCiJobArtifactsFileStore: migrating ================6415-- transaction_open?()6416 -> 0.0000s6417-- index_name(:ci_job_artifacts, {:column=>["file_store"]})6418 -> 0.0000s6419-- index_exists?(:ci_job_artifacts, :file_store, {:name=>"index_ci_job_artifacts_on_file_store"})6420 -> 0.0007s6421-- add_index(:ci_job_artifacts, :file_store, {:name=>"index_ci_job_artifacts_on_file_store"})6422 -> 0.0091s6423== 20180418053107 AddIndexToCiJobArtifactsFileStore: migrated (0.0100s) =======6424== 20180420010016 AddPipelineBuildForeignKey: migrating =======================6425-- execute("DELETE FROM ci_builds WHERE project_id IS NULL OR commit_id IS NULL\n")6426 -> 0.0005s6427-- execute("DELETE FROM ci_builds WHERE NOT EXISTS\n (SELECT true FROM ci_pipelines WHERE ci_pipelines.id = ci_builds.commit_id)\n AND stage_id IS NULL\n")6428 -> 0.0004s6429-- transaction_open?()6430 -> 0.0000s6431-- foreign_keys(:ci_builds)6432 -> 0.0009s6433-- add_foreign_key(:ci_builds, :ci_pipelines, {:column=>:commit_id, :on_delete=>:cascade})6434 -> 0.0546s6435== 20180420010016 AddPipelineBuildForeignKey: migrated (0.0566s) ==============6436== 20180420010616 CleanupBuildStageMigration: migrating =======================6437-- indexes(:ci_builds)6438 -> 0.0014s6439-- transaction_open?()6440 -> 0.0000s6441-- index_exists?(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_stage_partial_null_index"})6442 -> 0.0008s6443-- add_index(:ci_builds, :id, {:where=>"stage_id IS NULL", :name=>"tmp_id_stage_partial_null_index"})6444 -> 0.0103s6445-- transaction_open?()6446 -> 0.0000s6447-- indexes(:ci_builds)6448 -> 0.0007s6449-- index_name(:ci_builds, {:name=>"tmp_id_stage_partial_null_index"})6450 -> 0.0000s6451-- index_name_exists?(:ci_builds, "tmp_id_stage_partial_null_index", true)6452 -> 0.0007s6453-- remove_index(:ci_builds, {:name=>"tmp_id_stage_partial_null_index"})6454 -> 0.0055s6455== 20180420010616 CleanupBuildStageMigration: migrated (0.0244s) ==============6456== 20180420080616 ScheduleStagesIndexMigration: migrating =====================6457== 20180420080616 ScheduleStagesIndexMigration: migrated (0.0016s) ============6458== 20180423204600 AddPagesAccessLevelToProjectFeature: migrating ==============6459-- transaction_open?()6460 -> 0.0000s6461-- transaction()6462-- add_column(:project_features, :pages_access_level, :integer, {:default=>nil})6463 -> 0.0172s6464-- change_column_default(:project_features, :pages_access_level, 30)6465 -> 0.0050s6466 -> 0.0229s6467-- transaction_open?()6468 -> 0.0000s6469-- exec_query("SELECT COUNT(*) AS count FROM `project_features`")6470 -> 0.0004s6471-- change_column_null(:project_features, :pages_access_level, false)6472 -> 0.0193s6473-- change_column_default(:project_features, :pages_access_level, 20)6474 -> 0.0056s6475== 20180423204600 AddPagesAccessLevelToProjectFeature: migrated (0.0486s) =====6476== 20180424090541 AddEnforceTermsToApplicationSettings: migrating =============6477-- add_column(:application_settings, :enforce_terms, :boolean, {:default=>false})6478 -> 0.0453s6479== 20180424090541 AddEnforceTermsToApplicationSettings: migrated (0.0454s) ====6480== 20180424134533 CreateApplicationSettingTerms: migrating ====================6481-- create_table(:application_setting_terms, {})6482 -> 0.0119s6483== 20180424134533 CreateApplicationSettingTerms: migrated (0.0120s) ===========6484== 20180424151928 FillFileStore: migrating ====================================6485== 20180424151928 FillFileStore: migrated (0.0098s) ===========================6486== 20180424160449 AddPipelineIidToCiPipelines: migrating ======================6487-- add_column(:ci_pipelines, :iid, :integer)6488 -> 0.0584s6489== 20180424160449 AddPipelineIidToCiPipelines: migrated (0.0585s) =============6490== 20180425075446 CreateTermAgreements: migrating =============================6491-- create_table(:term_agreements, {})6492 -> 0.0171s6493-- add_index(:term_agreements, [:user_id, :term_id], {:unique=>true, :name=>"term_agreements_unique_index"})6494 -> 0.0094s6495== 20180425075446 CreateTermAgreements: migrated (0.0267s) ====================6496== 20180425131009 AssureCommitsCountForMergeRequestDiff: migrating ============6497== 20180425131009 AssureCommitsCountForMergeRequestDiff: migrated (0.0036s) ===6498== 20180425205249 AddIndexConstraintsToPipelineIid: migrating =================6499-- transaction_open?()6500 -> 0.0000s6501-- index_name(:ci_pipelines, {:column=>["project_id", "iid"]})6502 -> 0.0000s6503-- index_exists?(:ci_pipelines, [:project_id, :iid], {:unique=>true, :where=>"iid IS NOT NULL", :name=>"index_ci_pipelines_on_project_id_and_iid"})6504 -> 0.0006s6505-- add_index(:ci_pipelines, [:project_id, :iid], {:unique=>true, :where=>"iid IS NOT NULL", :name=>"index_ci_pipelines_on_project_id_and_iid"})6506 -> 0.0092s6507== 20180425205249 AddIndexConstraintsToPipelineIid: migrated (0.0101s) ========6508== 20180426102016 AddAcceptedTermToUsers: migrating ===========================6509-- change_table(:users, {})6510 -> 0.0732s6511-- transaction_open?()6512 -> 0.0000s6513-- foreign_keys(:users)6514 -> 0.0012s6515-- add_foreign_key(:users, :application_setting_terms, {:column=>:accepted_term_id, :on_delete=>:cascade})6516 -> 0.0451s6517== 20180426102016 AddAcceptedTermToUsers: migrated (0.1198s) ==================6518== 20180430101916 AddRunnerTypeToCiRunners: migrating =========================6519-- add_column(:ci_runners, :runner_type, :smallint)6520 -> 0.0235s6521== 20180430101916 AddRunnerTypeToCiRunners: migrated (0.0236s) ================6522== 20180430143705 BackfillRunnerTypeForCiRunnersPostMigrate: migrating ========6523-- transaction_open?()6524 -> 0.0000s6525-- exec_query("SELECT COUNT(*) AS count FROM `ci_runners` WHERE `ci_runners`.`is_shared` = 1 AND `ci_runners`.`runner_type` IS NULL")6526 -> 0.0005s6527-- transaction_open?()6528 -> 0.0000s6529-- exec_query("SELECT COUNT(*) AS count FROM `ci_runners` WHERE `ci_runners`.`is_shared` = 0 AND `ci_runners`.`runner_type` IS NULL")6530 -> 0.0005s6531== 20180430143705 BackfillRunnerTypeForCiRunnersPostMigrate: migrated (0.0031s) 6532== 20180502122856 CreateProjectMirrorData: migrating ==========================6533-- create_table(:project_mirror_data, {})6534 -> 0.0138s6535== 20180502122856 CreateProjectMirrorData: migrated (0.0145s) =================6536== 20180502134117 MigrateImportAttributesDataFromProjectsToProjectMirrorData: migrating 6537== 20180502134117 MigrateImportAttributesDataFromProjectsToProjectMirrorData: migrated (0.0029s) 6538== 20180503131624 CreateRemoteMirrors: migrating ==============================6539-- create_table(:remote_mirrors, {})6540 -> 0.0141s6541== 20180503131624 CreateRemoteMirrors: migrated (0.0147s) =====================6542== 20180503141722 AddRemoteMirrorAvailableOverriddenToProjects: migrating =====6543-- column_exists?(:projects, :remote_mirror_available_overridden)6544 -> 0.0023s6545-- add_column(:projects, :remote_mirror_available_overridden, :boolean)6546 -> 0.0440s6547== 20180503141722 AddRemoteMirrorAvailableOverriddenToProjects: migrated (0.0464s) 6548== 20180503150427 AddIndexToNamespacesRunnersToken: migrating =================6549-- transaction_open?()6550 -> 0.0000s6551-- index_name(:namespaces, {:column=>["runners_token"]})6552 -> 0.0000s6553-- index_exists?(:namespaces, :runners_token, {:unique=>true, :name=>"index_namespaces_on_runners_token"})6554 -> 0.0007s6555-- add_index(:namespaces, :runners_token, {:unique=>true, :name=>"index_namespaces_on_runners_token"})6556 -> 0.0118s6557== 20180503150427 AddIndexToNamespacesRunnersToken: migrated (0.0127s) ========6558== 20180503175053 EnsureMissingColumnsToProjectMirrorData: migrating ==========6559-- column_exists?(:project_mirror_data, :status)6560 -> 0.0010s6561-- column_exists?(:project_mirror_data, :jid)6562 -> 0.0006s6563-- column_exists?(:project_mirror_data, :last_error)6564 -> 0.0006s6565== 20180503175053 EnsureMissingColumnsToProjectMirrorData: migrated (0.0024s) =6566== 20180503175054 AddIndexesToProjectMirrorData: migrating ====================Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6567If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6568You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6569If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6570DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)6571Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6572If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6573You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6574If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6575DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)6576Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6577If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6578You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6579If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6580DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)6581-- transaction_open?()6582 -> 0.0000s6583-- index_name(:project_mirror_data, {:column=>["jid"]})6584 -> 0.0000s6585-- index_exists?(:project_mirror_data, :jid, {:name=>"index_project_mirror_data_on_jid"})6586 -> 0.0005s6587-- add_index(:project_mirror_data, :jid, {:name=>"index_project_mirror_data_on_jid"})6588 -> 0.0082s6589-- transaction_open?()6590 -> 0.0000s6591-- index_name(:project_mirror_data, {:column=>["status"]})6592 -> 0.0000s6593-- index_exists?(:project_mirror_data, :status, {:name=>"index_project_mirror_data_on_status"})6594 -> 0.0004s6595-- add_index(:project_mirror_data, :status, {:name=>"index_project_mirror_data_on_status"})6596 -> 0.0079s6597== 20180503175054 AddIndexesToProjectMirrorData: migrated (0.0174s) ===========6598== 20180503193542 AddIndexesToRemoteMirror: migrating =========================6599-- index_name(:remote_mirrors, {:column=>["last_successful_update_at"]})6600 -> 0.0000s6601-- index_exists?(:remote_mirrors, :last_successful_update_at, {:name=>"index_remote_mirrors_on_last_successful_update_at"})6602 -> 0.0006s6603-- transaction_open?()6604 -> 0.0000s6605-- index_name(:remote_mirrors, {:column=>["last_successful_update_at"]})6606 -> 0.0000s6607-- index_exists?(:remote_mirrors, :last_successful_update_at, {:name=>"index_remote_mirrors_on_last_successful_update_at"})6608 -> 0.0004s6609-- add_index(:remote_mirrors, :last_successful_update_at, {:name=>"index_remote_mirrors_on_last_successful_update_at"})6610 -> 0.0082s6611== 20180503193542 AddIndexesToRemoteMirror: migrated (0.0096s) ================6612== 20180503193953 AddMirrorAvailableToApplicationSettings: migrating ==========6613-- column_exists?(:application_settings, :mirror_available)6614 -> 0.0042s6615-- transaction_open?()6616 -> 0.0000s6617-- transaction()6618-- add_column(:application_settings, :mirror_available, :boolean, {:default=>nil})6619 -> 0.0440s6620-- change_column_default(:application_settings, :mirror_available, true)6621 -> 0.0124s6622 -> 0.0571s6623-- transaction_open?()6624 -> 0.0000s6625-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")6626 -> 0.0004s6627-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")6628 -> 0.0003s6629-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")6630 -> 0.0005s6631-- execute("UPDATE `application_settings` SET `mirror_available` = 1 WHERE `application_settings`.`id` >= 1")6632 -> 0.0014s6633-- change_column_null(:application_settings, :mirror_available, false)6634 -> 0.0502s6635== 20180503193953 AddMirrorAvailableToApplicationSettings: migrated (0.1154s) =6636== 20180503200320 EnablePrometheusMetricsByDefault: migrating =================6637-- change_column_default(:application_settings, :prometheus_metrics_enabled, true)6638 -> 0.0121s6639== 20180503200320 EnablePrometheusMetricsByDefault: migrated (0.0121s) ========6640== 20180504195842 ProjectNameLowerIndex: migrating ============================6641== 20180504195842 ProjectNameLowerIndex: migrated (0.0000s) ===================6642== 20180507083701 SetMinimalProjectBuildTimeout: migrating ====================6643-- transaction_open?()6644 -> 0.0000s6645-- exec_query("SELECT COUNT(*) AS count FROM `projects` WHERE `projects`.`build_timeout` < 600")6646 -> 0.0005s6647== 20180507083701 SetMinimalProjectBuildTimeout: migrated (0.0012s) ===========6648== 20180508055821 MakeRemoteMirrorsDisabledByDefault: migrating ===============6649-- change_column_default(:remote_mirrors, :enabled, false)6650 -> 0.0052s6651== 20180508055821 MakeRemoteMirrorsDisabledByDefault: migrated (0.0053s) ======6652== 20180508100222 AddNotNullConstraintToProjectMirrorDataForeignKey: migrating 6653-- change_column_null(:project_mirror_data, :project_id, false)6654 -> 0.0236s6655== 20180508100222 AddNotNullConstraintToProjectMirrorDataForeignKey: migrated (0.0244s) 6656== 20180508102840 AddUniqueConstraintToProjectMirrorDataProjectIdIndex: migrating 6657-- transaction_open?()6658 -> 0.0000s6659-- index_exists?(:project_mirror_data, :project_id, {:unique=>true, :name=>"index_project_mirror_data_on_project_id_unique"})6660 -> 0.0005s6661-- add_index(:project_mirror_data, :project_id, {:unique=>true, :name=>"index_project_mirror_data_on_project_id_unique"})6662 -> 0.0086s6663-- transaction_open?()6664 -> 0.0000s6665-- indexes(:project_mirror_data)6666 -> 0.0005s6667-- index_name(:project_mirror_data, {:name=>"index_project_mirror_data_on_project_id"})6668 -> 0.0000s6669-- index_name_exists?(:project_mirror_data, "index_project_mirror_data_on_project_id", true)6670 -> 0.0004s6671-- remove_index(:project_mirror_data, {:name=>"index_project_mirror_data_on_project_id"})6672 -> 0.0047s6673-- rename_index(:project_mirror_data, "index_project_mirror_data_on_project_id_unique", "index_project_mirror_data_on_project_id")6674 -> 0.0038s6675== 20180508102840 AddUniqueConstraintToProjectMirrorDataProjectIdIndex: migrated (0.0192s) 6676== 20180508135515 SetRunnerTypeNotNull: migrating =============================6677-- change_column_null(:ci_runners, :runner_type, false)6678 -> 0.0255s6679== 20180508135515 SetRunnerTypeNotNull: migrated (0.0255s) ====================6680== 20180511090724 AddIndexOnCiRunnersRunnerType: migrating ====================6681-- transaction_open?()6682 -> 0.0000s6683-- index_name(:ci_runners, {:column=>["runner_type"]})6684 -> 0.0000s6685-- index_exists?(:ci_runners, :runner_type, {:name=>"index_ci_runners_on_runner_type"})6686 -> 0.0007s6687-- add_index(:ci_runners, :runner_type, {:name=>"index_ci_runners_on_runner_type"})6688 -> 0.0083s6689== 20180511090724 AddIndexOnCiRunnersRunnerType: migrated (0.0093s) ===========6690== 20180511131058 CreateClustersApplicationsJupyter: migrating ================6691-- create_table(:clusters_applications_jupyter, {})6692 -> 0.0151s6693== 20180511131058 CreateClustersApplicationsJupyter: migrated (0.0151s) =======6694== 20180511174224 AddUniqueConstraintToProjectFeaturesProjectId: migrating ====6695-- transaction_open?()6696 -> 0.0000s6697-- index_exists?(:project_features, :project_id, {:unique=>true, :name=>"index_project_features_on_project_id_unique"})6698 -> 0.0004s6699-- add_index(:project_features, :project_id, {:unique=>true, :name=>"index_project_features_on_project_id_unique"})6700 -> 0.0085s6701-- transaction_open?()6702 -> 0.0000s6703-- indexes(:project_features)6704 -> 0.0005s6705-- index_name(:project_features, {:name=>"index_project_features_on_project_id"})6706 -> 0.0000s6707-- index_name_exists?(:project_features, "index_project_features_on_project_id", true)6708 -> 0.0004s6709-- remove_index(:project_features, {:name=>"index_project_features_on_project_id"})6710 -> 0.0046s6711-- rename_index(:project_features, "index_project_features_on_project_id_unique", "index_project_features_on_project_id")6712 -> 0.0042s6713== 20180511174224 AddUniqueConstraintToProjectFeaturesProjectId: migrated (0.0215s) 6714== 20180512061621 AddNotNullConstraintToProjectFeaturesProjectId: migrating ===6715-- change_column_null(:project_features, :project_id, false)6716 -> 0.0280s6717== 20180512061621 AddNotNullConstraintToProjectFeaturesProjectId: migrated (0.0291s) 6718== 20180514161336 RemoveGemnasiumService: migrating ===========================6719-- execute("DELETE FROM services WHERE type='GemnasiumService';")6720 -> 0.0004s6721== 20180514161336 RemoveGemnasiumService: migrated (0.0005s) ==================6722== 20180515005612 AddSquashToMergeRequests: migrating =========================6723-- column_exists?(:merge_requests, :squash)6724 -> 0.0020s6725-- transaction_open?()6726 -> 0.0000s6727-- transaction()6728-- add_column(:merge_requests, :squash, :boolean, {:default=>nil})6729 -> 0.0458s6730-- change_column_default(:merge_requests, :squash, false)6731 -> 0.0073s6732 -> 0.0539s6733-- transaction_open?()6734 -> 0.0000s6735-- exec_query("SELECT COUNT(*) AS count FROM `merge_requests`")6736 -> 0.0004s6737-- change_column_null(:merge_requests, :squash, false)6738 -> 0.0492s6739== 20180515005612 AddSquashToMergeRequests: migrated (0.1060s) ================6740== 20180515121227 CreateNotesDiffFiles: migrating =============================6741-- create_table(:note_diff_files, {})6742 -> 0.0142s6743-- add_foreign_key(:note_diff_files, :notes, {:column=>:diff_note_id, :on_delete=>:cascade})6744 -> 0.0209s6745== 20180515121227 CreateNotesDiffFiles: migrated (0.0353s) ====================6746== 20180517082340 AddNotNullConstraintsToProjectAuthorizations: migrating =====6747-- change_column_null(:project_authorizations, :user_id, false)6748 -> 0.0212s6749-- change_column_null(:project_authorizations, :project_id, false)6750 -> 0.0205s6751-- change_column_null(:project_authorizations, :access_level, false)6752 -> 0.0181s6753== 20180517082340 AddNotNullConstraintsToProjectAuthorizations: migrated (0.0600s) 6754== 20180521162137 MigrateRemainingMrMetricsPopulatingBackgroundMigration: migrating 6755== 20180521162137 MigrateRemainingMrMetricsPopulatingBackgroundMigration: migrated (0.0047s) 6756== 20180521171529 IncreaseMysqlTextLimitForGpgKeys: migrating =================6757-- change_column(:gpg_keys, :key, :text, {:limit=>16777215})6758 -> 0.0038s6759== 20180521171529 IncreaseMysqlTextLimitForGpgKeys: migrated (0.0040s) ========6760== 20180523042841 RenameMergeRequestsAllowMaintainerToPush: migrating =========6761== 20180523042841 RenameMergeRequestsAllowMaintainerToPush: migrated (0.0000s) 6762== 20180523125103 CleanupMergeRequestsAllowMaintainerToPushRename: migrating ==6763== 20180523125103 CleanupMergeRequestsAllowMaintainerToPushRename: migrated (0.0000s) 6764== 20180524132016 MergeRequestsTargetIdIidStatePartialIndex: migrating ========6765-- transaction_open?()6766 -> 0.0000s6767-- index_exists?(:merge_requests, [:target_project_id, :iid], {:where=>"state = 'opened'", :name=>"index_merge_requests_on_target_project_id_and_iid_opened"})6768 -> 0.0007s6769-- add_index(:merge_requests, [:target_project_id, :iid], {:where=>"state = 'opened'", :name=>"index_merge_requests_on_target_project_id_and_iid_opened"})6770 -> 0.0096s6771== 20180524132016 MergeRequestsTargetIdIidStatePartialIndex: migrated (0.0105s) 6772== 20180529093006 EnsureRemoteMirrorColumns: migrating ========================6773-- column_exists?(:remote_mirrors, :last_update_started_at)6774 -> 0.0012s6775-- column_exists?(:remote_mirrors, :remote_name)6776 -> 0.0011s6777-- column_exists?(:remote_mirrors, :only_protected_branches)6778 -> 0.0011s6779== 20180529093006 EnsureRemoteMirrorColumns: migrated (0.0036s) ===============6780== 20180529152628 ScheduleToArchiveLegacyTraces: migrating ====================6781== 20180529152628 ScheduleToArchiveLegacyTraces: migrated (0.0032s) ===========6782== 20180530135500 AddIndexToStagesPosition: migrating =========================6783-- transaction_open?()6784 -> 0.0000s6785-- index_name(:ci_stages, {:column=>["pipeline_id", "position"]})6786 -> 0.0000s6787-- index_exists?(:ci_stages, [:pipeline_id, :position], {:name=>"index_ci_stages_on_pipeline_id_and_position"})6788 -> 0.0005s6789-- add_index(:ci_stages, [:pipeline_id, :position], {:name=>"index_ci_stages_on_pipeline_id_and_position"})6790 -> 0.0088s6791== 20180530135500 AddIndexToStagesPosition: migrated (0.0095s) ================6792== 20180531185349 AddRepositoryLanguages: migrating ===========================6793-- create_table(:programming_languages, {})6794 -> 0.0113s6795-- create_table(:repository_languages, {:id=>false})6796 -> 0.0153s6797-- add_index(:programming_languages, :name, {:unique=>true})6798 -> 0.0185s6799-- add_index(:repository_languages, [:project_id, :programming_language_id], {:unique=>true, :name=>"index_repository_languages_on_project_and_languages_id"})6800 -> 0.0160s6801== 20180531185349 AddRepositoryLanguages: migrated (0.0614s) ==================6802== 20180531220618 ChangeDefaultValueForDsaKeyRestriction: migrating ===========6803-- change_column(:application_settings, :dsa_key_restriction, :integer, {:null=>false, :default=>-1})6804 -> 0.0083s6805-- execute("UPDATE application_settings SET dsa_key_restriction = -1")6806 -> 0.0011s6807== 20180531220618 ChangeDefaultValueForDsaKeyRestriction: migrated (0.0095s) ==6808== 20180601213245 AddDeployStrategyToProjectAutoDevops: migrating =============6809-- transaction_open?()6810 -> 0.0000s6811-- transaction()6812-- add_column(:project_auto_devops, :deploy_strategy, :integer, {:default=>nil})6813 -> 0.0175s6814-- change_column_default(:project_auto_devops, :deploy_strategy, 0)6815 -> 0.0048s6816 -> 0.0231s6817-- transaction_open?()6818 -> 0.0000s6819-- exec_query("SELECT COUNT(*) AS count FROM `project_auto_devops`")6820 -> 0.0004s6821-- change_column_null(:project_auto_devops, :deploy_strategy, false)6822 -> 0.0210s6823== 20180601213245 AddDeployStrategyToProjectAutoDevops: migrated (0.0450s) ====6824== 20180603190921 MigrateObjectStorageUploadSidekiqQueue: migrating ===========6825== 20180603190921 MigrateObjectStorageUploadSidekiqQueue: migrated (0.0004s) ==6826== 20180604123514 CleanupStagesPositionMigration: migrating ===================6827-- indexes(:ci_stages)6828 -> 0.0006s6829-- transaction_open?()6830 -> 0.0000s6831-- index_exists?(:ci_stages, :id, {:where=>"position IS NULL", :name=>"tmp_id_stage_position_partial_null_index"})6832 -> 0.0005s6833-- add_index(:ci_stages, :id, {:where=>"position IS NULL", :name=>"tmp_id_stage_position_partial_null_index"})6834 -> 0.0096s6835-- transaction_open?()6836 -> 0.0000s6837-- indexes(:ci_stages)6838 -> 0.0005s6839-- index_name(:ci_stages, {:name=>"tmp_id_stage_position_partial_null_index"})6840 -> 0.0000s6841-- index_name_exists?(:ci_stages, "tmp_id_stage_position_partial_null_index", true)6842 -> 0.0005s6843-- remove_index(:ci_stages, {:name=>"tmp_id_stage_position_partial_null_index"})6844 -> 0.0050s6845== 20180604123514 CleanupStagesPositionMigration: migrated (0.0206s) ==========6846== 20180607071808 AddPushEventsBranchFilterToWebHooks: migrating ==============6847-- add_column(:web_hooks, :push_events_branch_filter, :text)6848 -> 0.0204s6849== 20180607071808 AddPushEventsBranchFilterToWebHooks: migrated (0.0205s) =====6850== 20180608091413 AddGroupToTodos: migrating ==================================6851-- column_exists?(:todos, :group_id)6852 -> 0.0012s6853-- add_column(:todos, :group_id, :integer)6854 -> 0.0328s6855-- transaction_open?()6856 -> 0.0000s6857-- foreign_keys(:todos)6858 -> 0.0011s6859-- add_foreign_key(:todos, :namespaces, {:column=>:group_id, :on_delete=>:cascade})6860 -> 0.0389s6861-- transaction_open?()6862 -> 0.0000s6863-- index_name(:todos, {:column=>["group_id"]})6864 -> 0.0000s6865-- index_exists?(:todos, :group_id, {:name=>"index_todos_on_group_id"})6866 -> 0.0010s6867-- add_index(:todos, :group_id, {:name=>"index_todos_on_group_id"})6868 -> 0.0109s6869-- change_column_null(:todos, :project_id, true)6870 -> 0.0355s6871== 20180608091413 AddGroupToTodos: migrated (0.1220s) =========================6872== 20180608110058 RenameMergeRequestsAllowCollaboration: migrating ============6873-- column_exists?(:merge_requests, :allow_collaboration)6874 -> 0.0019s6875== 20180608110058 RenameMergeRequestsAllowCollaboration: migrated (0.0020s) ===6876== 20180608201435 CleanupMergeRequestsAllowCollaborationRename: migrating =====6877-- column_exists?(:merge_requests, :allow_collaboration)6878 -> 0.0019s6879== 20180608201435 CleanupMergeRequestsAllowCollaborationRename: migrated (0.0019s) 6880== 20180612103626 AddColumnsForHelmTillerCertificates: migrating ==============6881-- add_column(:clusters_applications_helm, :encrypted_ca_key, :text)6882 -> 0.0175s6883-- add_column(:clusters_applications_helm, :encrypted_ca_key_iv, :text)6884 -> 0.0169s6885-- add_column(:clusters_applications_helm, :ca_cert, :text)6886 -> 0.0171s6887== 20180612103626 AddColumnsForHelmTillerCertificates: migrated (0.0518s) =====6888== 20180613081317 CreateCiBuildsRunnerSession: migrating ======================6889-- create_table(:ci_builds_runner_session, {:id=>:bigserial})6890 -> 0.0132s6891== 20180613081317 CreateCiBuildsRunnerSession: migrated (0.0132s) =============6892== 20180619121030 EnqueueDeleteDiffFilesWorkers: migrating ====================6893-- indexes(:merge_request_diffs)6894 -> 0.0005s6895-- transaction_open?()6896 -> 0.0000s6897-- index_exists?(:merge_request_diffs, :id, {:where=>"(state NOT IN ('without_files', 'empty'))", :name=>"tmp_partial_diff_id_with_files_index"})6898 -> 0.0005s6899-- add_index(:merge_request_diffs, :id, {:where=>"(state NOT IN ('without_files', 'empty'))", :name=>"tmp_partial_diff_id_with_files_index"})6900 -> 0.0083s6901== 20180619121030 EnqueueDeleteDiffFilesWorkers: migrated (0.0104s) ===========6902== 20180625113853 CreateImportExportUploads: migrating ========================6903-- create_table(:import_export_uploads, {})6904 -> 0.0150s6905-- add_index(:import_export_uploads, :updated_at)6906 -> 0.0088s6907== 20180625113853 CreateImportExportUploads: migrated (0.0239s) ===============Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6908If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6909You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6910If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6911DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)6912Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6913If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6914You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6915If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6916DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)6917Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6918If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6919You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6920If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6921DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)6922Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.6923If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).6924You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)6925If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.6926DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)6927== 20180626125654 AddIndexOnDeployableForDeployments: migrating ===============6928-- transaction_open?()6929 -> 0.0000s6930-- index_name(:deployments, {:column=>["deployable_type", "deployable_id"]})6931 -> 0.0000s6932-- index_exists?(:deployments, [:deployable_type, :deployable_id], {:name=>"index_deployments_on_deployable_type_and_deployable_id"})6933 -> 0.0006s6934-- add_index(:deployments, [:deployable_type, :deployable_id], {:name=>"index_deployments_on_deployable_type_and_deployable_id"})6935 -> 0.0098s6936== 20180626125654 AddIndexOnDeployableForDeployments: migrated (0.0107s) ======6937== 20180628124813 AlterWebHookLogsIndexes: migrating ==========================6938-- transaction_open?()6939 -> 0.0000s6940-- index_name(:web_hook_logs, {:column=>["created_at", "web_hook_id"]})6941 -> 0.0000s6942-- index_exists?(:web_hook_logs, [:created_at, :web_hook_id], {:name=>"index_web_hook_logs_on_created_at_and_web_hook_id"})6943 -> 0.0006s6944-- add_index(:web_hook_logs, [:created_at, :web_hook_id], {:name=>"index_web_hook_logs_on_created_at_and_web_hook_id"})6945 -> 0.0071s6946== 20180628124813 AlterWebHookLogsIndexes: migrated (0.0079s) =================6947== 20180629153018 CreateSiteStatistics: migrating =============================6948-- create_table(:site_statistics, {})6949 -> 0.0107s6950-- execute("INSERT INTO site_statistics (id) VALUES(1)")6951 -> 0.0011s6952== 20180629153018 CreateSiteStatistics: migrated (0.0119s) ====================6953== 20180629191052 AddPartialIndexToProjectsForLastRepositoryCheckAt: migrating 6954-- transaction_open?()6955 -> 0.0000s6956-- index_exists?(:projects, :last_repository_check_at, {:where=>"last_repository_check_at IS NOT NULL", :name=>"index_projects_on_last_repository_check_at"})6957 -> 0.0007s6958-- add_index(:projects, :last_repository_check_at, {:where=>"last_repository_check_at IS NOT NULL", :name=>"index_projects_on_last_repository_check_at"})6959 -> 0.0104s6960== 20180629191052 AddPartialIndexToProjectsForLastRepositoryCheckAt: migrated (0.0112s) 6961== 20180702120647 EnqueueFixCrossProjectLabelLinks: migrating =================6962== 20180702120647 EnqueueFixCrossProjectLabelLinks: migrated (0.0027s) ========6963== 20180702124358 RemoveOrphanedRoutes: migrating =============================6964== 20180702124358 RemoveOrphanedRoutes: migrated (0.0025s) ====================6965== 20180702134423 GenerateMissingRoutes: migrating ============================6966== 20180702134423 GenerateMissingRoutes: migrated (0.0220s) ===================6967== 20180704145007 UpdateProjectIndexes: migrating =============================6968-- transaction_open?()6969 -> 0.0000s6970-- index_exists?(:projects, [:repository_storage, :created_at], {:name=>"idx_project_repository_check_partial", :where=>"last_repository_check_at IS NULL"})6971 -> 0.0007s6972-- add_index(:projects, [:repository_storage, :created_at], {:name=>"idx_project_repository_check_partial", :where=>"last_repository_check_at IS NULL"})6973 -> 0.0108s6974== 20180704145007 UpdateProjectIndexes: migrated (0.0117s) ====================6975== 20180704204006 AddHideThirdPartyOffersToApplicationSettings: migrating =====6976-- transaction_open?()6977 -> 0.0000s6978-- transaction()6979-- add_column(:application_settings, :hide_third_party_offers, :boolean, {:default=>nil})6980 -> 0.0440s6981-- change_column_default(:application_settings, :hide_third_party_offers, false)6982 -> 0.0134s6983 -> 0.0583s6984-- transaction_open?()6985 -> 0.0000s6986-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")6987 -> 0.0006s6988-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")6989 -> 0.0004s6990-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")6991 -> 0.0006s6992-- execute("UPDATE `application_settings` SET `hide_third_party_offers` = 0 WHERE `application_settings`.`id` >= 1")6993 -> 0.0013s6994-- change_column_null(:application_settings, :hide_third_party_offers, false)6995 -> 0.0555s6996== 20180704204006 AddHideThirdPartyOffersToApplicationSettings: migrated (0.1180s) 6997== 20180705160945 AddFileFormatToCiJobArtifacts: migrating ====================6998-- add_column(:ci_job_artifacts, :file_format, :integer, {:limit=>2})6999 -> 0.0247s7000== 20180705160945 AddFileFormatToCiJobArtifacts: migrated (0.0247s) ===========7001== 20180706223200 PopulateSiteStatistics: migrating ===========================7002-- transaction()7003-- execute("UPDATE site_statistics SET repositories_count = (SELECT COUNT(*) FROM projects)")7004 -> 0.0005s7005 -> 0.0018s7006-- transaction()7007-- execute("UPDATE site_statistics SET wikis_count = (SELECT COUNT(*) FROM project_features WHERE wiki_access_level != 0)")7008 -> 0.0004s7009 -> 0.0016s7010== 20180706223200 PopulateSiteStatistics: migrated (0.0035s) ==================7011== 20180710162338 AddForeignKeyFromNotificationSettingsToUsers: migrating =====7012-- transaction_open?()7013 -> 0.0000s7014-- foreign_keys(:notification_settings)7015 -> 0.0007s7016-- add_foreign_key(:notification_settings, :users, {:column=>:user_id, :on_delete=>:cascade})7017 -> 0.0247s7018== 20180710162338 AddForeignKeyFromNotificationSettingsToUsers: migrated (0.0292s) 7019== 20180711103851 DropDuplicateProtectedTags: migrating =======================7020== 20180711103851 DropDuplicateProtectedTags: migrated (0.0027s) ==============7021== 20180711103922 AddProtectedTagsIndex: migrating ============================7022-- transaction_open?()7023 -> 0.0000s7024-- index_name(:protected_tags, {:column=>["project_id", "name"]})7025 -> 0.0000s7026-- index_exists?(:protected_tags, [:project_id, :name], {:unique=>true, :name=>"index_protected_tags_on_project_id_and_name"})7027 -> 0.0005s7028-- add_index(:protected_tags, [:project_id, :name], {:unique=>true, :name=>"index_protected_tags_on_project_id_and_name"})7029 -> 0.0090s7030== 20180711103922 AddProtectedTagsIndex: migrated (0.0098s) ===================7031== 20180713092803 CreateUserStatuses: migrating ===============================7032-- create_table(:user_statuses, {:id=>false, :primary_key=>:user_id})7033 -> 0.0113s7034== 20180713092803 CreateUserStatuses: migrated (0.0114s) ======================7035== 20180717125853 RemoveRestrictedTodos: migrating ============================7036== 20180717125853 RemoveRestrictedTodos: migrated (0.0030s) ===================7037== 20180718005113 AddInstanceStatisticsVisibilityToApplicationSetting: migrating 7038-- transaction_open?()7039 -> 0.0000s7040-- transaction()7041-- add_column(:application_settings, :instance_statistics_visibility_private, :boolean, {:default=>nil})7042 -> 0.0455s7043-- change_column_default(:application_settings, :instance_statistics_visibility_private, false)7044 -> 0.0171s7045 -> 0.0636s7046-- transaction_open?()7047 -> 0.0000s7048-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7049 -> 0.0007s7050-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7051 -> 0.0005s7052-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7053 -> 0.0005s7054-- execute("UPDATE `application_settings` SET `instance_statistics_visibility_private` = 0 WHERE `application_settings`.`id` >= 1")7055 -> 0.0017s7056-- change_column_null(:application_settings, :instance_statistics_visibility_private, false)7057 -> 0.0561s7058== 20180718005113 AddInstanceStatisticsVisibilityToApplicationSetting: migrated (0.1246s) 7059== 20180720023512 AddReceiveMaxInputSizeToApplicationSettings: migrating ======7060-- add_column(:application_settings, :receive_max_input_size, :integer)7061 -> 0.0450s7062== 20180720023512 AddReceiveMaxInputSizeToApplicationSettings: migrated (0.0450s) 7063== 20180722103201 AddPrivateProfileToUsers: migrating =========================7064-- add_column(:users, :private_profile, :boolean)7065 -> 0.0774s7066== 20180722103201 AddPrivateProfileToUsers: migrated (0.0775s) ================7067== 20180723130817 DeleteInconsistentInternalIdRecords: migrating ==============7068== 20180723130817 DeleteInconsistentInternalIdRecords: migrated (0.0111s) =====7069== 20180723135214 AddWebIdeClientSidePreviewEnabledToApplicationSettings: migrating Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7070If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7071You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7072If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7073DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)7074Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7075If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7076You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7077If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7078DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)7079Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7080If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7081You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7082If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7083DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)7084Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7085If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7086You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7087If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7088DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)7089-- transaction_open?()7090 -> 0.0000s7091-- transaction()7092-- add_column(:application_settings, :web_ide_clientside_preview_enabled, :boolean, {:default=>nil})7093 -> 0.0520s7094-- change_column_default(:application_settings, :web_ide_clientside_preview_enabled, false)7095 -> 0.0142s7096 -> 0.0672s7097-- transaction_open?()7098 -> 0.0000s7099-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7100 -> 0.0005s7101-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7102 -> 0.0004s7103-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7104 -> 0.0004s7105-- execute("UPDATE `application_settings` SET `web_ide_clientside_preview_enabled` = 0 WHERE `application_settings`.`id` >= 1")7106 -> 0.0015s7107-- change_column_null(:application_settings, :web_ide_clientside_preview_enabled, false)7108 -> 0.0587s7109== 20180723135214 AddWebIdeClientSidePreviewEnabledToApplicationSettings: migrated (0.1301s) 7110== 20180726172057 CreateResourceLabelEvents: migrating ========================7111-- create_table(:resource_label_events, {:id=>:bigserial})7112 -> 0.0226s7113== 20180726172057 CreateResourceLabelEvents: migrated (0.0227s) ===============7114== 20180807153545 RemoveRedundantStatusIndexOnCiBuilds: migrating =============7115-- transaction_open?()7116 -> 0.0000s7117-- index_name(:ci_builds, {:column=>["status"]})7118 -> 0.0000s7119-- index_exists?(:ci_builds, :status, {:name=>"index_ci_builds_on_status"})7120 -> 0.0009s7121-- index_name(:ci_builds, {:name=>"index_ci_builds_on_status", :column=>:status})7122 -> 0.0000s7123-- index_name_exists?(:ci_builds, "index_ci_builds_on_status", true)7124 -> 0.0008s7125-- remove_index(:ci_builds, {:name=>"index_ci_builds_on_status", :column=>:status})7126 -> 0.0065s7127== 20180807153545 RemoveRedundantStatusIndexOnCiBuilds: migrated (0.0086s) ====7128== 20180808162000 AddUserShowAddSshKeyMessageToApplicationSettings: migrating =7129-- transaction_open?()7130 -> 0.0000s7131-- transaction()7132-- add_column(:application_settings, :user_show_add_ssh_key_message, :boolean, {:default=>nil})7133 -> 0.0451s7134-- change_column_default(:application_settings, :user_show_add_ssh_key_message, true)7135 -> 0.0153s7136 -> 0.0612s7137-- transaction_open?()7138 -> 0.0000s7139-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7140 -> 0.0006s7141-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7142 -> 0.0004s7143-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7144 -> 0.0004s7145-- execute("UPDATE `application_settings` SET `user_show_add_ssh_key_message` = 1 WHERE `application_settings`.`id` >= 1")7146 -> 0.0015s7147-- change_column_null(:application_settings, :user_show_add_ssh_key_message, false)7148 -> 0.0801s7149== 20180808162000 AddUserShowAddSshKeyMessageToApplicationSettings: migrated (0.1458s) 7150== 20180809195358 MigrateNullWikiAccessLevels: migrating ======================7151-- transaction()7152-- execute("UPDATE site_statistics SET wikis_count = (SELECT COUNT(*) FROM project_features WHERE wiki_access_level != 0)")7153 -> 0.0004s7154 -> 0.0018s7155== 20180809195358 MigrateNullWikiAccessLevels: migrated (0.0042s) =============7156== 20180813101999 ChangeDefaultOfAutoDevopsInstanceWide: migrating ============7157-- change_column_default(:application_settings, :auto_devops_enabled, true)7158 -> 0.0123s7159== 20180813101999 ChangeDefaultOfAutoDevopsInstanceWide: migrated (0.0124s) ===7160== 20180813102000 EnableAutoDevopsInstanceWideForEveryone: migrating ==========7161-- execute("UPDATE application_settings SET auto_devops_enabled = true")7162 -> 0.0012s7163== 20180813102000 EnableAutoDevopsInstanceWideForEveryone: migrated (0.0012s) =7164== 20180814153625 AddCommitEmailToUsers: migrating ============================7165-- add_column(:users, :commit_email, :string)7166 -> 0.0768s7167== 20180814153625 AddCommitEmailToUsers: migrated (0.0769s) ===================7168== 20180815040323 AddAuthorizationTypeToClusterPlatformsKubernetes: migrating =7169-- add_column(:cluster_platforms_kubernetes, :authorization_type, :integer, {:limit=>2})7170 -> 0.0176s7171== 20180815040323 AddAuthorizationTypeToClusterPlatformsKubernetes: migrated (0.0176s) 7172== 20180815160409 AddFileLocationToCiJobArtifacts: migrating ==================7173-- add_column(:ci_job_artifacts, :file_location, :integer, {:limit=>2})7174 -> 0.0239s7175== 20180815160409 AddFileLocationToCiJobArtifacts: migrated (0.0240s) =========7176== 20180815170510 AddPartialIndexToCiBuildsArtifactsFile: migrating ===========7177-- transaction_open?()7178 -> 0.0000s7179-- index_exists?(:ci_builds, :id, {:where=>"artifacts_file <> ''", :name=>"partial_index_ci_builds_on_id_with_legacy_artifacts"})7180 -> 0.0009s7181-- add_index(:ci_builds, :id, {:where=>"artifacts_file <> ''", :name=>"partial_index_ci_builds_on_id_with_legacy_artifacts"})7182 -> 0.0077s7183== 20180815170510 AddPartialIndexToCiBuildsArtifactsFile: migrated (0.0088s) ==7184== 20180815175440 AddIndexOnListType: migrating ===============================7185-- transaction_open?()7186 -> 0.0000s7187-- index_name(:lists, {:column=>["list_type"]})7188 -> 0.0000s7189-- index_exists?(:lists, :list_type, {:name=>"index_lists_on_list_type"})7190 -> 0.0008s7191-- add_index(:lists, :list_type, {:name=>"index_lists_on_list_type"})7192 -> 0.0085s7193== 20180815175440 AddIndexOnListType: migrated (0.0095s) ======================7194== 20180816161409 MigrateLegacyArtifactsToJobArtifacts: migrating =============7195== 20180816161409 MigrateLegacyArtifactsToJobArtifacts: migrated (0.0027s) ====7196== 20180816193530 RenameLoginRootNamespaces: migrating ========================7197== 20180816193530 RenameLoginRootNamespaces: migrated (0.0015s) ===============7198== 20180826111825 RecalculateSiteStatistics: migrating ========================7199-- transaction()7200-- execute("UPDATE site_statistics SET repositories_count = (SELECT COUNT(*) FROM projects)")7201 -> 0.0004s7202 -> 0.0016s7203-- transaction()7204-- execute("UPDATE site_statistics SET wikis_count = (SELECT COUNT(*) FROM project_features WHERE wiki_access_level != 0)")7205 -> 0.0004s7206 -> 0.0017s7207== 20180826111825 RecalculateSiteStatistics: migrated (0.0034s) ===============7208== 20180831164904 FixPrometheusMetricQueryLimits: migrating ===================7209-- change_column(:prometheus_metrics, :query, :text, {:limit=>4096, :default=>nil})7210 -> 0.0244s7211== 20180831164904 FixPrometheusMetricQueryLimits: migrated (0.0245s) ==========7212== 20180831164905 AddCommonToPrometheusMetrics: migrating =====================7213-- transaction_open?()7214 -> 0.0000s7215-- transaction()7216-- add_column(:prometheus_metrics, :common, :boolean, {:default=>nil})7217 -> 0.0193s7218-- change_column_default(:prometheus_metrics, :common, false)7219 -> 0.0052s7220 -> 0.0253s7221-- transaction_open?()7222 -> 0.0000s7223-- exec_query("SELECT COUNT(*) AS count FROM `prometheus_metrics`")7224 -> 0.0005s7225-- change_column_null(:prometheus_metrics, :common, false)7226 -> 0.0231s7227== 20180831164905 AddCommonToPrometheusMetrics: migrated (0.0492s) ============7228== 20180831164907 AddIndexOnCommonForPrometheusMetrics: migrating =============7229-- transaction_open?()7230 -> 0.0000s7231-- index_name(:prometheus_metrics, {:column=>["common"]})7232 -> 0.0000s7233-- index_exists?(:prometheus_metrics, :common, {:name=>"index_prometheus_metrics_on_common"})7234 -> 0.0006s7235-- add_index(:prometheus_metrics, :common, {:name=>"index_prometheus_metrics_on_common"})7236 -> 0.0091s7237== 20180831164907 AddIndexOnCommonForPrometheusMetrics: migrated (0.0100s) ====7238== 20180831164908 AddIdentifierToPrometheusMetric: migrating ==================7239-- add_column(:prometheus_metrics, :identifier, :string)7240 -> 0.0220s7241== 20180831164908 AddIdentifierToPrometheusMetric: migrated (0.0220s) =========7242== 20180831164909 AddIndexForIdentifierToPrometheusMetric: migrating ==========7243-- transaction_open?()7244 -> 0.0000s7245-- index_name(:prometheus_metrics, {:column=>["identifier"]})7246 -> 0.0000s7247-- index_exists?(:prometheus_metrics, :identifier, {:unique=>true, :name=>"index_prometheus_metrics_on_identifier"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7248If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7249You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7250If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7251DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)7252Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7253If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7254You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7255If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7256DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)7257 -> 0.0007s7258-- add_index(:prometheus_metrics, :identifier, {:unique=>true, :name=>"index_prometheus_metrics_on_identifier"})7259 -> 0.0094s7260== 20180831164909 AddIndexForIdentifierToPrometheusMetric: migrated (0.0104s) =7261== 20180831164910 ImportCommonMetrics: migrating ==============================7262== 20180831164910 ImportCommonMetrics: migrated (0.0878s) =====================7263== 20180901171833 AddProjectConfigSourceStatusIndexToPipeline: migrating ======7264-- transaction_open?()7265 -> 0.0000s7266-- index_name(:ci_pipelines, {:column=>["project_id", "status", "config_source"]})7267 -> 0.0000s7268-- index_exists?(:ci_pipelines, [:project_id, :status, :config_source], {:name=>"index_ci_pipelines_on_project_id_and_status_and_config_source"})7269 -> 0.0008s7270-- add_index(:ci_pipelines, [:project_id, :status, :config_source], {:name=>"index_ci_pipelines_on_project_id_and_status_and_config_source"})7271 -> 0.0094s7272== 20180901171833 AddProjectConfigSourceStatusIndexToPipeline: migrated (0.0104s) 7273== 20180901200537 AddResourceLabelEventReferenceFields: migrating =============7274-- add_column(:resource_label_events, :cached_markdown_version, :integer)7275 -> 0.0233s7276-- add_column(:resource_label_events, :reference, :text)7277 -> 0.0243s7278-- add_column(:resource_label_events, :reference_html, :text)7279 -> 0.0225s7280== 20180901200537 AddResourceLabelEventReferenceFields: migrated (0.0703s) ====7281== 20180906051323 RemoveOrphanedLabelLinks: migrating =========================7282-- transaction_open?()7283 -> 0.0000s7284-- foreign_keys(:label_links)7285 -> 0.0007s7286-- add_foreign_key(:label_links, :labels, {:column=>:label_id, :on_delete=>:cascade})7287 -> 0.0225s7288== 20180906051323 RemoveOrphanedLabelLinks: migrated (0.0266s) ================7289== 20180906101639 AddUserPingConsentToApplicationSettings: migrating ==========7290-- add_column(:application_settings, :usage_stats_set_by_user_id, :integer)7291 -> 0.0450s7292-- transaction_open?()7293 -> 0.0000s7294-- foreign_keys(:application_settings)7295 -> 0.0011s7296-- add_foreign_key(:application_settings, :users, {:column=>:usage_stats_set_by_user_id, :on_delete=>:nullify})7297 -> 0.0241s7298== 20180906101639 AddUserPingConsentToApplicationSettings: migrated (0.0705s) =7299== 20180907015926 AddLegacyAbacToClusterProvidersGcp: migrating ===============7300-- transaction_open?()7301 -> 0.0000s7302-- transaction()7303-- add_column(:cluster_providers_gcp, :legacy_abac, :boolean, {:default=>nil})7304 -> 0.0171s7305-- change_column_default(:cluster_providers_gcp, :legacy_abac, true)7306 -> 0.0051s7307 -> 0.0231s7308-- transaction_open?()7309 -> 0.0000s7310-- exec_query("SELECT COUNT(*) AS count FROM `cluster_providers_gcp`")7311 -> 0.0004s7312-- change_column_null(:cluster_providers_gcp, :legacy_abac, false)7313 -> 0.0188s7314== 20180907015926 AddLegacyAbacToClusterProvidersGcp: migrated (0.0426s) ======7315== 20180910115836 AddAttrEncryptedColumnsToWebHook: migrating =================7316-- add_column(:web_hooks, :encrypted_token, :string)7317 -> 0.0345s7318-- add_column(:web_hooks, :encrypted_token_iv, :string)7319 -> 0.0204s7320-- add_column(:web_hooks, :encrypted_url, :string)7321 -> 0.0185s7322-- add_column(:web_hooks, :encrypted_url_iv, :string)7323 -> 0.0183s7324== 20180910115836 AddAttrEncryptedColumnsToWebHook: migrated (0.0920s) ========7325== 20180910153412 AddTokenDigestToPersonalAccessTokens: migrating =============7326-- change_column(:personal_access_tokens, :token, :string, {:null=>true})7327 -> 0.0175s7328-- add_column(:personal_access_tokens, :token_digest, :string)7329 -> 0.0166s7330== 20180910153412 AddTokenDigestToPersonalAccessTokens: migrated (0.0343s) ====7331== 20180910153413 AddIndexToTokenDigestOnPersonalAccessTokens: migrating ======7332-- transaction_open?()7333 -> 0.0000s7334-- index_name(:personal_access_tokens, {:column=>["token_digest"]})7335 -> 0.0000s7336-- index_exists?(:personal_access_tokens, :token_digest, {:unique=>true, :name=>"index_personal_access_tokens_on_token_digest"})7337 -> 0.0005s7338-- add_index(:personal_access_tokens, :token_digest, {:unique=>true, :name=>"index_personal_access_tokens_on_token_digest"})7339 -> 0.0081s7340== 20180910153413 AddIndexToTokenDigestOnPersonalAccessTokens: migrated (0.0088s) 7341== 20180912111628 AddKnativeApplication: migrating ============================7342-- create_table("clusters_applications_knative", {})7343 -> 0.0125s7344== 20180912111628 AddKnativeApplication: migrated (0.0126s) ===================7345== 20180913051323 ConsumeRemainingDiffFilesDeletionJobs: migrating ============7346-- transaction_open?()7347 -> 0.0000s7348-- indexes(:merge_request_diffs)7349 -> 0.0005s7350-- index_name(:merge_request_diffs, {:name=>"tmp_partial_diff_id_with_files_index"})7351 -> 0.0000s7352-- index_name_exists?(:merge_request_diffs, "tmp_partial_diff_id_with_files_index", true)7353 -> 0.0005s7354-- remove_index(:merge_request_diffs, {:name=>"tmp_partial_diff_id_with_files_index"})7355 -> 0.0046s7356== 20180913051323 ConsumeRemainingDiffFilesDeletionJobs: migrated (0.0131s) ===7357== 20180913142237 ScheduleDigestPersonalAccessTokens: migrating ===============7358== 20180913142237 ScheduleDigestPersonalAccessTokens: migrated (0.0029s) ======7359== 20180914162043 EncryptWebHooksColumns: migrating ===========================7360== 20180914162043 EncryptWebHooksColumns: migrated (0.0008s) ==================7361== 20180914201132 RemoveSidekiqThrottlingFromApplicationSettings: migrating ===7362-- remove_column(:application_settings, :sidekiq_throttling_enabled, :boolean, {:default=>false})7363 -> 0.0463s7364-- remove_column(:application_settings, :sidekiq_throttling_queues, :string)7365 -> 0.0476s7366-- remove_column(:application_settings, :sidekiq_throttling_factor, :decimal)7367 -> 0.0463s7368== 20180914201132 RemoveSidekiqThrottlingFromApplicationSettings: migrated (0.1405s) 7369== 20180916011959 AddIndexPipelinesProjectIdSource: migrating =================7370-- transaction_open?()7371 -> 0.0000s7372-- index_name(:ci_pipelines, {:column=>["project_id", "source"]})7373 -> 0.0000s7374-- index_exists?(:ci_pipelines, [:project_id, :source], {:name=>"index_ci_pipelines_on_project_id_and_source"})7375 -> 0.0008s7376-- add_index(:ci_pipelines, [:project_id, :source], {:name=>"index_ci_pipelines_on_project_id_and_source"})7377 -> 0.0091s7378== 20180916011959 AddIndexPipelinesProjectIdSource: migrated (0.0102s) ========7379== 20180916014356 PopulateExternalPipelineSource: migrating ===================7380== 20180916014356 PopulateExternalPipelineSource: migrated (0.0037s) ==========7381== 20180917172041 RemoveWikisCountFromSiteStatistics: migrating ===============7382-- remove_column(:site_statistics, :wikis_count, :integer)7383 -> 0.0407s7384== 20180917172041 RemoveWikisCountFromSiteStatistics: migrated (0.0407s) ======7385== 20180924141949 AddDiffMaxPatchBytesToApplicationSettings: migrating ========7386-- transaction_open?()7387 -> 0.0000s7388-- transaction()7389-- add_column(:application_settings, :diff_max_patch_bytes, :integer, {:default=>nil})7390 -> 0.0462s7391-- change_column_default(:application_settings, :diff_max_patch_bytes, 102400)7392 -> 0.0134s7393 -> 0.0605s7394-- transaction_open?()7395 -> 0.0000s7396-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7397 -> 0.0004s7398-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7399 -> 0.0003s7400-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7401 -> 0.0005s7402-- execute("UPDATE `application_settings` SET `diff_max_patch_bytes` = 102400 WHERE `application_settings`.`id` >= 1")7403 -> 0.0014s7404-- change_column_null(:application_settings, :diff_max_patch_bytes, false)7405 -> 0.0562s7406== 20180924141949 AddDiffMaxPatchBytesToApplicationSettings: migrated (0.1205s) 7407== 20180924190739 AddScheduledAtToCiBuilds: migrating =========================7408-- add_column(:ci_builds, :scheduled_at, :datetime_with_timezone)7409 -> 0.0527s7410== 20180924190739 AddScheduledAtToCiBuilds: migrated (0.0528s) ================7411== 20180924201039 AddPartialIndexToScheduledAt: migrating =====================7412-- transaction_open?()7413 -> 0.0000s7414-- index_exists?(:ci_builds, :scheduled_at, {:where=>"scheduled_at IS NOT NULL AND type = 'Ci::Build' AND status = 'scheduled'", :name=>"partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs"})7415 -> 0.0011s7416-- add_index(:ci_builds, :scheduled_at, {:where=>"scheduled_at IS NOT NULL AND type = 'Ci::Build' AND status = 'scheduled'", :name=>"partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs"})7417 -> 0.0101s7418== 20180924201039 AddPartialIndexToScheduledAt: migrated (0.0114s) ============7419== 20180925200829 CreateUserPreferences: migrating ============================7420-- create_table(:user_preferences, {})7421 -> 0.0137s7422== 20180925200829 CreateUserPreferences: migrated (0.0137s) ===================7423== 20180927073410 AddIndexToProjectDeployTokensDeployTokenId: migrating =======7424== 20180927073410 AddIndexToProjectDeployTokensDeployTokenId: migrated (0.0000s) 7425== 20181002172433 RemoveRestrictedTodosWithCte: migrating =====================7426== 20181002172433 RemoveRestrictedTodosWithCte: migrated (0.0027s) ============7427== 20181005110927 AddIndexToLfsObjectsFileStore: migrating ====================7428-- transaction_open?()7429 -> 0.0000s7430-- index_name(:lfs_objects, {:column=>["file_store"]})7431 -> 0.0000s7432-- index_exists?(:lfs_objects, :file_store, {:name=>"index_lfs_objects_on_file_store"})7433 -> 0.0004s7434-- add_index(:lfs_objects, :file_store, {:name=>"index_lfs_objects_on_file_store"})7435 -> 0.0080s7436== 20181005110927 AddIndexToLfsObjectsFileStore: migrated (0.0087s) ===========7437== 20181005125926 AddIndexToUploadsStore: migrating ===========================7438-- transaction_open?()7439 -> 0.0000s7440-- index_name(:uploads, {:column=>["store"]})7441 -> 0.0000s7442-- index_exists?(:uploads, :store, {:name=>"index_uploads_on_store"})7443 -> 0.0006s7444-- add_index(:uploads, :store, {:name=>"index_uploads_on_store"})7445 -> 0.0084s7446== 20181005125926 AddIndexToUploadsStore: migrated (0.0092s) ==================7447== 20181006004100 ImportCommonMetricsNginxVts: migrating ======================7448== 20181006004100 ImportCommonMetricsNginxVts: migrated (0.0429s) =============7449== 20181008145341 StealEncryptColumns: migrating ==============================7450== 20181008145341 StealEncryptColumns: migrated (0.0016s) =====================7451== 20181008145359 RemoveWebHooksTokenAndUrl: migrating ========================7452-- remove_column(:web_hooks, :token, :string)7453 -> 0.0198s7454-- remove_column(:web_hooks, :url, :string, {:limit=>2000})7455 -> 0.0196s7456== 20181008145359 RemoveWebHooksTokenAndUrl: migrated (0.0395s) ===============7457== 20181008200441 RemoveCircuitBreaker: migrating =============================7458-- column_exists?(:application_settings, :circuitbreaker_failure_count_threshold)7459 -> 0.0048s7460-- remove_column(:application_settings, :circuitbreaker_failure_count_threshold)7461 -> 0.0471s7462-- column_exists?(:application_settings, :circuitbreaker_failure_reset_time)7463 -> 0.0048s7464-- remove_column(:application_settings, :circuitbreaker_failure_reset_time)7465 -> 0.0474s7466-- column_exists?(:application_settings, :circuitbreaker_storage_timeout)7467 -> 0.0063s7468-- remove_column(:application_settings, :circuitbreaker_storage_timeout)7469 -> 0.0487s7470-- column_exists?(:application_settings, :circuitbreaker_access_retries)7471 -> 0.0052s7472-- remove_column(:application_settings, :circuitbreaker_access_retries)7473 -> 0.0477s7474-- column_exists?(:application_settings, :circuitbreaker_check_interval)7475 -> 0.0045s7476-- remove_column(:application_settings, :circuitbreaker_check_interval)7477 -> 0.0465s7478== 20181008200441 RemoveCircuitBreaker: migrated (0.2636s) ====================7479== 20181009190428 CreateClustersKubernetesNamespaces: migrating ===============7480-- create_table(:clusters_kubernetes_namespaces, {:id=>:bigserial})7481 -> 0.0412s7482== 20181009190428 CreateClustersKubernetesNamespaces: migrated (0.0413s) ======7483== 20181010133639 BackfillStoreProjectFullPathInRepo: migrating ===============7484== 20181010133639 BackfillStoreProjectFullPathInRepo: migrated (0.0027s) ======7485== 20181010235606 CreateBoardProjectRecentVisits: migrating ===================7486-- create_table(:board_project_recent_visits, {:id=>:bigserial})7487 -> 0.0194s7488-- add_index(:board_project_recent_visits, [:user_id, :project_id, :board_id], {:unique=>true, :name=>"index_board_project_recent_visits_on_user_project_and_board"})7489 -> 0.0088s7490== 20181010235606 CreateBoardProjectRecentVisits: migrated (0.0284s) ==========7491== 20181013005024 RemoveKodingFromApplicationSettings: migrating ==============7492-- remove_column(:application_settings, :koding_enabled)7493 -> 0.0477s7494-- remove_column(:application_settings, :koding_url)7495 -> 0.0486s7496== 20181013005024 RemoveKodingFromApplicationSettings: migrated (0.0964s) =====7497== 20181014121030 EnqueueRedactLinks: migrating ===============================7498== 20181014121030 EnqueueRedactLinks: migrated (0.0095s) ======================7499== 20181014203236 CreateClusterGroups: migrating ==============================7500-- create_table(:cluster_groups, {})7501 -> 0.0167s7502== 20181014203236 CreateClusterGroups: migrated (0.0167s) =====================7503== 20181015155839 AddFinishedAtToDeployments: migrating =======================7504-- add_column(:deployments, :finished_at, :datetime_with_timezone)7505 -> 0.0253s7506== 20181015155839 AddFinishedAtToDeployments: migrated (0.0254s) ==============7507== 20181016141739 AddStatusToDeployments: migrating ===========================7508-- transaction_open?()7509 -> 0.0000s7510-- transaction()7511-- add_column(:deployments, :status, :integer, {:default=>nil, :limit=>2})7512 -> 0.0253s7513-- change_column_default(:deployments, :status, 2)7514 -> 0.0057s7515 -> 0.0318s7516-- transaction_open?()7517 -> 0.0000s7518-- exec_query("SELECT COUNT(*) AS count FROM `deployments`")7519 -> 0.0005s7520-- change_column_null(:deployments, :status, false)7521 -> 0.0273s7522== 20181016141739 AddStatusToDeployments: migrated (0.0600s) ==================7523== 20181016152238 CreateBoardGroupRecentVisits: migrating =====================7524-- create_table(:board_group_recent_visits, {:id=>:bigserial})7525 -> 0.0185s7526-- add_index(:board_group_recent_visits, [:user_id, :group_id, :board_id], {:unique=>true, :name=>"index_board_group_recent_visits_on_user_group_and_board"})7527 -> 0.0093s7528== 20181016152238 CreateBoardGroupRecentVisits: migrated (0.0280s) ============7529== 20181017001059 AddClusterTypeToClusters: migrating =========================7530-- transaction_open?()7531 -> 0.0000s7532-- transaction()7533-- add_column(:clusters, :cluster_type, :smallint, {:default=>nil})7534 -> 0.0199s7535-- change_column_default(:clusters, :cluster_type, 3)7536 -> 0.0061s7537 -> 0.0269s7538-- transaction_open?()7539 -> 0.0000s7540-- exec_query("SELECT COUNT(*) AS count FROM `clusters`")7541 -> 0.0005s7542-- change_column_null(:clusters, :cluster_type, false)7543 -> 0.0213s7544== 20181017001059 AddClusterTypeToClusters: migrated (0.0491s) ================7545== 20181019032400 AddShardsTable: migrating ===================================7546-- create_table(:shards, {})7547 -> 0.0136s7548== 20181019032400 AddShardsTable: migrated (0.0136s) ==========================7549== 20181019032408 AddRepositoriesTable: migrating =============================7550-- create_table(:repositories, {:id=>:bigserial})7551 -> 0.0162s7552-- add_column(:projects, :pool_repository_id, :bigint)7553 -> 0.0476s7554-- add_index(:projects, :pool_repository_id, {:where=>"pool_repository_id IS NOT NULL"})7555 -> 0.0110s7556== 20181019032408 AddRepositoriesTable: migrated (0.0751s) ====================7557== 20181019105553 AddProjectsPoolRepositoryIdForeignKey: migrating ============7558-- transaction_open?()7559 -> 0.0000s7560-- foreign_keys(:projects)7561 -> 0.0008s7562-- add_foreign_key(:projects, :repositories, {:column=>:pool_repository_id, :on_delete=>:nullify})7563 -> 0.0598s7564== 20181019105553 AddProjectsPoolRepositoryIdForeignKey: migrated (0.0608s) ===7565== 20181022135539 AddIndexOnStatusToDeployments: migrating ====================7566-- transaction_open?()7567 -> 0.0000s7568-- index_name(:deployments, {:column=>["project_id", "status"]})7569 -> 0.0000s7570-- index_exists?(:deployments, [:project_id, :status], {:name=>"index_deployments_on_project_id_and_status"})7571 -> 0.0007s7572-- add_index(:deployments, [:project_id, :status], {:name=>"index_deployments_on_project_id_and_status"})7573 -> 0.0091s7574-- transaction_open?()7575 -> 0.0000s7576-- index_name(:deployments, {:column=>["environment_id", "status"]})7577 -> 0.0000s7578-- index_exists?(:deployments, [:environment_id, :status], {:name=>"index_deployments_on_environment_id_and_status"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7579If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7580You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7581If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7582DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7583Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7584If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7585You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7586If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7587DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7588Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7589If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7590You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7591If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7592DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7593Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7594If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7595You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7596If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7597DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7598Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7599If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7600You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7601If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7602DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7603Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7604If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7605You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7606If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7607DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7608Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7609If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7610You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7611If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7612DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)7613Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7614If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7615You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7616If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7617DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)7618 -> 0.0008s7619-- add_index(:deployments, [:environment_id, :status], {:name=>"index_deployments_on_environment_id_and_status"})7620 -> 0.0087s7621== 20181022135539 AddIndexOnStatusToDeployments: migrated (0.0197s) ===========7622== 20181022173835 EnqueuePopulateClusterKubernetesNamespace: migrating ========7623== 20181022173835 EnqueuePopulateClusterKubernetesNamespace: migrated (0.0010s) 7624== 20181023104858 AddArchiveBuildsDurationToApplicationSettings: migrating ====7625-- add_column(:application_settings, :archive_builds_in_seconds, :integer, {:allow_null=>true})7626 -> 0.0486s7627== 20181023104858 AddArchiveBuildsDurationToApplicationSettings: migrated (0.0487s) 7628== 20181023144439 AddPartialIndexForLegacySuccessfulDeployments: migrating ====7629-- transaction_open?()7630 -> 0.0000s7631-- index_exists?(:deployments, :id, {:where=>"finished_at IS NULL AND status = 2", :name=>"partial_index_deployments_for_legacy_successful_deployments"})7632 -> 0.0007s7633-- add_index(:deployments, :id, {:where=>"finished_at IS NULL AND status = 2", :name=>"partial_index_deployments_for_legacy_successful_deployments"})7634 -> 0.0094s7635== 20181023144439 AddPartialIndexForLegacySuccessfulDeployments: migrated (0.0103s) 7636== 20181025115728 AddPrivateCommitEmailHostnameToApplicationSettings: migrating 7637-- add_column(:application_settings, :commit_email_hostname, :string, {:null=>true})7638 -> 0.0478s7639== 20181025115728 AddPrivateCommitEmailHostnameToApplicationSettings: migrated (0.0479s) 7640== 20181026091631 MigrateForbiddenRedirectUris: migrating =====================7641-- transaction_open?()7642 -> 0.0000s7643-- exec_query("SELECT COUNT(*) AS count FROM `oauth_applications` WHERE ((`oauth_applications`.`redirect_uri` LIKE 'data://%' OR `oauth_applications`.`redirect_uri` LIKE 'vbscript://%') OR `oauth_applications`.`redirect_uri` LIKE 'javascript://%')")7644 -> 0.0005s7645-- transaction_open?()7646 -> 0.0000s7647-- exec_query("SELECT COUNT(*) AS count FROM `oauth_access_grants` WHERE ((`oauth_access_grants`.`redirect_uri` LIKE 'data://%' OR `oauth_access_grants`.`redirect_uri` LIKE 'vbscript://%') OR `oauth_access_grants`.`redirect_uri` LIKE 'javascript://%')")7648 -> 0.0005s7649== 20181026091631 MigrateForbiddenRedirectUris: migrated (0.0043s) ============7650== 20181026143227 MigrateSnippetsAccessLevelDefaultValue: migrating ===========7651-- change_column_default(:project_features, :snippets_access_level, 20)7652 -> 0.0058s7653-- change_column_null(:project_features, :snippets_access_level, false)7654 -> 0.0202s7655== 20181026143227 MigrateSnippetsAccessLevelDefaultValue: migrated (0.0279s) ==7656== 20181027114222 AddFirstDayOfWeekToUserPreferences: migrating ===============7657-- add_column(:user_preferences, :first_day_of_week, :integer)7658 -> 0.0192s7659== 20181027114222 AddFirstDayOfWeekToUserPreferences: migrated (0.0193s) ======7660== 20181028120717 AddFirstDayOfWeekToApplicationSettings: migrating ===========7661-- transaction_open?()7662 -> 0.0000s7663-- transaction()7664-- add_column(:application_settings, :first_day_of_week, :integer, {:default=>nil})7665 -> 0.0483s7666-- change_column_default(:application_settings, :first_day_of_week, 0)7667 -> 0.0129s7668 -> 0.0622s7669-- transaction_open?()7670 -> 0.0000s7671-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7672 -> 0.0004s7673-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7674 -> 0.0004s7675-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7676 -> 0.0005s7677-- execute("UPDATE `application_settings` SET `first_day_of_week` = 0 WHERE `application_settings`.`id` >= 1")7678 -> 0.0013s7679-- change_column_null(:application_settings, :first_day_of_week, false)7680 -> 0.0554s7681== 20181028120717 AddFirstDayOfWeekToApplicationSettings: migrated (0.1216s) ==7682== 20181030135124 FillEmptyFinishedAtInDeployments: migrating =================7683== 20181030135124 FillEmptyFinishedAtInDeployments: migrated (0.0035s) ========7684== 20181030154446 AddMissingIndexesForForeignKeys: migrating ==================7685-- transaction_open?()7686 -> 0.0000s7687-- index_name(:application_settings, {:column=>["usage_stats_set_by_user_id"]})7688 -> 0.0000s7689-- index_exists?(:application_settings, :usage_stats_set_by_user_id, {:name=>"index_application_settings_on_usage_stats_set_by_user_id"})7690 -> 0.0005s7691-- add_index(:application_settings, :usage_stats_set_by_user_id, {:name=>"index_application_settings_on_usage_stats_set_by_user_id"})7692 -> 0.0153s7693-- transaction_open?()7694 -> 0.0000s7695-- index_name(:ci_pipeline_schedules, {:column=>["owner_id"]})7696 -> 0.0000s7697-- index_exists?(:ci_pipeline_schedules, :owner_id, {:name=>"index_ci_pipeline_schedules_on_owner_id"})7698 -> 0.0006s7699-- transaction_open?()7700 -> 0.0000s7701-- index_name(:ci_trigger_requests, {:column=>["trigger_id"]})7702 -> 0.0000s7703-- index_exists?(:ci_trigger_requests, :trigger_id, {:name=>"index_ci_trigger_requests_on_trigger_id"})7704 -> 0.0004s7705-- transaction_open?()7706 -> 0.0000s7707-- index_name(:ci_triggers, {:column=>["owner_id"]})7708 -> 0.0000s7709-- index_exists?(:ci_triggers, :owner_id, {:name=>"index_ci_triggers_on_owner_id"})7710 -> 0.0004s7711-- transaction_open?()7712 -> 0.0000s7713-- index_name(:clusters_applications_helm, {:column=>["cluster_id"]})7714 -> 0.0000s7715-- index_exists?(:clusters_applications_helm, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_helm_on_cluster_id"})7716 -> 0.0005s7717-- add_index(:clusters_applications_helm, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_helm_on_cluster_id"})7718 -> 0.0096s7719-- transaction_open?()7720 -> 0.0000s7721-- index_name(:clusters_applications_ingress, {:column=>["cluster_id"]})7722 -> 0.0000s7723-- index_exists?(:clusters_applications_ingress, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_ingress_on_cluster_id"})7724 -> 0.0005s7725-- add_index(:clusters_applications_ingress, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_ingress_on_cluster_id"})7726 -> 0.0108s7727-- transaction_open?()7728 -> 0.0000s7729-- index_name(:clusters_applications_jupyter, {:column=>["cluster_id"]})7730 -> 0.0000s7731-- index_exists?(:clusters_applications_jupyter, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_jupyter_on_cluster_id"})7732 -> 0.0006s7733-- add_index(:clusters_applications_jupyter, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_jupyter_on_cluster_id"})7734 -> 0.0096s7735-- transaction_open?()7736 -> 0.0000s7737-- index_name(:clusters_applications_jupyter, {:column=>["oauth_application_id"]})7738 -> 0.0000s7739-- index_exists?(:clusters_applications_jupyter, :oauth_application_id, {:name=>"index_clusters_applications_jupyter_on_oauth_application_id"})7740 -> 0.0004s7741-- add_index(:clusters_applications_jupyter, :oauth_application_id, {:name=>"index_clusters_applications_jupyter_on_oauth_application_id"})7742 -> 0.0073s7743-- transaction_open?()7744 -> 0.0000s7745-- index_name(:clusters_applications_knative, {:column=>["cluster_id"]})7746 -> 0.0000s7747-- index_exists?(:clusters_applications_knative, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_knative_on_cluster_id"})7748 -> 0.0007s7749-- add_index(:clusters_applications_knative, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_knative_on_cluster_id"})7750 -> 0.0091s7751-- transaction_open?()7752 -> 0.0000s7753-- index_name(:clusters_applications_prometheus, {:column=>["cluster_id"]})7754 -> 0.0000s7755-- index_exists?(:clusters_applications_prometheus, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_prometheus_on_cluster_id"})7756 -> 0.0004s7757-- add_index(:clusters_applications_prometheus, :cluster_id, {:unique=>true, :name=>"index_clusters_applications_prometheus_on_cluster_id"})7758 -> 0.0094s7759-- transaction_open?()7760 -> 0.0000s7761-- index_name(:fork_network_members, {:column=>["forked_from_project_id"]})7762 -> 0.0000s7763-- index_exists?(:fork_network_members, :forked_from_project_id, {:name=>"index_fork_network_members_on_forked_from_project_id"})7764 -> 0.0005s7765-- add_index(:fork_network_members, :forked_from_project_id, {:name=>"index_fork_network_members_on_forked_from_project_id"})Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7766If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7767You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7768If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7769DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:360)7770Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7771If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7772You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7773If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7774DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from block in update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:375)7775Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.7776If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).7777You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)7778If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.7779DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)7780 -> 0.0098s7781-- transaction_open?()7782 -> 0.0000s7783-- index_name(:internal_ids, {:column=>["namespace_id"]})7784 -> 0.0000s7785-- index_exists?(:internal_ids, :namespace_id, {:name=>"index_internal_ids_on_namespace_id"})7786 -> 0.0006s7787-- add_index(:internal_ids, :namespace_id, {:name=>"index_internal_ids_on_namespace_id"})7788 -> 0.0093s7789-- transaction_open?()7790 -> 0.0000s7791-- index_name(:internal_ids, {:column=>["project_id"]})7792 -> 0.0000s7793-- index_exists?(:internal_ids, :project_id, {:name=>"index_internal_ids_on_project_id"})7794 -> 0.0005s7795-- add_index(:internal_ids, :project_id, {:name=>"index_internal_ids_on_project_id"})7796 -> 0.0079s7797-- transaction_open?()7798 -> 0.0000s7799-- index_name(:issues, {:column=>["closed_by_id"]})7800 -> 0.0000s7801-- index_exists?(:issues, :closed_by_id, {:name=>"index_issues_on_closed_by_id"})7802 -> 0.0007s7803-- add_index(:issues, :closed_by_id, {:name=>"index_issues_on_closed_by_id"})7804 -> 0.0102s7805-- transaction_open?()7806 -> 0.0000s7807-- index_name(:label_priorities, {:column=>["label_id"]})7808 -> 0.0000s7809-- index_exists?(:label_priorities, :label_id, {:name=>"index_label_priorities_on_label_id"})7810 -> 0.0005s7811-- transaction_open?()7812 -> 0.0000s7813-- index_name(:merge_request_metrics, {:column=>["merged_by_id"]})7814 -> 0.0000s7815-- index_exists?(:merge_request_metrics, :merged_by_id, {:name=>"index_merge_request_metrics_on_merged_by_id"})7816 -> 0.0005s7817-- add_index(:merge_request_metrics, :merged_by_id, {:name=>"index_merge_request_metrics_on_merged_by_id"})7818 -> 0.0098s7819-- transaction_open?()7820 -> 0.0000s7821-- index_name(:merge_request_metrics, {:column=>["latest_closed_by_id"]})7822 -> 0.0001s7823-- index_exists?(:merge_request_metrics, :latest_closed_by_id, {:name=>"index_merge_request_metrics_on_latest_closed_by_id"})7824 -> 0.0005s7825-- add_index(:merge_request_metrics, :latest_closed_by_id, {:name=>"index_merge_request_metrics_on_latest_closed_by_id"})7826 -> 0.0117s7827-- transaction_open?()7828 -> 0.0000s7829-- index_name(:oauth_openid_requests, {:column=>["access_grant_id"]})7830 -> 0.0001s7831-- index_exists?(:oauth_openid_requests, :access_grant_id, {:name=>"index_oauth_openid_requests_on_access_grant_id"})7832 -> 0.0005s7833-- transaction_open?()7834 -> 0.0000s7835-- index_name(:project_deploy_tokens, {:column=>["deploy_token_id"]})7836 -> 0.0000s7837-- index_exists?(:project_deploy_tokens, :deploy_token_id, {:name=>"index_project_deploy_tokens_on_deploy_token_id"})7838 -> 0.0007s7839-- add_index(:project_deploy_tokens, :deploy_token_id, {:name=>"index_project_deploy_tokens_on_deploy_token_id"})7840 -> 0.0105s7841-- transaction_open?()7842 -> 0.0000s7843-- index_name(:protected_tag_create_access_levels, {:column=>["group_id"]})7844 -> 0.0000s7845-- index_exists?(:protected_tag_create_access_levels, :group_id, {:name=>"index_protected_tag_create_access_levels_on_group_id"})7846 -> 0.0007s7847-- transaction_open?()7848 -> 0.0000s7849-- index_name(:subscriptions, {:column=>["project_id"]})7850 -> 0.0000s7851-- index_exists?(:subscriptions, :project_id, {:name=>"index_subscriptions_on_project_id"})7852 -> 0.0005s7853-- transaction_open?()7854 -> 0.0000s7855-- index_name(:user_statuses, {:column=>["user_id"]})7856 -> 0.0000s7857-- index_exists?(:user_statuses, :user_id, {:name=>"index_user_statuses_on_user_id"})7858 -> 0.0007s7859-- add_index(:user_statuses, :user_id, {:name=>"index_user_statuses_on_user_id"})7860 -> 0.0077s7861-- transaction_open?()7862 -> 0.0000s7863-- index_name(:users, {:column=>["accepted_term_id"]})7864 -> 0.0000s7865-- index_exists?(:users, :accepted_term_id, {:name=>"index_users_on_accepted_term_id"})7866 -> 0.0006s7867-- add_index(:users, :accepted_term_id, {:name=>"index_users_on_accepted_term_id"})7868 -> 0.0119s7869== 20181030154446 AddMissingIndexesForForeignKeys: migrated (0.1763s) =========7870== 20181031145139 AddProtectedCiVariablesToApplicationSettings: migrating =====7871-- transaction_open?()7872 -> 0.0000s7873-- transaction()7874-- add_column(:application_settings, :protected_ci_variables, :boolean, {:default=>nil})7875 -> 0.0468s7876-- change_column_default(:application_settings, :protected_ci_variables, false)7877 -> 0.0132s7878 -> 0.0609s7879-- transaction_open?()7880 -> 0.0000s7881-- exec_query("SELECT COUNT(*) AS count FROM `application_settings`")7882 -> 0.0005s7883-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` ORDER BY `application_settings`.`id` ASC LIMIT 1")7884 -> 0.0004s7885-- exec_query("SELECT `application_settings`.`id` FROM `application_settings` WHERE `application_settings`.`id` >= 1 ORDER BY `application_settings`.`id` ASC LIMIT 1 OFFSET 1")7886 -> 0.0005s7887-- execute("UPDATE `application_settings` SET `protected_ci_variables` = 0 WHERE `application_settings`.`id` >= 1")7888 -> 0.0015s7889-- change_column_null(:application_settings, :protected_ci_variables, false)7890 -> 0.0550s7891== 20181031145139 AddProtectedCiVariablesToApplicationSettings: migrated (0.1201s) 7892== 20181031190558 DropFkGcpClustersTable: migrating ===========================7893-- foreign_keys(:gcp_clusters)7894 -> 0.0009s7895-- remove_foreign_key(:gcp_clusters, {:column=>:project_id})7896 -> 0.0048s7897-- foreign_keys(:gcp_clusters)7898 -> 0.0010s7899-- remove_foreign_key(:gcp_clusters, {:column=>:user_id})7900 -> 0.0049s7901-- foreign_keys(:gcp_clusters)7902 -> 0.0009s7903-- remove_foreign_key(:gcp_clusters, {:column=>:service_id})7904 -> 0.0047s7905== 20181031190558 DropFkGcpClustersTable: migrated (0.0196s) ==================7906== 20181031190559 DropGcpClustersTable: migrating =============================7907-- drop_table(:gcp_clusters)7908 -> 0.0035s7909== 20181031190559 DropGcpClustersTable: migrated (0.0036s) ====================7910== 20181101091005 StealDigestColumn: migrating ================================7911== 20181101091005 StealDigestColumn: migrated (0.0016s) =======================7912== 20181101091124 RemoveTokenFromPersonalAccessTokens: migrating ==============7913-- remove_column(:personal_access_tokens, :token, :string)7914 -> 0.0197s7915== 20181101091124 RemoveTokenFromPersonalAccessTokens: migrated (0.0197s) =====7916== 20181101144347 AddIndexForStuckMrQuery: migrating ==========================7917-- transaction_open?()7918 -> 0.0000s7919-- index_name(:merge_requests, {:column=>["id", "merge_jid"]})7920 -> 0.0000s7921-- index_exists?(:merge_requests, [:id, :merge_jid], {:where=>"merge_jid IS NOT NULL and state = 'locked'", :name=>"index_merge_requests_on_id_and_merge_jid"})7922 -> 0.0008s7923-- add_index(:merge_requests, [:id, :merge_jid], {:where=>"merge_jid IS NOT NULL and state = 'locked'", :name=>"index_merge_requests_on_id_and_merge_jid"})7924 -> 0.0099s7925== 20181101144347 AddIndexForStuckMrQuery: migrated (0.0109s) =================7926== 20181101191341 CreateClustersApplicationsCertManager: migrating ============7927-- create_table(:clusters_applications_cert_managers, {})7928 -> 0.0147s7929== 20181101191341 CreateClustersApplicationsCertManager: migrated (0.0148s) ===7930== 20181105201455 StealFillStoreUpload: migrating =============================7931== 20181105201455 StealFillStoreUpload: migrated (0.0036s) ====================7932== 20181106135939 AddIndexToDeployments: migrating ============================7933-- transaction_open?()7934 -> 0.0000s7935-- index_name(:deployments, {:column=>["project_id", "status", "created_at"]})7936 -> 0.0000s7937-- index_exists?(:deployments, [:project_id, :status, :created_at], {:name=>"index_deployments_on_project_id_and_status_and_created_at"})7938 -> 0.0007s7939-- add_index(:deployments, [:project_id, :status, :created_at], {:name=>"index_deployments_on_project_id_and_status_and_created_at"})7940 -> 0.0094s7941== 20181106135939 AddIndexToDeployments: migrated (0.0103s) ===================7942== 20181107054254 RemoveRestrictedTodosAgain: migrating =======================7943== 20181107054254 RemoveRestrictedTodosAgain: migrated (0.0030s) ==============7944== 20181108091549 CleanupEnvironmentsExternalUrl: migrating ===================7945-- transaction_open?()7946 -> 0.0000s7947-- exec_query("SELECT COUNT(*) AS count FROM `environments` WHERE `environments`.`external_url` LIKE 'javascript://%'")7948 -> 0.0005s7949== 20181108091549 CleanupEnvironmentsExternalUrl: migrated (0.0019s) ==========7950== 20181112103239 DropDefaultValueOnStatusDeployments: migrating ==============7951-- change_column_default(:deployments, :status, nil)7952 -> 0.0055s7953== 20181112103239 DropDefaultValueOnStatusDeployments: migrated (0.0056s) =====7954== 20181115140140 AddEncryptedRunnersTokenToSettings: migrating ===============7955-- add_column(:application_settings, :runners_registration_token_encrypted, :string)7956 -> 0.0464s7957== 20181115140140 AddEncryptedRunnersTokenToSettings: migrated (0.0465s) ======7958== 20181116050532 KnativeExternalIp: migrating ================================7959-- add_column(:clusters_applications_knative, :external_ip, :string)7960 -> 0.0176s7961== 20181116050532 KnativeExternalIp: migrated (0.0177s) =======================7962== 20181116141415 AddEncryptedRunnersTokenToNamespaces: migrating =============7963-- add_column(:namespaces, :runners_token_encrypted, :string)7964 -> 0.0631s7965== 20181116141415 AddEncryptedRunnersTokenToNamespaces: migrated (0.0632s) ====7966== 20181116141504 AddEncryptedRunnersTokenToProjects: migrating ===============7967-- add_column(:projects, :runners_token_encrypted, :string)7968 -> 0.0517s7969== 20181116141504 AddEncryptedRunnersTokenToProjects: migrated (0.0518s) ======7970== 20181119081539 AddMergeRequestIdToCiPipelines: migrating ===================7971-- add_column(:ci_pipelines, :merge_request_id, :integer)7972 -> 0.0369s7973== 20181119081539 AddMergeRequestIdToCiPipelines: migrated (0.0370s) ==========7974== 20181119132520 AddIndexesToCiBuildsAndPipelines: migrating =================7975-- transaction_open?()7976 -> 0.0000s7977-- index_exists?(:ci_pipelines, [:project_id, :ref, :id], {:order=>{:id=>:desc}, :name=>"index_ci_pipelines_on_project_idandrefandiddesc"})7978 -> 0.0008s7979-- add_index(:ci_pipelines, [:project_id, :ref, :id], {:order=>{:id=>:desc}, :name=>"index_ci_pipelines_on_project_idandrefandiddesc"})7980 -> 0.0092s7981-- transaction_open?()7982 -> 0.0000s7983-- index_exists?(:ci_builds, [:commit_id, :artifacts_expire_at, :id], {:where=>"type::text = 'Ci::Build'::text AND (retried = false OR retried IS NULL) AND (name::text = ANY (ARRAY['sast'::character varying, 'dependency_scanning'::character varying, 'sast:container'::character varying, 'container_scanning'::character varying, 'dast'::character varying]::text[]))", :name=>"index_ci_builds_on_commit_id_and_artifacts_expireatandidpartial"})7984 -> 0.0009s7985-- add_index(:ci_builds, [:commit_id, :artifacts_expire_at, :id], {:where=>"type::text = 'Ci::Build'::text AND (retried = false OR retried IS NULL) AND (name::text = ANY (ARRAY['sast'::character varying, 'dependency_scanning'::character varying, 'sast:container'::character varying, 'container_scanning'::character varying, 'dast'::character varying]::text[]))", :name=>"index_ci_builds_on_commit_id_and_artifacts_expireatandidpartial"})7986 -> 0.0092s7987== 20181119132520 AddIndexesToCiBuildsAndPipelines: migrated (0.0203s) ========7988== 20181120082911 RenameRepositoriesPoolRepositories: migrating ===============7989-- rename_table(:repositories, :pool_repositories)7990 -> 0.0124s7991== 20181120082911 RenameRepositoriesPoolRepositories: migrated (0.0125s) ======7992== 20181120091639 AddForeignKeyToCiPipelinesMergeRequests: migrating ==========7993-- transaction_open?()7994 -> 0.0000s7995-- index_name(:ci_pipelines, {:column=>["merge_request_id"]})7996 -> 0.0000s7997-- index_exists?(:ci_pipelines, :merge_request_id, {:where=>"merge_request_id IS NOT NULL", :name=>"index_ci_pipelines_on_merge_request_id"})7998 -> 0.0007s7999-- add_index(:ci_pipelines, :merge_request_id, {:where=>"merge_request_id IS NOT NULL", :name=>"index_ci_pipelines_on_merge_request_id"})8000 -> 0.0092s8001-- transaction_open?()8002 -> 0.0000s8003-- foreign_keys(:ci_pipelines)8004 -> 0.0009s8005-- add_foreign_key(:ci_pipelines, :merge_requests, {:column=>:merge_request_id, :on_delete=>:cascade})8006 -> 0.0460s8007== 20181120091639 AddForeignKeyToCiPipelinesMergeRequests: migrated (0.0572s) =8008== 20181120151656 AddTokenEncryptedToCiRunners: migrating =====================8009-- add_column(:ci_runners, :token_encrypted, :string)8010 -> 0.0268s8011== 20181120151656 AddTokenEncryptedToCiRunners: migrated (0.0268s) ============8012== 20181121101842 AddCiBuildsPartialIndexOnProjectIdAndStatus: migrating ======8013-- transaction_open?()8014 -> 0.0000s8015-- index_exists?(:ci_builds, [:project_id, :status], {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial2", :where=>"(((type)::text = 'Ci::Build'::text) AND ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text])))"})8016 -> 0.0010s8017-- add_index(:ci_builds, [:project_id, :status], {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial2", :where=>"(((type)::text = 'Ci::Build'::text) AND ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text])))"})8018 -> 0.0103s8019== 20181121101842 AddCiBuildsPartialIndexOnProjectIdAndStatus: migrated (0.0115s) 8020== 20181121101843 RemoveRedundantCiBuildsPartialIndex: migrating ==============8021-- transaction_open?()8022 -> 0.0000s8023-- index_exists?(:ci_builds, [:project_id, :status], {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial", :where=>"((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text]))"})8024 -> 0.0011s8025-- index_name(:ci_builds, {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial", :where=>"((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text]))", :column=>[:project_id, :status]})8026 -> 0.0000s8027-- index_name_exists?(:ci_builds, "index_ci_builds_on_project_id_and_status", true)8028 -> 0.0009s8029-- index_name(:ci_builds, {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial", :where=>"((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text]))"})8030 -> 0.0000s8031-- index_name_exists?(:ci_builds, "index_ci_builds_project_id_and_status_for_live_jobs_partial", false)8032 -> 0.0009s8033-- remove_index(:ci_builds, {:name=>"index_ci_builds_project_id_and_status_for_live_jobs_partial", :where=>"((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text]))", :column=>[:project_id, :status]})8034 -> 0.0106s8035== 20181121101843 RemoveRedundantCiBuildsPartialIndex: migrated (0.0140s) =====8036== 20181121111200 ScheduleRunnersTokenEncryption: migrating ===================8037== 20181121111200 ScheduleRunnersTokenEncryption: migrated (0.0775s) ==========8038== 20181122160027 CreateProjectRepositories: migrating ========================8039-- create_table(:project_repositories, {:id=>:bigserial})8040 -> 0.0191s8041== 20181122160027 CreateProjectRepositories: migrated (0.0192s) ===============8042== 20181123042307 DropSiteStatistics: migrating ===============================8043-- drop_table(:site_statistics)8044 -> 0.0036s8045== 20181123042307 DropSiteStatistics: migrated (0.0037s) ======================8046== 20181123135036 DropNotNullConstraintPoolRepositoryDiskPath: migrating ======8047-- change_column_null(:pool_repositories, :disk_path, true)8048 -> 0.0213s8049== 20181123135036 DropNotNullConstraintPoolRepositoryDiskPath: migrated (0.0214s) 8050== 20181123144235 CreateSuggestions: migrating ================================8051-- create_table(:suggestions, {:id=>:bigserial})8052 -> 0.0165s8053== 20181123144235 CreateSuggestions: migrated (0.0165s) =======================8054== 20181126150622 AddEventsIndexOnProjectIdAndCreatedAt: migrating ============8055-- transaction_open?()8056 -> 0.0000s8057-- index_exists?(:events, [:project_id, :created_at], {:name=>"index_events_on_project_id_and_created_at"})8058 -> 0.0006s8059-- add_index(:events, [:project_id, :created_at], {:name=>"index_events_on_project_id_and_created_at"})8060 -> 0.0072s8061== 20181126150622 AddEventsIndexOnProjectIdAndCreatedAt: migrated (0.0080s) ===8062== 20181126153547 RemoveNotesIndexOnUpdatedAt: migrating ======================8063-- transaction_open?()8064 -> 0.0000s8065-- index_exists?(:notes, [:updated_at], {:name=>"index_notes_on_updated_at"})8066 -> 0.0007s8067-- remove_index(:notes, {:name=>"index_notes_on_updated_at", :column=>[:updated_at]})8068 -> 0.0062s8069== 20181126153547 RemoveNotesIndexOnUpdatedAt: migrated (0.0070s) =============8070== 20181128123704 AddStateToPoolRepository: migrating =========================8071-- add_column(:pool_repositories, :state, :string, {:null=>true})8072 -> 0.0206s8073-- add_column(:pool_repositories, :source_project_id, :integer)8074 -> 0.0204s8075-- add_index(:pool_repositories, :source_project_id, {:unique=>true})8076 -> 0.0090s8077-- add_foreign_key(:pool_repositories, :projects, {:column=>:source_project_id, :on_delete=>:nullify})8078 -> 0.0257s8079== 20181128123704 AddStateToPoolRepository: migrated (0.0759s) ================8080== 20181129104854 AddTokenEncryptedToCiBuilds: migrating ======================8081-- add_column(:ci_builds, :token_encrypted, :string)8082 -> 0.0576s8083== 20181129104854 AddTokenEncryptedToCiBuilds: migrated (0.0576s) =============8084== 20181129104944 AddIndexToCiBuildsTokenEncrypted: migrating =================8085-- transaction_open?()8086 -> 0.0000s8087-- index_exists?(:ci_builds, :token_encrypted, {:unique=>true, :where=>"token_encrypted IS NOT NULL"})8088 -> 0.0010s8089-- add_index(:ci_builds, :token_encrypted, {:unique=>true, :where=>"token_encrypted IS NOT NULL"})8090 -> 0.0139s8091== 20181129104944 AddIndexToCiBuildsTokenEncrypted: migrated (0.0151s) ========8092== 20181130102132 BackfillHashedProjectRepositories: migrating ================8093== 20181130102132 BackfillHashedProjectRepositories: migrated (0.0027s) =======8094== 20181203002526 AddProjectBfgObjectMapColumn: migrating =====================8095-- add_column(:projects, :bfg_object_map, :string)8096 -> 0.0522s8097== 20181203002526 AddProjectBfgObjectMapColumn: migrated (0.0522s) ============8098== 20181204154019 PopulateMrMetricsWithEventsData: migrating ==================8099-- Scheduling `PopulateMergeRequestMetricsWithEventsData` jobs8100== 20181204154019 PopulateMrMetricsWithEventsData: migrated (0.0039s) =========8101== 20181205171941 CreateProjectDailyStatistics: migrating =====================8102-- create_table(:project_daily_statistics, {:id=>:bigserial})8103 -> 0.0144s8104== 20181205171941 CreateProjectDailyStatistics: migrated (0.0145s) ============8105== 20181211092510 AddNameAuthorIdAndShaToReleases: migrating ==================8106-- add_column(:releases, :author_id, :integer)8107 -> 0.0204s8108-- add_column(:releases, :name, :string)8109 -> 0.0196s8110-- add_column(:releases, :sha, :string)8111 -> 0.0202s8112== 20181211092510 AddNameAuthorIdAndShaToReleases: migrated (0.0604s) =========8113== 20181211092514 AddAuthorIdIndexAndFkToReleases: migrating ==================8114-- transaction_open?()8115 -> 0.0000s8116-- index_exists?(:releases, :author_id, {})8117 -> 0.0007s8118-- add_index(:releases, :author_id, {})8119 -> 0.0096s8120-- transaction_open?()8121 -> 0.0000s8122-- foreign_keys(:releases)8123 -> 0.0010s8124-- add_foreign_key(:releases, :users, {:column=>:author_id, :on_delete=>:nullify})8125 -> 0.0266s8126== 20181211092514 AddAuthorIdIndexAndFkToReleases: migrated (0.0382s) =========8127== 20181212104941 BackfillReleasesNameWithTagName: migrating ==================8128-- transaction_open?()8129 -> 0.0000s8130-- exec_query("SELECT COUNT(*) AS count FROM `releases`")8131 -> 0.0008s8132== 20181212104941 BackfillReleasesNameWithTagName: migrated (0.0058s) =========8133== 20181212171634 CreateErrorTrackingSettings: migrating ======================8134-- create_table(:project_error_tracking_settings, {:id=>:int, :primary_key=>:project_id, :default=>nil})8135 -> 0.0124s8136== 20181212171634 CreateErrorTrackingSettings: migrated (0.0124s) =============8137== 20181219130552 UpdateProjectImportVisibilityLevel: migrating ===============8138-- Updating project visibility to 0 on gitlab_project imports.8139 -> 0.0046s8140-- Updating project visibility to 10 on gitlab_project imports.8141 -> 0.0014s8142== 20181219130552 UpdateProjectImportVisibilityLevel: migrated (0.0061s) ======8143== 20181219145520 MigrateClusterConfigureWorkerSidekiqQueue: migrating ========8144== 20181219145520 MigrateClusterConfigureWorkerSidekiqQueue: migrated (0.0005s) 8145== 20181219145521 AddOptionsToBuildMetadata: migrating ========================8146-- add_column(:ci_builds_metadata, :config_options, :jsonb)8147 -> 0.0204s8148-- add_column(:ci_builds_metadata, :config_variables, :jsonb)8149 -> 0.0197s8150== 20181219145521 AddOptionsToBuildMetadata: migrated (0.0402s) ===============8151== 20181228175414 CreateReleasesLinkTable: migrating ==========================8152-- create_table(:release_links, {:id=>:bigserial})8153 -> 0.0167s8154== 20181228175414 CreateReleasesLinkTable: migrated (0.0168s) =================8155== 20190102152410 DeleteInconsistentInternalIdRecords2: migrating =============8156== 20190102152410 DeleteInconsistentInternalIdRecords2: migrated (0.0037s) ====8157== 20190103140724 MakeLegacyFalseDefault: migrating ===========================8158-- change_column_default(:cluster_providers_gcp, :legacy_abac, {:from=>true, :to=>false})8159 -> 0.0055s8160== 20190103140724 MakeLegacyFalseDefault: migrated (0.0056s) ==================8161== 20190104182041 CleanupLegacyArtifactMigration: migrating ===================8162== 20190104182041 CleanupLegacyArtifactMigration: migrated (0.0045s) ==========8163== 20190107151020 AddServicesTypeIndex: migrating =============================8164-- index_exists?(:services, :type)8165 -> 0.0007s8166-- transaction_open?()8167 -> 0.0000s8168-- index_exists?(:services, :type, {})8169 -> 0.0006s8170-- add_index(:services, :type, {})8171 -> 0.0097s8172== 20190107151020 AddServicesTypeIndex: migrated (0.0113s) ====================8173== 20190107151029 RemoveHipchatServices: migrating ============================8174-- execute("DELETE FROM services WHERE type = 'HipchatService'")8175 -> 0.0004s8176== 20190107151029 RemoveHipchatServices: migrated (0.0005s) ===================8177== 20190108192941 RemovePartialIndexFromCiBuildsArtifactsFile: migrating ======8178-- transaction_open?()8179 -> 0.0000s8180-- indexes(:ci_builds)8181 -> 0.0009s8182-- remove_index(:ci_builds, {:name=>"partial_index_ci_builds_on_id_with_legacy_artifacts"})8183 -> 0.0069s8184== 20190108192941 RemovePartialIndexFromCiBuildsArtifactsFile: migrated (0.0079s) 8185== 20190109153125 AddMergeRequestExternalDiffs: migrating =====================8186-- add_column(:merge_request_diffs, :external_diff, :string)8187 -> 0.0175s8188-- add_column(:merge_request_diffs, :external_diff_store, :integer)8189 -> 0.0178s8190-- add_column(:merge_request_diffs, :stored_externally, :boolean)8191 -> 0.0174s8192-- add_column(:merge_request_diff_files, :external_diff_offset, :integer)8193 -> 0.0172s8194-- add_column(:merge_request_diff_files, :external_diff_size, :integer)8195 -> 0.0150s8196-- change_column_null(:merge_request_diff_files, :diff, true)8197 -> 0.0177s8198== 20190109153125 AddMergeRequestExternalDiffs: migrated (0.1029s) ============8199== 20190114172110 AddDomainToCluster: migrating ===============================8200-- add_column(:clusters, :domain, :string)8201 -> 0.0203s8202== 20190114172110 AddDomainToCluster: migrated (0.0204s) ======================8203== 20190115054215 MigrateDeleteContainerRepositoryWorker: migrating ===========8204== 20190115054215 MigrateDeleteContainerRepositoryWorker: migrated (0.0005s) ==8205== 20190115054216 AddErrorNotificationSentToRemoteMirrors: migrating ==========8206-- add_column(:remote_mirrors, :error_notification_sent, :boolean)8207 -> 0.0208s8208== 20190115054216 AddErrorNotificationSentToRemoteMirrors: migrated (0.0208s) =8209== 20190115092821 AddColumnsProjectErrorTrackingSettings: migrating ===========8210-- add_column(:project_error_tracking_settings, :project_name, :string)8211 -> 0.0159s8212-- add_column(:project_error_tracking_settings, :organization_name, :string)8213 -> 0.0150s8214-- change_column_default(:project_error_tracking_settings, :enabled, {:from=>true, :to=>false})8215 -> 0.0051s8216-- change_column_null(:project_error_tracking_settings, :api_url, true)8217 -> 0.0173s8218== 20190115092821 AddColumnsProjectErrorTrackingSettings: migrated (0.0535s) ==8219== 20190116234221 AddSortingFieldsToUserPreference: migrating =================8220-- add_column(:user_preferences, :issues_sort, :string)8221 -> 0.0188s8222-- add_column(:user_preferences, :merge_requests_sort, :string)8223 -> 0.0180s8224== 20190116234221 AddSortingFieldsToUserPreference: migrated (0.0370s) ========8225== 20190124200344 MigrateStorageMigratorSidekiqQueue: migrating ===============Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.8226If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).8227You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)8228If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.8229DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)8230/builds/gitlab-org/gitlab-ce/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb:8: warning: already initialized constant MigrateProjectMigrateSidekiqQueue::DOWNTIME8231/builds/gitlab-org/gitlab-ce/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb:6: warning: previous definition of DOWNTIME was here8232== 20190124200344 MigrateStorageMigratorSidekiqQueue: migrated (0.0006s) ======8233== 20190130091630 AddLocalCachedMarkdownVersion: migrating ====================8234-- add_column(:application_settings, :local_markdown_version, :integer, {:default=>0, :null=>false})8235 -> 0.0484s8236== 20190130091630 AddLocalCachedMarkdownVersion: migrated (0.0485s) ===========8237== 20190131122559 FixNullTypeLabels: migrating ================================8238-- transaction_open?()8239 -> 0.0000s8240-- exec_query("SELECT COUNT(*) AS count FROM `labels` WHERE `labels`.`project_id` IS NOT NULL AND `labels`.`template` = 0 AND `labels`.`type` IS NULL")8241 -> 0.0007s8242== 20190131122559 FixNullTypeLabels: migrated (0.0013s) =======================8243== 20190204115450 MigrateAutoDevOpsDomainToClusterDomain: migrating ===========8244-- execute("UPDATE clusters, project_auto_devops, cluster_projects\nSET\n clusters.domain = project_auto_devops.domain\nWHERE\n cluster_projects.cluster_id = clusters.id\n AND project_auto_devops.project_id = cluster_projects.project_id\n AND project_auto_devops.domain != ''\n")8245 -> 0.0005s8246== 20190204115450 MigrateAutoDevOpsDomainToClusterDomain: migrated (0.0005s) ==8247== 20190206193120 AddIndexToTags: migrating ===================================8248-- transaction_open?()8249 -> 0.0000s8250-- index_exists?(:tags, :name, {:name=>"index_tags_on_name_trigram", :using=>:gin, :opclasses=>{:name=>:gin_trgm_ops}})8251 -> 0.0006s8252-- add_index(:tags, :name, {:name=>"index_tags_on_name_trigram", :using=>:gin, :opclasses=>{:name=>:gin_trgm_ops}})8253 -> 0.0000s8254== 20190206193120 AddIndexToTags: migrated (0.0008s) ==========================8255== 20190215154930 AddMergePipelinesEnabledToCiCdSettings: migrating ===========8256-- add_column(:project_ci_cd_settings, :merge_pipelines_enabled, :boolean)8257 -> 0.0177s8258== 20190215154930 AddMergePipelinesEnabledToCiCdSettings: migrated (0.0177s) ==8259== 20190218134158 AddMaskedToCiVariables: migrating ===========================8260-- transaction_open?()8261 -> 0.0001s8262-- transaction()8263-- add_column(:ci_variables, :masked, :boolean, {:default=>nil})8264 -> 0.0178s8265-- change_column_default(:ci_variables, :masked, false)8266 -> 0.0049s8267 -> 0.0234s8268-- transaction_open?()8269 -> 0.0000s8270-- exec_query("SELECT COUNT(*) AS count FROM `ci_variables`")8271 -> 0.0004s8272-- change_column_null(:ci_variables, :masked, false)8273 -> 0.0190s8274== 20190218134158 AddMaskedToCiVariables: migrated (0.0431s) ==================8275== 20190218134209 AddMaskedToCiGroupVariables: migrating ======================8276-- transaction_open?()8277 -> 0.0000s8278-- transaction()8279-- add_column(:ci_group_variables, :masked, :boolean, {:default=>nil})8280 -> 0.0172s8281-- change_column_default(:ci_group_variables, :masked, false)8282 -> 0.0051s8283 -> 0.0229s8284-- transaction_open?()8285 -> 0.0000s8286-- exec_query("SELECT COUNT(*) AS count FROM `ci_group_variables`")8287 -> 0.0004s8288-- change_column_null(:ci_group_variables, :masked, false)8289 -> 0.0199s8290== 20190218134209 AddMaskedToCiGroupVariables: migrated (0.0436s) =============8291== 20190220142344 AddEmailHeaderAndFooterEnabledFlagToAppearancesTable: migrating 8292-- transaction_open?()8293 -> 0.0000s8294-- transaction()8295-- add_column(:appearances, :email_header_and_footer_enabled, :boolean, {:default=>nil})8296 -> 0.0158s8297-- change_column_default(:appearances, :email_header_and_footer_enabled, false)8298 -> 0.0058s8299 -> 0.0225s8300-- transaction_open?()8301 -> 0.0000s8302-- exec_query("SELECT COUNT(*) AS count FROM `appearances`")8303 -> 0.0004s8304-- change_column_null(:appearances, :email_header_and_footer_enabled, false)8305 -> 0.0184s8306== 20190220142344 AddEmailHeaderAndFooterEnabledFlagToAppearancesTable: migrated (0.0418s) 8307== 20190220150130 AddExtraShasToCiPipelines: migrating ========================8308-- add_column(:ci_pipelines, :source_sha, :binary)8309 -> 0.0412s8310-- add_column(:ci_pipelines, :target_sha, :binary)8311 -> 0.0397s8312== 20190220150130 AddExtraShasToCiPipelines: migrated (0.0810s) ===============8313== 20190225152525 AddAutoDevOpsEnabledToNamespaces: migrating =================8314-- add_column(:namespaces, :auto_devops_enabled, :boolean)8315 -> 0.0628s8316== 20190225152525 AddAutoDevOpsEnabledToNamespaces: migrated (0.0629s) ========8317== 20190225160300 StealEncryptRunnersTokens: migrating ========================8318== 20190225160300 StealEncryptRunnersTokens: migrated (0.1098s) ===============8319== 20190225160301 AddRunnerTokensIndexes: migrating ===========================8320-- transaction_open?()8321 -> 0.0000s8322-- index_exists?(:ci_runners, :token_encrypted, {})8323 -> 0.0006s8324-- add_index(:ci_runners, :token_encrypted, {})8325 -> 0.0099s8326-- transaction_open?()8327 -> 0.0000s8328-- index_exists?(:projects, :runners_token_encrypted, {})8329 -> 0.0007s8330-- add_index(:projects, :runners_token_encrypted, {})8331 -> 0.0102s8332-- transaction_open?()8333 -> 0.0000s8334-- index_exists?(:namespaces, :runners_token_encrypted, {:unique=>true})8335 -> 0.0006s8336-- add_index(:namespaces, :runners_token_encrypted, {:unique=>true})8337 -> 0.0124s8338== 20190225160301 AddRunnerTokensIndexes: migrated (0.0349s) ==================8339== 20190301081611 MigrateProjectMigrateSidekiqQueue: migrating ================8340== 20190301081611 MigrateProjectMigrateSidekiqQueue: migrated (0.0004s) =======8341== 20190301182457 AddExternalHostnameToIngressAndKnative: migrating ===========8342-- add_column(:clusters_applications_ingress, :external_hostname, :string)8343 -> 0.0171s8344-- add_column(:clusters_applications_knative, :external_hostname, :string)8345 -> 0.0173s8346== 20190301182457 AddExternalHostnameToIngressAndKnative: migrated (0.0344s) ==8348$ date8349Thu Mar 14 02:16:04 UTC 20198351Job succeeded