discourse-subscriptions/db/migrate/20191203014808_create_subsc...

13 lines
318 B
Ruby
Raw Normal View History

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|
t.string :customer_id, null: false
t.string :product_id
t.references :user, foreign_key: true
t.timestamps
end
end
end