Sha256: 05d121b0b308b625a6658fdc164f0379cebbb0f856b0bb5e085c8b2e1dc09c0f

Contents?: true

Size: 487 Bytes

Versions: 5

Compression:

Stored size: 487 Bytes

Contents

class CreateInvoiceBarAddresses < ActiveRecord::Migration
  def change
    create_table :invoice_bar_addresses do |t|
      t.string :street, null: false
      t.string :street_number, null: false
      t.string :city, null: false
      t.string :city_part, default: nil
      t.string :postcode, null: false
      t.string :extra_address_line, default: nil
      t.integer :addressable_id, null: false
      t.string :addressable_type, null: false

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
invoice_bar-0.0.11 db/migrate/20121012142346_create_invoice_bar_addresses.rb
invoice_bar-0.0.10 db/migrate/20121012142346_create_invoice_bar_addresses.rb
invoice_bar-0.0.9 db/migrate/20121012142346_create_invoice_bar_addresses.rb
invoice_bar-0.0.8 db/migrate/20121012142346_create_invoice_bar_addresses.rb
invoice_bar-0.0.7 db/migrate/20121012142346_create_invoice_bar_addresses.rb