2011-10-13 16:55:03 +01:00
|
|
|
class CreatePermissions < ActiveRecord::Migration
|
2014-08-20 21:25:09 +01:00
|
|
|
def change
|
2011-10-13 16:55:03 +01:00
|
|
|
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
|
2011-10-13 16:55:03 +01:00
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|