Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ce9778a6
Commit
ce9778a6
authored
Feb 10, 2020
by
Mikolaj Wawrzyniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename too long migration filename
parent
f503bfec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
changelogs/unreleased/mwaw-rename_to_long_migration_filename.yml
...ogs/unreleased/mwaw-rename_to_long_migration_filename.yml
+5
-0
db/migrate/20200116051619_drop_background_migration_jobs.rb
db/migrate/20200116051619_drop_background_migration_jobs.rb
+1
-1
spec/migrations/drop_background_migration_jobs_spec.rb
spec/migrations/drop_background_migration_jobs_spec.rb
+2
-2
No files found.
changelogs/unreleased/mwaw-rename_to_long_migration_filename.yml
0 → 100644
View file @
ce9778a6
---
title
:
Rename too long migration filename to address gem packaging limitations.
merge_request
:
author
:
type
:
fixed
db/migrate/20200116051619_drop_
activate_prometheus_services_for_shared_cluster_applications_background_migration
.rb
→
db/migrate/20200116051619_drop_
background_migration_jobs
.rb
View file @
ce9778a6
# frozen_string_literal: true
class
Drop
ActivatePrometheusServicesForSharedClusterApplicationsBackgroundMigration
<
ActiveRecord
::
Migration
[
5.2
]
class
Drop
BackgroundMigrationJobs
<
ActiveRecord
::
Migration
[
5.2
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
...
...
spec/migrations/drop_
activate_prometheus_services_for_shared_cluster_applications_background_migration
_spec.rb
→
spec/migrations/drop_
background_migration_jobs
_spec.rb
View file @
ce9778a6
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20200116051619_drop_
activate_prometheus_services_for_shared_cluster_applications_background_migration
.rb'
)
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20200116051619_drop_
background_migration_jobs
.rb'
)
describe
Drop
ActivatePrometheusServicesForSharedClusterApplicationsBackgroundMigration
,
:sidekiq
,
:redis
,
:migration
,
schema:
2020_01_16_051619
do
describe
Drop
BackgroundMigrationJobs
,
:sidekiq
,
:redis
,
:migration
,
schema:
2020_01_16_051619
do
subject
(
:migration
)
{
described_class
.
new
}
describe
'#up'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment