Sha256: 52bdb0eba6a8894d1c8b84af490a0e719d82640e90e99b76f042d1ba2230dc98
Contents?: true
Size: 324 Bytes
Versions: 15
Compression:
Stored size: 324 Bytes
Contents
class CreatePermissionRoles < ActiveRecord::Migration def up create_table :permission_roles do |t| t.integer :role_id t.integer :permission_id end add_index :permission_roles, :role_id add_index :permission_roles, :permission_id end def down drop_table :permission_roles end end
Version data entries
15 entries across 15 versions & 1 rubygems