Sha256: 0444414b39f356385c81f81cc9fccb566bb9ea053206584bce224267c4a20ce0

Contents?: true

Size: 476 Bytes

Versions: 8

Compression:

Stored size: 476 Bytes

Contents

class CreateStripeOrderItems < ActiveRecord::Migration[5.0]
  def change
    create_table :stripe_order_items do |t|
      t.string :parent_id, index: true, null: false
      t.string :stripe_order_id, index: true, null: false
      t.integer :amount_cents, null: false
      t.string :amount_currency, null: false
      t.string :currency, null: false
      t.string :description
      t.integer :quantity
      t.string :order_item_type
      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.6 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.5 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.4 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.3 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.2 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.1 db/migrate/20180206115807_create_stripe_order_items.rb
stripe_model_callbacks-0.1.0 db/migrate/20180206115807_create_stripe_order_items.rb