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

11 lines
226 B
Ruby
Raw Normal View History

class CreatePermissions < ActiveRecord::Migration
2014-08-20 21:25:09 +01:00
def change
create_table :permissions do |t|
2014-08-20 21:49:26 +01:00
t.integer :right_id, references: nil
t.integer :role_id, references: nil
t.timestamps
end
end
end