Sha256: 3b43399ec13109d7e1a78131a2cfcf7d19734d080eb3ba3edf911e81296f6e38

Contents?: true

Size: 178 Bytes

Versions: 96

Compression:

Stored size: 178 Bytes

Contents

class CreateStates < ActiveRecord::Migration
  def change
    create_table :states do |t|
      t.string :name
      t.string :abbr
      t.references :country
    end
  end
end

Version data entries

96 entries across 96 versions & 2 rubygems

Version Path
piggybak-0.7.7 db/migrate/20120102162415_create_states.rb
piggybak-0.7.6 db/migrate/20120102162415_create_states.rb
piggybak-0.7.5 db/migrate/20120102162415_create_states.rb
piggybak-0.6.34 db/migrate/20120102162415_create_states.rb
piggybak_free_shipping_by_product-0.0.2 test/dummy/db/migrate/20120102162415_create_states.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20120102162415_create_states.rb
piggybak-0.7.4 db/migrate/20120102162415_create_states.rb
piggybak-0.7.3 db/migrate/20120102162415_create_states.rb
piggybak-0.7.2 db/migrate/20120102162415_create_states.rb
piggybak-0.7.1 db/migrate/20120102162415_create_states.rb
piggybak-0.7.0 db/migrate/20120102162415_create_states.rb
piggybak-0.6.33 db/migrate/20120102162415_create_states.rb
piggybak-0.6.32 db/migrate/20120102162415_create_states.rb
piggybak-0.6.31 db/migrate/20120102162415_create_states.rb
piggybak-0.6.30 db/migrate/20120102162415_create_states.rb
piggybak-0.6.29 db/migrate/20120102162415_create_states.rb
piggybak-0.6.28 db/migrate/20120102162415_create_states.rb
piggybak-0.6.27 db/migrate/20120102162415_create_states.rb
piggybak-0.6.26 db/migrate/20120102162415_create_states.rb
piggybak-0.6.25 db/migrate/20120102162415_create_states.rb