Open agstephens opened 3 years ago
Hi Ag, I'm struggling with the best way to document the triggers (and the database build scripts in general). Any pointers would be welcomed.
I've updated the readme and re-organised the code / scripts (including renaming to be more obvious). See https://github.com/glamod/glamod_database.
Hi @DavidBerryNOC, I didn't know you would look at that. Sorry, I am working off here, which is significantly different already:
https://github.com/glamod/glamod_database/tree/refactor/use-default-schema
We are using that branch for our production build.
I suspect we can bring the changes together.
@DavidBerryNOC coming back to your question about documenting the triggers. I think we just need a description of the required components:
It can just be in a README file, so that I can follow it.
I've edited the readme under the original. I think this is what you are after.
I've only had a brief look at the refactored code, I think you should be able to copy the functions and triggers directories from the old to the new without issues (I've changed cdm_v1
to __INSERT_SCHEMA__
throughout. I've also edited the make_database.sql
to call the correct files.
See: #29
See: #34