feat(pos): add barcode generator with PostgreSQL sequence
This commit is contained in:
@@ -351,3 +351,6 @@ CREATE INDEX idx_audit_log_employee ON audit_log(employee_id);
|
||||
CREATE INDEX idx_audit_log_created ON audit_log(created_at);
|
||||
CREATE UNIQUE INDEX idx_inventory_branch_part ON inventory(branch_id, part_number);
|
||||
CREATE INDEX idx_employee_sessions_token ON employee_sessions(token);
|
||||
|
||||
-- Barcode sequence
|
||||
CREATE SEQUENCE IF NOT EXISTS barcode_seq START 1;
|
||||
|
||||
Reference in New Issue
Block a user