impress/db/migrate/20140910014231_create_donations.rb

14 lines
290 B
Ruby
Raw Permalink Normal View History

class CreateDonations < ActiveRecord::Migration[4.2]
2014-09-09 19:06:38 -07:00
def change
create_table :donations do |t|
t.integer :amount, null: false
t.string :charge_id, null: false
t.integer :user_id
t.string :donor_name
t.string :secret
2014-09-09 19:06:38 -07:00
t.timestamps
end
end
end