13 lines
311 B
Ruby
13 lines
311 B
Ruby
|
# 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
|