Sha256: 448506583203315f67af7a7ca10af867f7eb772dc99e92cb1462dcd2da28b3b6

Contents?: true

Size: 209 Bytes

Versions: 7

Compression:

Stored size: 209 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def up
    create_table(:users) do |t|
      t.string :name
      t.string :username

      t.timestamps
    end
  end

  def down
    drop_table :users
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_roles-0.0.12 spec/support/migrations/011_create_users.rb
simple_roles-0.0.11 spec/support/migrations/011_create_users.rb
simple_roles-0.0.10 spec/support/migrations/011_create_users.rb
simple_roles-0.0.9 spec/support/migrations/011_create_users.rb
simple_roles-0.0.8 spec/support/migrations/011_create_users.rb
simple_roles-0.0.7 spec/support/migrations/011_create_users.rb
simple_roles-0.0.6 spec/support/migrations/011_create_users.rb