Skip to content

Commit

Permalink
add hobo_simple_color to agility integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Sep 22, 2012
1 parent 31a4512 commit 73291b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 24 deletions.
@@ -0,0 +1,9 @@
class AddColorToStories < ActiveRecord::Migration
def self.up
add_column :stories, :color, :string, :default => "#000000"
end

def self.down
remove_column :stories, :color
end
end
25 changes: 1 addition & 24 deletions integration_tests/agility/db/schema.rb
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120111022145) do
ActiveRecord::Schema.define(:version => 20120922204625) do

create_table "bars", :force => true do |t|
t.string "name"
Expand All @@ -35,14 +35,6 @@
t.datetime "updated_at"
end

create_table "countries", :force => true do |t|
t.string "name"
t.string "code"
t.string "region_label"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "foobazs", :force => true do |t|
t.datetime "created_at"
t.datetime "updated_at"
Expand Down Expand Up @@ -96,24 +88,9 @@
t.string "report_content_type"
t.integer "report_file_size"
t.datetime "report_updated_at"
t.string "city"
t.integer "country_id"
t.integer "region_id"
end

add_index "projects", ["country_id"], :name => "index_projects_on_country_id"
add_index "projects", ["owner_id"], :name => "index_projects_on_owner_id"
add_index "projects", ["region_id"], :name => "index_projects_on_region_id"

create_table "regions", :force => true do |t|
t.string "name"
t.string "code"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "country_id"
end

add_index "regions", ["country_id"], :name => "index_regions_on_country_id"

create_table "stories", :force => true do |t|
t.string "title"
Expand Down

0 comments on commit 73291b4

Please sign in to comment.