--- /dev/null
+class CreateCoitems < ActiveRecord::Migration
+ def self.up
+ create_table :coitems do |t|
+ t.column :customer_id, :integer
+ t.column :rentable_id, :integer
+ t.column :out_date, :date, :default => Time.now
+ t.column :due_date, :date
+ end
+ end
+
+ def self.down
+ drop_table :coitems
+ end
+end