Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tag_id to field_groups and fix some bugs in the super_tags migr…
…ation
- Loading branch information
Ben Tillman
committed
Nov 16, 2011
1 parent
7789842
commit 0a83f9c
Showing
2 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
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 AddFieldGroupsTagId < ActiveRecord::Migration | ||
def self.up | ||
add_column :field_groups, :tag_id, :integer | ||
end | ||
|
||
def self.down | ||
remove_column :field_groups, :tag_id | ||
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