blob: 32be71df7b6a67fbb8e391eee749b63a3d05aa3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class CreateSolidusSubscriptionsInstallmentDetails < ActiveRecord::Migration
def change
create_table :solidus_subscriptions_installment_details do |t|
t.references :installment, foreign_key: true, null: false
t.string :state, null: false
t.timestamps null: false
end
add_index :solidus_subscriptions_installment_details, :installment_id, name: :index_installment_details_on_installment_id
end
end
|