google / google/python-spanner-orm

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

Open
#151 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.