#757: add migration for rename #extra_containers column
This commit is contained in:
parent
c6bdb1fc44
commit
c5d0944ebf
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class RenameExtraContainersIntoExtraBuildLists < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :build_lists, :extra_containers, :extra_build_lists
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue