Skip to content

Commit

Permalink
Collection and revision spec migration
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Jun 16, 2023
1 parent 4814bf6 commit c3cbb6a
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.7 on 2023-06-16 12:19

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('data', '0017_alter_dataset_object_id'),
]

operations = [
migrations.AlterField(
model_name='dataset',
name='collection',
field=models.CharField(blank=True, help_text='file subcollection or subfolder', max_length=255, null=True, validators=[django.core.validators.RegexValidator('^[\\w./-]+$', 'Collections must only contain letters, numbers, hyphens, underscores and forward slashes.')]),
),
migrations.AlterField(
model_name='revision',
name='name',
field=models.CharField(blank=True, help_text='Long name', max_length=255, unique=True, validators=[django.core.validators.RegexValidator('^[\\w.-]+$', 'Revisions must only contain letters, numbers, hyphens, underscores and forward slashes.')]),
),
]

0 comments on commit c3cbb6a

Please sign in to comment.