summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/migrations/0117_migrate_created.py
blob: 0c9962a595d70774ec22ace1b43d127a95e55221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Generated by Django 2.2.24 on 2023-01-30 17:20

from django.db import migrations
from ishtar_common.utils_migrations import migrate_created_field


def migrate_created(apps, __):
    app_name = "archaeological_warehouse"
    model_names = [
        "Warehouse",
        "Container",
    ]
    migrate_created_field(apps, app_name, model_names)


class Migration(migrations.Migration):

    dependencies = [
        ('archaeological_warehouse', '0116_auto_20230130_1605'),
    ]

    operations = [
        migrations.RunPython(migrate_created)
    ]