Add migration to rename projects named jobs

This commit is contained in:
Lin Jen-Shin 2017-05-17 20:18:29 +08:00
parent 71777a4a18
commit 226b517ce7
2 changed files with 15 additions and 1 deletions

View 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

View file

@ -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"