issues
search
SPARC-FAIR-Codeathon
/
sparc-me
A python tool to explore, enhance, and expand SPARC datasets and their descriptions
Apache License 2.0
7
stars
6
forks
source link
Version controlling schema
#17
Open
PrasadBabarendaGamage
opened
2 years ago
PrasadBabarendaGamage
commented
2 years ago
See
https://sqlalchemy-migrate.readthedocs.io/en/latest/versioning.html#making-schema-changes
for how to create a python schema change script
Inside the python schema change script load SDS 2.0 schema from the schema creation github issue as a sqlalchemy Table
Add upgrade/downgrade migrate functions that will add a new dummy field to SDS 2.0 data_set_description
Apply schema change script create/export a new SDS 2.1-alpha schema
Create example
Create first part of tutorial 2