Open Jbays opened 6 years ago
In coins_index migration file.
After creating the table, the next promise seeds price data from June.
The migration files for both purchases and trades ALSO seed their own respective data.
Is this correct?
The total data inserted during all knex migration is small. ~50 entries.
Should I refactor these migration insertions into seed data?
This resource looks helpful: https://medium.com/@jaeger.rob/seed-knex-postgresql-database-with-json-data-3677c6e7c9bc
In coins_index migration file.
After creating the table, the next promise seeds price data from June.
The migration files for both purchases and trades ALSO seed their own respective data.
Is this correct?
The total data inserted during all knex migration is small. ~50 entries.
Should I refactor these migration insertions into seed data?