-
Notifications
You must be signed in to change notification settings - Fork 1
Update the LocalEGA database schema #342
Comments
About harmonizing the data-in and data-out database schema, there is a better approach: Database Views. It allows us to have whatever database backend we want, with whatever schema we fancy, and then we use 2 views, one for data-in, one for data-out. That way, there is no need to harmonize the code to have given table names, column names, etc... Here is an example:
|
Note that we can add a Or here is another idea: |
Related issue ? EGA-archive/ega-data-api#10 |
ok, this seems to do it:
|
Compared with the fields descried in https://github.com/EGA-archive/ega-data-api/tree/master/ega-data-api-filedatabase/src/main/resources and EGA-archive/ega-data-api#10 (comment) Next step would be to see if data out can utilize this schema, and if any changes required on that part. |
I updated the comment with the recent changes.
I'm not aware of the |
There are multiple files used: https://github.com/EGA-archive/ega-data-api/tree/master/ega-data-api-filedatabase/src/main/resources . For Also refer to this comment for more information: EGA-archive/ega-data-api#10 (comment) |
....so that ingestion and data-out play nicely with each other.
One database is enough for both.
The text was updated successfully, but these errors were encountered: