mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 11:23:47 +08:00
12 lines
312 B
Ruby
12 lines
312 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateSubscriptionsCustomers < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :discourse_subscriptions_customers do |t|
|
|
t.string :customer_id, null: false, index: true
|
|
t.string :product_id
|
|
t.references :user
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|