Sha256: 82af424b98fa5796074baba50d1f90b6f4ff3a8d86242f4acc5b0cdc51e832a9

Contents?: true

Size: 169 Bytes

Versions: 8

Compression:

Stored size: 169 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :name
      t.integer :role

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_attr_enum-0.2.0 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.1.1 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.1.0 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.0.6 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.0.5 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.0.4 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.0.3 test/dummy/db/migrate/20131023212242_create_users.rb
rails_attr_enum-0.0.2 test/dummy/db/migrate/20131023212242_create_users.rb