Sha256: 20fdc6776ef2e99ce32e271f3da53edca51cfbfb5b3f1516e09c47de6e40e3cd

Contents?: true

Size: 263 Bytes

Versions: 17

Compression:

Stored size: 263 Bytes

Contents

# encoding: utf-8
class CreateStatuses < ActiveRecord::Migration
  def change
    create_table :statuses do |t|
      t.string :name
      t.integer :position
      t.timestamps
    end

    add_index :statuses, :name
    add_index :statuses, :position
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-7.1.3 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-7.1.2 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-7.1.1 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-7.1.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-6.1.3 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-6.1.2 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-6.1.1 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-6.1.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-7.0.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-6.1.2 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-6.1.1 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-6.1.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-5.0.2 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-5.0.1 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
pwice_grid-5.0.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
wice_grid-4.1.0 spec/support/test_app/db/migrate/20120224193537_create_statuses.rb