2019-12-02 21:11:29 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-12-02 21:03:10 -05:00
|
|
|
class CreateSubscriptionsCustomers < ActiveRecord::Migration[6.0]
|
|
|
|
def change
|
|
|
|
create_table :discourse_subscriptions_customers do |t|
|
2020-05-22 12:20:05 -04:00
|
|
|
t.string :customer_id, null: false, index: true
|
2019-12-02 21:03:10 -05:00
|
|
|
t.string :product_id
|
2020-05-22 12:20:05 -04:00
|
|
|
t.references :user
|
2019-12-02 21:03:10 -05:00
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|