Add migration to rename projects named jobs
This commit is contained in:
parent
71777a4a18
commit
226b517ce7
2 changed files with 15 additions and 1 deletions
14
db/post_migrate/20170517101044_rename_projects_named_jobs.rb
Normal file
14
db/post_migrate/20170517101044_rename_projects_named_jobs.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
class RenameProjectsNamedJobs < ActiveRecord::Migration
|
||||
include Gitlab::Database::RenameReservedPathsMigration::V1
|
||||
|
||||
DOWNTIME = false
|
||||
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
rename_wildcard_paths('jobs')
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170516183131) do
|
||||
ActiveRecord::Schema.define(version: 20170517101044) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
Loading…
Reference in a new issue