Rename columns on the geo_repository_renamed_events table

parent 04546422
...@@ -5,7 +5,7 @@ module Geo ...@@ -5,7 +5,7 @@ module Geo
belongs_to :project belongs_to :project
validates :project, :repository_storage_name, :repository_storage_path, validates :project, :repository_storage_name, :repository_storage_path,
:old_path_with_namespace, :new_path_with_namespace, :old_repo_path_with_namespace, :new_repo_path_with_namespace,
:old_wiki_path_with_namespace, :new_wiki_path_with_namespace, :old_wiki_path_with_namespace, :new_wiki_path_with_namespace,
:old_project_name, :new_project_name, presence: true :old_project_name, :new_project_name, presence: true
end end
......
...@@ -8,8 +8,8 @@ class CreateGeoRepositoryRenamedEvents < ActiveRecord::Migration ...@@ -8,8 +8,8 @@ class CreateGeoRepositoryRenamedEvents < ActiveRecord::Migration
t.references :project, index: true, foreign_key: { on_delete: :cascade }, null: false t.references :project, index: true, foreign_key: { on_delete: :cascade }, null: false
t.text :repository_storage_name, null: false t.text :repository_storage_name, null: false
t.text :repository_storage_path, null: false t.text :repository_storage_path, null: false
t.text :old_path_with_namespace, null: false t.text :old_repo_path_with_namespace, null: false
t.text :new_path_with_namespace, null: false t.text :new_repo_path_with_namespace, null: false
t.text :old_wiki_path_with_namespace, null: false t.text :old_wiki_path_with_namespace, null: false
t.text :new_wiki_path_with_namespace, null: false t.text :new_wiki_path_with_namespace, null: false
t.text :old_project_name, null: false t.text :old_project_name, null: false
......
...@@ -629,8 +629,8 @@ ActiveRecord::Schema.define(version: 20170627211700) do ...@@ -629,8 +629,8 @@ ActiveRecord::Schema.define(version: 20170627211700) do
t.integer "project_id", null: false t.integer "project_id", null: false
t.text "repository_storage_name", null: false t.text "repository_storage_name", null: false
t.text "repository_storage_path", null: false t.text "repository_storage_path", null: false
t.text "old_path_with_namespace", null: false t.text "old_repo_path_with_namespace", null: false
t.text "new_path_with_namespace", null: false t.text "new_repo_path_with_namespace", null: false
t.text "old_wiki_path_with_namespace", null: false t.text "old_wiki_path_with_namespace", null: false
t.text "new_wiki_path_with_namespace", null: false t.text "new_wiki_path_with_namespace", null: false
t.text "old_project_name", null: false t.text "old_project_name", null: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment