OSDN Git Service

t#29312:any update
[pettanr/pettanr.git] / db / migrate / 20120816024915_create_panel_colors.rb
diff --git a/db/migrate/20120816024915_create_panel_colors.rb b/db/migrate/20120816024915_create_panel_colors.rb
new file mode 100644 (file)
index 0000000..32433c0
--- /dev/null
@@ -0,0 +1,11 @@
+class CreatePanelColors < ActiveRecord::Migration
+  def change
+    create_table :panel_colors do |t|
+      t.integer :panel_id, :null => false, :default => 0
+      t.integer :z, :null => false, :default => 0
+      t.integer :code, :null => false, :default => 0
+
+      t.timestamps
+    end
+  end
+end