-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add SpdatasetAttachment #6269
base: production
Are you sure you want to change the base?
Add SpdatasetAttachment #6269
Conversation
Update table name capitalization
TODO:
|
Fix typo Fix models_by_table_id.py
Fix frontend test
Fix relationship capitalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Areyes42 That's actually a separate table used for Bulk attachment upload. In your screenshot I'm just now noticing that Spdataset doesn't show a relationship to SpDataSetAttachments. Since the testing checks passed I think its just a visual thing and I only need to update the schema config, but I'm going to double check to make sure. |
@@ -0,0 +1,73 @@ | |||
# Generated by Django 3.2.15 on 2025-02-25 16:43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a heads up: After #5413 is merged, this migration would have to be renamed and reordered because that PR has 0006_batch_edit.py
Fixes #6074
Warning
This PR affects database migrations. See migration testing instructions.
Checklist
self-explanatory (or properly documented)
Testing instructions
This table will be used for uploading attachments through the workbench in a future PR. For now, it can be tested by creating a data entry form for workbench data sets and adding an attachment there. The user won't do this, but its important to check the table works correctly.
DEV TESTING:
0006_spdatasetattachment
is applied correctly