Sha256: 241664d3f40f3e085519af88eaec3be60f4171c29b89baa96a50834b74d8c80a

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 Bytes

Contents

class CreateStripeSubscriptionSchedulePhasePlans < ActiveRecord::Migration[6.0]
  def change
    create_table :stripe_subscription_schedule_phase_plans do |t|
      t.string :stripe_subscription_schedule_phase_id, index: {name: "index_subscription_schedule_phase_plans_on_schedule_phase_id"}, null: false
      t.integer :billing_thresholds_usage_gte
      t.string :stripe_plan_id, index: {name: "index_subscription_schedule_phase_plans_on_stripe_plan_id"}
      t.string :stripe_price_id, index: {name: "index_subscription_schedule_phase_plans_on_stripe_price_id"}
      t.integer :quantity

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 db/migrate/20200513131640_create_stripe_subscription_schedule_phase_plans.rb
stripe_model_callbacks-0.1.6 db/migrate/20200513131640_create_stripe_subscription_schedule_phase_plans.rb
stripe_model_callbacks-0.1.5 db/migrate/20200513131640_create_stripe_subscription_schedule_phase_plans.rb
stripe_model_callbacks-0.1.4 db/migrate/20200513131640_create_stripe_subscription_schedule_phase_plans.rb
stripe_model_callbacks-0.1.3 db/migrate/20200513131640_create_stripe_subscription_schedule_phase_plans.rb