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.6.3 db/migrate/20120102162415_create_states.rb
piggybak-0.6.2 db/migrate/20120102162415_create_states.rb
piggybak-0.6.1 db/migrate/20120102162415_create_states.rb
piggybak-0.6.0 db/migrate/20120102162415_create_states.rb
piggybak-0.5.5 db/migrate/20120102162415_create_states.rb
piggybak-0.5.4 db/migrate/20120102162415_create_states.rb
piggybak-0.5.3 db/migrate/20120102162415_create_states.rb
piggybak-0.5.2 db/migrate/20120102162415_create_states.rb
piggybak-0.5.1 db/migrate/20120102162415_create_states.rb
piggybak-0.5.0 db/migrate/20120102162415_create_states.rb
piggybak-0.4.39 db/migrate/20120102162415_create_states.rb
piggybak-0.4.38 db/migrate/20120102162415_create_states.rb
piggybak-0.4.37 db/migrate/20120102162415_create_states.rb
piggybak-0.4.36 db/migrate/20120102162415_create_states.rb
piggybak-0.4.35 db/migrate/20120102162415_create_states.rb
piggybak-0.4.34 db/migrate/20120102162415_create_states.rb
piggybak-0.4.33 db/migrate/20120102162415_create_states.rb
piggybak-0.4.32 db/migrate/20120102162415_create_states.rb
piggybak-0.4.31 db/migrate/20120102162415_create_states.rb
piggybak-0.4.30 db/migrate/20120102162415_create_states.rb