Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hobo_simple_color to agility integration test
- Loading branch information
1 parent
31a4512
commit 73291b4
Showing
2 changed files
with
10 additions
and
24 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
integration_tests/agility/db/migrate/20120922204625_add_color_to_stories.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters