diff --git a/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb b/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb index cba13e2fe..f68eadf9e 100644 --- a/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb +++ b/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb @@ -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 diff --git a/db/migrate/20130222112415_rename_extra_containers_into_extra_build_lists.rb b/db/migrate/20130222112415_rename_extra_containers_into_extra_build_lists.rb new file mode 100644 index 000000000..1fa105140 --- /dev/null +++ b/db/migrate/20130222112415_rename_extra_containers_into_extra_build_lists.rb @@ -0,0 +1,5 @@ +class RenameExtraContainersIntoExtraBuildLists < ActiveRecord::Migration + def change + rename_column :build_lists, :extra_containers, :extra_build_lists + end +end diff --git a/db/schema.rb b/db/schema.rb index 742740891..21a31e00f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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