discourse-subscriptions/db/migrate/20190913010928_create_payme...

12 lines
235 B
Ruby
Raw Normal View History

2019-09-13 00:34:06 -04:00
# frozen_string_literal: true
class CreatePaymentsTable < ActiveRecord::Migration[5.2]
def change
2019-09-13 00:35:13 -04:00
create_table :payments do |t|
t.timestamps
2019-09-13 00:34:06 -04:00
end
2019-09-13 00:35:13 -04:00
2019-09-13 00:36:25 -04:00
# add_index :payments, [:payment_intent_id], unique: true
2019-09-13 00:34:06 -04:00
end
end