Answer the question
In order to leave comments, you need to log in
The structure of the database for the time sheet, how to store records of hours of work?
Tell me how to correctly organize the database structure (SQLite) to store records of the number of hours worked by an employee on a particular day, including vacation, sick leave, business trip, etc.
Now there is only 1 sign with all the employees.
id,name,lastname,department
Понятно что нужна 1 таблица где будут храниться эти записи, то что 1 строка = 1 сотрудник. Но насколько правильно хранить в одной записи весь месяц сотрудника (json), или верным будет хранить:
Year,month,day,id_worker,hour,status
И так 1 запить = месяц, день, сотрудник, часов работы, статус.
Помогите дельным советом :)
Answer the question
In order to leave comments, you need to log in
year,month,day,id_worker,hour,status
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question