Sha256: 95fd898b8c7d2b4cfe7dca3858545fdc32215652f0c56c7640d782fdd1015316

Contents?: true

Size: 812 Bytes

Versions: 8

Compression:

Stored size: 812 Bytes

Contents

class CreateStripeProducts < ActiveRecord::Migration[5.0]
  def change
    create_table :stripe_products do |t|
      t.string :stripe_id, index: true, null: false
      t.boolean :active, default: false, null: false
      t.datetime :deleted_at, index: true
      t.text :stripe_attributes
      t.string :caption
      t.string :description
      t.boolean :livemode, default: true, null: false
      t.text :metadata
      t.string :name
      t.decimal :package_dimensions_height
      t.decimal :package_dimensions_length
      t.decimal :package_dimensions_weight
      t.decimal :package_dimensions_width
      t.boolean :shippable, default: false, null: false
      t.string :statement_descriptor
      t.text :url
      t.datetime :created
      t.datetime :updated
      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/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.6 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.5 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.4 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.3 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.2 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.1 db/migrate/20180206115811_create_stripe_products.rb
stripe_model_callbacks-0.1.0 db/migrate/20180206115811_create_stripe_products.rb