Files
trackgo-be/drizzle/migrations/meta/_journal.json
T
shancheas 8a61c94078 Add user and employee management enhancements with database schema updates
- Introduced new columns `status`, `created_by`, and `updated_by` in the `users` table to track user status and ownership.
- Updated the `employees` table to include a foreign key reference to the `users` table via `user_id`.
- Created migration script `0012_users_primary.sql` to apply these changes to the database schema.
- Enhanced the `EmployeesService` and `EmployeesRepository` to support user assignments and related data retrieval.
- Updated DTOs and service methods to reflect the new user and employee relationships.
- Added unit tests to validate the new functionality and ensure data integrity.
- Modified existing controllers to accommodate the new fields and relationships in user and employee management.
2026-08-26 15:29:18 +07:00

97 lines
1.8 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1787284452106,
"tag": "0000_jazzy_tomorrow_man",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1787285129382,
"tag": "0001_amusing_maximus",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1787305078482,
"tag": "0002_wooden_king_cobra",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1787544143116,
"tag": "0003_pretty_darkhawk",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1787546862278,
"tag": "0004_next_the_fury",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1787549883658,
"tag": "0005_past_vengeance",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1787554000000,
"tag": "0006_customers",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1787555000000,
"tag": "0007_employees",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1787556000000,
"tag": "0008_products",
"breakpoints": true
},
{
"idx": 9,
"version": "7",
"when": 1787557000000,
"tag": "0009_sales",
"breakpoints": true
},
{
"idx": 10,
"version": "7",
"when": 1787558000000,
"tag": "0010_phase2_shape",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1787559000000,
"tag": "0011_field",
"breakpoints": true
},
{
"idx": 12,
"version": "7",
"when": 1787560000000,
"tag": "0012_users_primary",
"breakpoints": true
}
]
}