Sha256: c052363d374b41d7740895cd28f7828597b04e444d5bffee8cd86e53c34593a9

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

class AddCustomerFieldsToUsers < ActiveRecord::Migration
  def change
    add_column :users, :stripe_id, :string
    add_column :users, :account_balance, :integer
    add_column :users, :business_vat_id, :string
    add_column :users, :currency, :string
    add_column :users, :delinquent, :boolean, null: false, default: false
    add_column :users, :description, :string
    add_column :users, :active_until, :timestamp
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tang-0.0.1 db/migrate/20160929152541_add_customer_fields_to_users.rb