Sha256: 9110bb07905b533bcc95b8ea3c7d5b8d126496a889eb65a69b29131744ccfdfb

Contents?: true

Size: 240 Bytes

Versions: 7

Compression:

Stored size: 240 Bytes

Contents

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

      t.string :role

      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/010_create_one_users.rb
simple_roles-0.0.11 spec/support/migrations/010_create_one_users.rb
simple_roles-0.0.10 spec/support/migrations/010_create_one_users.rb
simple_roles-0.0.9 spec/support/migrations/010_create_one_users.rb
simple_roles-0.0.8 spec/support/migrations/010_create_one_users.rb
simple_roles-0.0.7 spec/support/migrations/010_create_one_users.rb
simple_roles-0.0.6 spec/support/migrations/010_create_one_users.rb