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

13 lines
311 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class CreateSubscriptions < ActiveRecord::Migration[6.0]
def change
create_table :discourse_subscriptions_subscriptions do |t|
t.integer :customer_id, null: false, index: true
t.string :external_id, null: false, index: true
t.timestamps
end
end
end