We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ResourceBase model at the moment handles the two date fields (related to data, not to metadata):
date
date_type
Since CSW ISO AP defines "CreationDate", "RevisionDate", "PublicationDate" as queriables, we may replace the fields date and date_type with:
csw_data_creation_date
csw_data_revision_date
csw_data_publication_date
where
csw
data
The migration should populate the new fields using the date and date_type fields:
date_type=='creation'
date_type=='revision'
date_type=='publication'
Once the migrations are done,
The text was updated successfully, but these errors were encountered:
I do not understand why the publication and revision also should set other fields. Did I misunderstand your post?
Why should the creation and revision date be set to the publication date? For me this seems semantically incorrect.
Sorry, something went wrong.
@gannebamm oky, I was badly recalling some directives, I updated the doc of the migration part to only keep the pre-existing data without any forcing.
No branches or pull requests
The ResourceBase model at the moment handles the two date fields (related to data, not to metadata):
date
date_type
(creation|revision|publication)Since CSW ISO AP defines "CreationDate", "RevisionDate", "PublicationDate" as queriables, we may replace the fields
date
anddate_type
with:csw_data_creation_date
csw_data_revision_date
csw_data_publication_date
where
csw
because they are only used in CSW outputdata
because they refer to data, and not to the metadata document (there are other fields for that purpose)The migration should populate the new fields using the
date
anddate_type
fields:date_type=='creation'
--> setcsw_data_creation_date
=date
date_type=='revision'
--> setcsw_data_revision_date
=date
date_type=='publication'
--> setcsw_data_publication_date
=date
Once the migrations are done,
The text was updated successfully, but these errors were encountered: