vacuumlabs / adalite-backend-service

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Apache License 2.0
2 stars 7 forks source link

Setup database migrations #5

Closed refi93 closed 5 years ago

refi93 commented 5 years ago

https://github.com/vacuumlabs/project-icarus-importer/blob/icarus-master/scripts/generate/blockImporterTables-beta.sql

this could be moved to database migrations of project-icarus importer. The advantage would be that new columns/tables may be easier to add in the future and it would serve as a documentation of the history of the table structure.

I recommend using this library: http://docs.sequelizejs.com/manual/tutorial/migrations.html

refi93 commented 5 years ago

closed by #9