Permalink
Browse files

Revert previous commit

* Some of this changes were not for *master* but for the new 3.x branch
  • Loading branch information...
1 parent 7c312d1 commit 47358fe88469acc743bd753996e6506b0165dc73 Daniel Martin committed Jun 26, 2012
File renamed without changes.
@@ -0,0 +1,15 @@
+class CreateNodes < ActiveRecord::Migration
+ def self.up
+ create_table :nodes do |t|
+ t.integer :type_id
+ t.string :label
+ t.integer :parent_id
+
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :nodes
+ end
+end
@@ -0,0 +1,13 @@
+class CreateCategories < ActiveRecord::Migration
+ def self.up
+ create_table :categories do |t|
+ t.string :name
+
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :categories
+ end
+end

0 comments on commit 47358fe

Please sign in to comment.