#757: add migration for rename #extra_containers column

This commit is contained in:
Vokhmin Alexey V 2013-02-22 15:30:24 +04:00
parent c6bdb1fc44
commit c5d0944ebf
3 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,6 @@ class AddExtraRepositoriesAndContainersToBuildList < ActiveRecord::Migration
def change
add_column :build_lists, :auto_create_container, :boolean, :default => false
add_column :build_lists, :extra_repositories, :text
add_column :build_lists, :extra_build_lists, :text
add_column :build_lists, :extra_containers, :text
end
end

View File

@ -0,0 +1,5 @@
class RenameExtraContainersIntoExtraBuildLists < ActiveRecord::Migration
def change
rename_column :build_lists, :extra_containers, :extra_build_lists
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20130218135847) do
ActiveRecord::Schema.define(:version => 20130222112415) do
create_table "activity_feeds", :force => true do |t|
t.integer "user_id", :null => false