Welcome Guest, Not a member yet? Register   Sign In
Automatic Database Migrations - Proposal
#1

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 ?
Reply


Messages In This Thread
Automatic Database Migrations - Proposal - by loopzzz - 11-14-2019, 02:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB