diff options
author | Maxwell Salzberg <maxwell@joindiaspora.com> | 2011-05-26 06:01:17 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-22 05:22:17 +0400 |
commit | fa9269541fa89b4ed4061cd19a99b4bc89b0a184 (patch) | |
tree | a85263df20bc3c417632b7d64f5b2b77adb1396e /db | |
parent | 06f886ad770d95b7396a068ad15c153c624632d9 (diff) |
wip removed some generated specs
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20110525213325_add_root_id_to_posts.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110525213325_add_root_id_to_posts.rb b/db/migrate/20110525213325_add_root_id_to_posts.rb new file mode 100644 index 000000000..7f6969b54 --- /dev/null +++ b/db/migrate/20110525213325_add_root_id_to_posts.rb @@ -0,0 +1,9 @@ +class AddRootIdToPosts < ActiveRecord::Migration + def self.up + add_column :posts, :root_id, :integer + end + + def self.down + remove_column :posts, :root_id + end +end |