Hello community,
i had a few projects in Python/DJANGO and have seen some really useful stuff but one especially helpful
Database migrations generated automatically from the
Models
i love CI and want to have all the good stuff in here as well to speed up development times
Benefits:
- table field definitions are in a single place (single source of truth) in the Model
- migration files are temporary
- you can delete all dev incremental migrations and recreate a final migration
i understand that this is a
braking change for the CI updates but that's why i ask your opinions on this.
Implementation:
we already have the $allowedFields property defining the field names
i propose new property called
$fields or similar describing the fields like in the migrations currently, this also needs clarification.
What are your thoughts ?