google / google/python-spanner-orm

[Feature Request] Autogenerate migrations based on current `spanner_orm.Models`

Aperta
#151 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
41
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The current model of migration creation being a static file requiring developers to setup the exact changes desired in this change is less than ideal.

A more desirable model for ease of use is to have the package be able to introspect the models (several ways to do this) and generating the delta required to bring the system up to current state from the previous schema revision.

Inspiration: https://github.com/miguelgrinberg/Flask-Migrate & the whole alembic system

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.