Sha256: 1fd4d02f1447cd8178902602f826a66e2bea14a738f4eee048adaa773c68dc65

Contents?: true

Size: 782 Bytes

Versions: 3

Compression:

Stored size: 782 Bytes

Contents

class CreateStripePrices < ActiveRecord::Migration[6.0]
  def change
    create_table :stripe_prices do |t|
      t.string :stripe_id, index: true, null: false
      t.datetime :deleted_at
      t.boolean :active
      t.string :billing_scheme
      t.datetime :created
      t.string :currency
      t.string :lookup_key
      t.jsonb :metadata
      t.string :nickname
      t.string :stripe_product_id, index: true
      t.boolean :recurring_aggregate_usage
      t.string :recurring_interval
      t.integer :recurring_interval_count
      t.string :recurring_usage_type
      t.string :tiers_mode
      t.integer :transform_quantity_divide_by
      t.string :transform_quantity_round
      t.string :price_type
      t.integer :unit_amount
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.5 db/migrate/20201224122058_create_stripe_prices.rb
stripe_model_callbacks-0.1.4 db/migrate/20201224122058_create_stripe_prices.rb
stripe_model_callbacks-0.1.3 db/migrate/20201224122058_create_stripe_prices.rb