Skip to content
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

Issue#31 migration process breaks due to use constrains id contains null values #32

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geonode/base/migrations/0088_auto_20230330_0640.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='resourcebase',
name='use_constrains',
field=models.ForeignKey(default=None, help_text='This metadata element shall provide information on the Use constraints applied to assure the protection of privacy or intellectual property (e.g. Trademark)', limit_choices_to=models.Q(('is_choice', True)), on_delete=django.db.models.deletion.CASCADE, related_name='use_constrains', to='base.restrictioncodetype', verbose_name='use_constrains'),
field=models.ForeignKey(default=None, help_text='This metadata element shall provide information on the Use constraints applied to assure the protection of privacy or intellectual property (e.g. Trademark)', limit_choices_to=models.Q(('is_choice', True)), on_delete=django.db.models.deletion.CASCADE, null=True, related_name='use_constrains', to='base.restrictioncodetype', verbose_name='use_constrains'),
),
migrations.AlterField(
model_name='resourcebase',
Expand Down