tipimplementacija
sto_trebaKreiran bon/ modul u fenix-v4 s Bon modelom (ZAKON 27+28+43)
sustavfenix-v4
faze{
"1_model": "DONE — bon/models.py: Bon(id, weise3_id, bunker_seal_id, created_at, bon_kod, company_id, iznos, status, kreiran_wid, iskoristen_*, expires_at, krunica_atom)",
"2_migracija": "DONE — 0021_bon_vaucer.py: raw SQL, idempotentni DO$$ CREATE TYPE bon_status, CREATE TABLE IF NOT EXISTS"
}
zakon[
"ZAKON 27 — trinity",
"ZAKON 28 — expires_at cleanup",
"ZAKON 43 — krunica_atom"
]
notacreate_type=False u Alembic op.create_table ne radi s importanim modelom u env.py — koristimo raw SQL migration