-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MVP] Define DB using SQLAlchemy #4400
Comments
we could use an |
if we use an |
can a |
To answer some of the questions above:
It depends on the customization we want to allow. Currently, we only support the generic subset time periods. If we choose an
I don't think we'll ever have to search for a specific email. We don't support that currently. It's mostly a one-way operation, just force update the notification emails. However, the
No. But there's also something wrong about this question. Harvest source define groups of datasets. I guess, my point is, what is a "harvest source record"? Just a harvest source? Or a record within the catalog that exists at the url in the harvest source config? |
I've updated my question. i'm asking to determine the relationship between tables. so we'll want to add another field to |
Yes, that is a very interesting consideration. I was discussing this with @FuhuXia and there's not a simple answer to this. If we want to replicate CKAN completely, then there are FOUR components to this:
The relationship between these is as follows:
The "motivation" for separating harvest All of that is historically how it has worked in CKAN. I don't believe it is most efficient; however, Fuhu thinks it is robust enough that we should take it as is. If we do replicate this logic, then YES... |
Oh... but to this question, no. A job cannot occur without a source. Without a source, what will the job do? It doesn't know what to harvest without a source. |
the circumstance i'm thinking of is if a user can submit a source to be harvested but for whatever reason that source was never added to a |
miro board of ERD. let me know who needs access. |
ERD as plantuml located here. this is a WIP. any comments or suggestions are welcome! this diagram is slightly different to the one mentioned above. |
❗ Ooooo mermaid is testing an experimental ERD diagram: https://mermaid.js.org/syntax/entityRelationshipDiagram.html |
User Story
In order to maintain a list of harvest sources and their states, datagovteam wants to define the harvest db using SQLAlchemy
Related to:
Acceptance Criteria
Provided below is a table of DB tables and criteria:
Background
[Any helpful contextual notes or links to artifacts/evidence, if needed]
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
The text was updated successfully, but these errors were encountered: