Commit Graph

54 Commits

Author SHA1 Message Date
b361731cab working on transformation of stock tables 2025-10-13 14:52:15 +02:00
dabacd3d00 preparing filling of intermediate table
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
2025-10-13 08:50:01 +02:00
3bdf7dbab6 working on table transformation:
idea is to transform ids of the form 'company:1:42', where company:1 is the owner and '42' is the company-relative id to separate columns owner and id,
where owner is a positive long for users and a negative long for companies.
however, as the id field would then only require a company-relative uniqueness, this currently cannot be done:
The legacy id filed has a unique constraint, which cannot be released in SQLite. So a new table will have to be created as an intermediate step.

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
2025-10-12 22:46:26 +02:00
74e602eec7 refactored item module → stock, added legacy database creation methods
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
2025-10-12 21:51:14 +02:00