Commit Graph

2 Commits

Author SHA1 Message Date
ahasani d514267f58 feat: add inventoryId to SalesInvoice and related models; implement createOrder functionality in POS service 2025-12-16 10:03:49 +03:30
ahasani 41d7dd8802 feat(database): initialize database schema and triggers
- Created initial database schema with tables for Users, Roles, Products, and related entities.
- Added foreign key constraints to maintain data integrity across tables.
- Implemented triggers for managing stock movements on insert, update, and delete operations.
- Developed scripts to dump existing triggers and pull trigger definitions from the database.
2025-12-10 16:54:08 +03:30