detjonmataj/cpp-contester-php

#Backend: Add user level table and add it as a FK on Users table

Closed this issue · 0 comments

Create an users_level table and refer it to users table as FK. On the bootstrap SQL we should create a user level Admin and a user called admin. The created_by field should be itself. Also you will have to modify the user model.