1 class CreatePermissions < ActiveRecord::Migration
3 create_table :permissions do |t|
5 t.integer :repository_id
6 t.integer :kind, :default => 2
10 add_index :permissions, :user_id
11 add_index :permissions, :repository_id
15 drop_table :permissions