Sha256: 30727f19cd401009088528ab643be3a94e461b308587995dd80753f253dba8ec
Contents?: true
Size: 545 Bytes
Versions: 25
Compression:
Stored size: 545 Bytes
Contents
class CreatePaySubscriptions < ActiveRecord::Migration[4.2] def change create_table :pay_subscriptions do |t| # Some Billable objects use string as ID, add `type: :string` if needed t.references :owner, polymorphic: true t.string :name, null: false t.string :processor, null: false t.string :processor_id, null: false t.string :processor_plan, null: false t.integer :quantity, default: 1, null: false t.datetime :trial_ends_at t.datetime :ends_at t.timestamps end end end
Version data entries
25 entries across 25 versions & 1 rubygems