Skip to content

Commit

Permalink
Add migration for current changes
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Aug 11, 2023
1 parent 6e591d4 commit 716ec5a
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 0 deletions.
105 changes: 105 additions & 0 deletions src/dashboard/src/fpr/migrations/0038_use_uuidfield.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Generated by Django 1.11.29 on 2023-08-11 16:29
import uuid

import main.models
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("fpr", "0037_update_idtools"),
]

operations = [
migrations.AlterField(
model_name="format",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="formatgroup",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="formatversion",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="fpcommand",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="fprule",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="fptool",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="idcommand",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="idrule",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
migrations.AlterField(
model_name="idtool",
name="uuid",
field=main.models.UUIDField(
default=uuid.uuid4,
editable=False,
help_text="Unique identifier",
unique=True,
),
),
]
81 changes: 81 additions & 0 deletions src/dashboard/src/main/migrations/0082_use_uuidfield.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Generated by Django 1.11.29 on 2023-08-11 16:29
import uuid

import main.models
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("main", "0081_package_status"),
]

operations = [
migrations.AlterField(
model_name="job",
name="jobuuid",
field=main.models.UUIDField(
db_column="jobUUID",
default=uuid.uuid4,
primary_key=True,
serialize=False,
),
),
migrations.AlterField(
model_name="levelofdescription",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="metadataappliestotype",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="taxonomy",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="taxonomyterm",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="transfermetadatafield",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="transfermetadatafieldvalue",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="transfermetadataset",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name="unitvariable",
name="id",
field=main.models.UUIDField(
db_column="pk", default=uuid.uuid4, primary_key=True, serialize=False
),
),
]

0 comments on commit 716ec5a

Please sign in to comment.