Files
trackgo-be/drizzle/migrations/meta/_journal.json
T
shancheas 4b48dbdf3c Add timeline tracking features with database schema updates
- Introduced new tables `timeline_footprints` and `timeline_activities` to manage employee location data and activity records.
- Updated `company_settings` to include `gps_interval_seconds` and `checkout_warning_radius_meters` for enhanced tracking configuration.
- Implemented foreign key constraints to ensure data integrity between new tables and existing `employees`, `customers`, and `visits` tables.
- Created services and controllers for handling timeline activities and footprints, including ingestion and retrieval of data.
- Enhanced DTOs and validation logic to support new fields and ensure correct data formats in API requests.
- Added unit and integration tests to validate the new functionalities and ensure proper handling of timeline records.
- Created migration scripts to apply the necessary database schema changes for the new features.
2026-09-01 20:36:47 +07:00

132 lines
2.5 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
},
{
"idx": 13,
"version": "7",
"when": 1787561000000,
"tag": "0013_reports",
"breakpoints": true
},
{
"idx": 14,
"version": "7",
"when": 1787562000000,
"tag": "0014_sales_invoice_location",
"breakpoints": true
},
{
"idx": 15,
"version": "7",
"when": 1787563000000,
"tag": "0015_field_check_in",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1787564000000,
"tag": "0016_privilege_key_hierarchy",
"breakpoints": true
},
{
"idx": 17,
"version": "7",
"when": 1787565000000,
"tag": "0017_timeline",
"breakpoints": true
}
]
}