feat(intrants): add migration for achat_intrant + fabrication tables
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,34 @@ EXPECTED_COLUMNS: dict[str, list[tuple[str, str, str | None]]] = {
|
|||||||
("photos", "TEXT", None),
|
("photos", "TEXT", None),
|
||||||
("videos", "TEXT", None),
|
("videos", "TEXT", None),
|
||||||
],
|
],
|
||||||
|
"achat_intrant": [
|
||||||
|
("categorie", "TEXT", None),
|
||||||
|
("nom", "TEXT", None),
|
||||||
|
("marque", "TEXT", None),
|
||||||
|
("boutique_nom", "TEXT", None),
|
||||||
|
("boutique_url", "TEXT", None),
|
||||||
|
("prix", "REAL", None),
|
||||||
|
("poids", "TEXT", None),
|
||||||
|
("date_achat", "TEXT", None),
|
||||||
|
("dluo", "TEXT", None),
|
||||||
|
("notes", "TEXT", None),
|
||||||
|
("jardin_id", "INTEGER", None),
|
||||||
|
("plantation_id", "INTEGER", None),
|
||||||
|
("tache_id", "INTEGER", None),
|
||||||
|
],
|
||||||
|
"fabrication": [
|
||||||
|
("type", "TEXT", None),
|
||||||
|
("nom", "TEXT", None),
|
||||||
|
("ingredients", "TEXT", None),
|
||||||
|
("date_debut", "TEXT", None),
|
||||||
|
("date_fin_prevue", "TEXT", None),
|
||||||
|
("statut", "TEXT", "'en_cours'"),
|
||||||
|
("quantite_produite", "TEXT", None),
|
||||||
|
("notes", "TEXT", None),
|
||||||
|
("jardin_id", "INTEGER", None),
|
||||||
|
("plantation_id", "INTEGER", None),
|
||||||
|
("tache_id", "INTEGER", None),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user