Sha256: a09ba8bb97459550525f28c48de0834ecdecf6ee497500cf34ced0cf34c64628

Contents?: true

Size: 619 Bytes

Versions: 8

Compression:

Stored size: 619 Bytes

Contents

class CreateStripeCustomers < ActiveRecord::Migration[5.0]
  def change
    create_table :stripe_customers do |t|
      t.string :stripe_id, index: true, null: false
      t.integer :account_balance, null: false
      t.string :business_vat_id
      t.datetime :deleted_at, index: true
      t.string :currency
      t.string :default_source
      t.boolean :delinquent, null: false
      t.string :description
      t.text :discount
      t.string :email
      t.boolean :livemode, default: true, null: false
      t.text :metadata
      t.text :shipping
      t.datetime :created
      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/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.6 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.5 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.4 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.3 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.2 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.1 db/migrate/20180206115803_create_stripe_customers.rb
stripe_model_callbacks-0.1.0 db/migrate/20180206115803_create_stripe_customers.rb