1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20140910014231_create_donations.rb

13 lines
285 B
Ruby

class CreateDonations < ActiveRecord::Migration
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
t.timestamps
end
end
end