forked from OpenNeo/impress
Matchu
fcf3292448
I'm not sure it's literally true that they were all built against Rails 3.2, but that's what it was at before we upgraded, and like. that's probably fine
13 lines
290 B
Ruby
13 lines
290 B
Ruby
class CreateDonations < ActiveRecord::Migration[3.2]
|
|
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
|