houdini/db/migrate/20210506202607_create_stripe_charges.rb

10 lines
221 B
Ruby
Raw Normal View History

2021-05-05 16:35:17 +00:00
class CreateStripeCharges < ActiveRecord::Migration[6.1]
def change
create_table :stripe_charges, id: :string do |t|
t.references :payment, foreign_key: true, id: :string
t.timestamps
end
end
end