Added UserTeam core models (team and m-t-m relationships) and updated other models
This commit is contained in:
parent
f6c482c06f
commit
8a86fe7bb0
14 changed files with 248 additions and 28 deletions
|
@ -0,0 +1,12 @@
|
|||
class CreateUserTeamUserRelationships < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :user_team_user_relationships do |t|
|
||||
t.integer :user_id
|
||||
t.integer :user_team_id
|
||||
t.boolean :group_admin
|
||||
t.integer :permission
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue