google / google/python-spanner-orm

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

Offen
#151 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
41
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.