Skip to content

Commit

Permalink
Squash migrations for "api", "analytics", and "zarr" apps
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Dec 8, 2023
1 parent a1d22a7 commit f81555b
Show file tree
Hide file tree
Showing 6 changed files with 1,242 additions and 0 deletions.
48 changes: 48 additions & 0 deletions dandiapi/analytics/migrations/0001_initial_v2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):
replaces = [
('analytics', '0001_initial'),
('analytics', '0002_alter_processeds3log_unique_together_and_more'),
]

initial = True

dependencies = []

operations = [
migrations.CreateModel(
name='ProcessedS3Log',
fields=[
(
'id',
models.BigAutoField(
auto_created=True, primary_key=True, serialize=False, verbose_name='ID'
),
),
(
'name',
models.CharField(
max_length=36,
validators=[
django.core.validators.RegexValidator(
'^\\d{4}-(\\d{2}-){5}[A-F0-9]{16}$'
)
],
),
),
('embargoed', models.BooleanField()),
],
options={
'unique_together': set(),
},
),
migrations.AddConstraint(
model_name='processeds3log',
constraint=models.UniqueConstraint(
fields=('name', 'embargoed'), name='analytics_processeds3log_unique_name_embargoed'
),
),
]
Loading

0 comments on commit f81555b

Please sign in to comment.