Closed xsawyerx closed 9 years ago
Two remaining issues in making it easy to set up the database for the system are:
I've added two scripts here to help:
bin/generate_sqlite.sh
db_patches/set_up_data.sql
INSERT
These are offered mainly as a suggestion and should be taken with a grain of salt. Is this the best way to handle this? Should these be generalized?
It's now doing SQLite and mySQL, I'm expanding another project to use PotsgreSQL so the generalization is just fine.
This is pretty much in line with what I'm doing vis-a-vis b.p.org.
Two remaining issues in making it easy to set up the database for the system are:
I've added two scripts here to help:
bin/generate_sqlite.sh
: create SQLite SQL files on the fly from the schema.db_patches/set_up_data.sql
: a file that simply contains theINSERT
statements.These are offered mainly as a suggestion and should be taken with a grain of salt. Is this the best way to handle this? Should these be generalized?