Sha256: a1e56b875c892cddf4e3ce595b5ccb23f3220b2e27e7c25b9ec3e0f411cd7bd9

Contents?: true

Size: 192 Bytes

Versions: 8

Compression:

Stored size: 192 Bytes

Contents

class CreateRoles < ActiveRecord::Migration
  def self.up
    create_table :roles do |t|
      t.string :name
      t.timestamps
    end
  end

  def self.down
    drop_table :roles
  end
end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
double_auth_engine-0.0.5 lib/double_auth_engine/generators/double_auth_engine/templates/role_migration.rb
double_auth_engine-0.0.5 spec/dummy/db/migrate/20110503035659_create_roles.rb
double_auth_engine-0.0.4 lib/double_auth_engine/generators/double_auth_engine/templates/role_migration.rb
double_auth_engine-0.0.4 spec/dummy/db/migrate/20110503035659_create_roles.rb
double_auth_engine-0.0.2 lib/double_auth_engine/generators/double_auth_engine/templates/role_migration.rb
double_auth_engine-0.0.2 spec/dummy/db/migrate/20110408030356_create_roles.rb
double_auth_engine-0.0.1 lib/double_auth_engine/generators/double_auth_engine/templates/role_migration.rb
double_auth_engine-0.0.1 spec/dummy/db/migrate/20110408030356_create_roles.rb