Sha256: f5b2d31ce2310f71e71d94b95639f2c0d54ce470cae85588e83e1fb286036c07

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 Bytes

Contents

class CreateStripeSubscriptionDefaultTaxRates < ActiveRecord::Migration[6.0]
  def change
    create_table :stripe_subscription_default_tax_rates do |t|
      t.references :stripe_subscription, foreign_key: true, index: {name: "index_on_subscription"}, null: false
      t.references :stripe_tax_rate, foreign_key: true, index: {name: "index_on_tax_rate"}, null: false
      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/20201224120534_create_stripe_subscription_default_tax_rates.rb
stripe_model_callbacks-0.1.6 db/migrate/20201224120534_create_stripe_subscription_default_tax_rates.rb
stripe_model_callbacks-0.1.5 db/migrate/20201224120534_create_stripe_subscription_default_tax_rates.rb
stripe_model_callbacks-0.1.4 db/migrate/20201224120534_create_stripe_subscription_default_tax_rates.rb
stripe_model_callbacks-0.1.3 db/migrate/20201224120534_create_stripe_subscription_default_tax_rates.rb