Sha256: ea9c385fe6fe69d85447d63bbdea3ce413b0689adba8c8579b19c8dd83d2a717

Contents?: true

Size: 250 Bytes

Versions: 30

Compression:

Stored size: 250 Bytes

Contents

class CreateStates< ActiveRecord::Migration
  def self.up
    create_table :states do |t|
      t.column :name, :string
      t.column :abbr, :string
      t.column :country_id, :integer
    end
  end

  def self.down
    drop_table :states
  end
end

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/014_create_states.rb
spree-enriquez-0.9.4 db/migrate/014_create_states.rb
spree-0.9.4 db/migrate/014_create_states.rb
spree-0.9.3 db/migrate/014_create_states.rb
spree-0.9.2 db/migrate/014_create_states.rb
spree-0.9.1 db/migrate/014_create_states.rb
spree-0.9.0 db/migrate/014_create_states.rb
spree-0.8.4 db/migrate/014_create_states.rb
spree-0.8.5 db/migrate/014_create_states.rb
railscart-0.0.1 starter-app/vendor/plugins/railscart/db/migrate/019_create_states.rb
railscart-0.0.2 starter_app/vendor/plugins/railscart/db/migrate/019_create_states.rb
railscart-0.0.4 starter_app/vendor/plugins/railscart/db/migrate/015_create_states.rb
railscart-0.0.3 starter_app/vendor/plugins/railscart/db/migrate/019_create_states.rb
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb
spree-0.0.9 db/migrate/014_create_states.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb
spree-0.2.0 db/migrate/014_create_states.rb
spree-0.4.0 db/migrate/014_create_states.rb