Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
This commit is contained in:
12
db/migrate/20170424171708_create_subscriptions.rb
Normal file
12
db/migrate/20170424171708_create_subscriptions.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user