Sha256: b5a2ed06ddcb339a040edb055d81de2ca36b12d40c19db36c7a4aa78157aefe6

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

class CreateRoleAssignments < ActiveRecord::Migration
  def self.up
    create_table :role_assignments do |t|
      t.integer :user_id
      t.integer :role_id

      t.timestamps
    end
  end

  def self.down
    drop_table :role_assignments
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auth-assistant-0.4.0 lib/generators/auth_assist/templates/role_assignments_migration.rb