spec/dummy/db/migrate/20130326152550_create_orders.rb in opay-1.1.2 vs spec/dummy/db/migrate/20130326152550_create_orders.rb in opay-1.1.3
- old
+ new
@@ -1,9 +1,10 @@
class CreateOrders < ActiveRecord::Migration
def change
create_table :orders do |t|
t.string :name
t.string :amount
+ t.boolean :finished, null: false, default: false
t.timestamps
end
end
end