2a34255e0b
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
12 lines
313 B
Ruby
12 lines
313 B
Ruby
class CreateSubscriptions < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :subscriptions do |t|
|
|
t.string :pricing_version
|
|
t.integer :account_id
|
|
t.datetime :expiry
|
|
t.string :billing_plan, default: 'trial'
|
|
t.string :stripe_customer_id
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|