fix(schema): small fix to userModuleAccess model
This commit is contained in:
parent
58c550103f
commit
eeaf8daf4a
|
|
@ -466,7 +466,16 @@
|
|||
"/employees/profile": {
|
||||
"get": {
|
||||
"operationId": "EmployeesController_findOneProfile",
|
||||
"parameters": [],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "employee_email",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ model userModuleAccess {
|
|||
timesheets_approval Boolean @default(false) //wich allows the approbation of timesheets by a supervisor or above
|
||||
employee_list Boolean @default(false) //wich shows the lists of employee to show names, emails, titles and profile picture
|
||||
employee_management Boolean @default(false) //wich offers CRUD for employees, schedule_presets and manage module access
|
||||
personnal_profile Boolean @default(false) //wich governs profile details, preferances and dashboard access
|
||||
blocked Boolean @default(false)
|
||||
personal_profile Boolean @default(false) //wich governs profile details, preferances and dashboard access
|
||||
dashboard Boolean @default(false) //wich allows access to the main page of the app
|
||||
|
||||
@@map("user_module_access")
|
||||
}
|
||||
|
|
@ -249,7 +249,6 @@ model Expenses {
|
|||
|
||||
archive ExpensesArchive[] @relation("ExpensesToArchive")
|
||||
|
||||
@@unique([timesheet_id, date, amount, mileage], name: "unique_ts_id_date_amount_mileage")
|
||||
@@map("expenses")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user