rosa-build/db/migrate/20111012223006_create_permi...

11 lines
226 B
Ruby

class CreatePermissions < ActiveRecord::Migration
def change
create_table :permissions do |t|
t.integer :right_id, references: nil
t.integer :role_id, references: nil
t.timestamps
end
end
end