Sha256: 8e78e8a7478eee4a5ce03a679c5bee641571d61a8eed20a8196887b33b5ab3ea

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

class CreateStates < ActiveRecord::Migration
  def self.up
    create_table "states", :force => true do |t|
      t.string "name",         :default => "", :null => false
      t.string "abbreviation", :default => "", :null => false
    end
  end

  def self.down
    drop_table "states"
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
has_many_polymorphs-2.11 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.6.7 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.5.3 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.11 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.7 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.9 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.8 test/integration/app/db/migrate/004_create_states.rb
ultrasphinx-1.6 test/integration/app/db/migrate/004_create_states.rb