mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 09:11:08 -05:00
56 lines
2.4 KiB
Python
56 lines
2.4 KiB
Python
# Generated by Django 5.1.4 on 2025-02-09 15:31
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("companies", "0002_add_designer_model"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="CompanyEvent",
|
|
fields=[
|
|
("pgh_id", models.AutoField(primary_key=True, serialize=False)),
|
|
("pgh_created_at", models.DateTimeField(auto_now_add=True)),
|
|
("pgh_label", models.TextField(help_text="The event label.")),
|
|
("id", models.BigIntegerField()),
|
|
("name", models.CharField(max_length=255)),
|
|
("slug", models.SlugField(db_index=False, max_length=255)),
|
|
("website", models.URLField(blank=True)),
|
|
("headquarters", models.CharField(blank=True, max_length=255)),
|
|
("description", models.TextField(blank=True)),
|
|
("total_parks", models.IntegerField(default=0)),
|
|
("total_rides", models.IntegerField(default=0)),
|
|
("created_at", models.DateTimeField(auto_now_add=True)),
|
|
("updated_at", models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
"abstract": False,
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name="ManufacturerEvent",
|
|
fields=[
|
|
("pgh_id", models.AutoField(primary_key=True, serialize=False)),
|
|
("pgh_created_at", models.DateTimeField(auto_now_add=True)),
|
|
("pgh_label", models.TextField(help_text="The event label.")),
|
|
("id", models.BigIntegerField()),
|
|
("name", models.CharField(max_length=255)),
|
|
("slug", models.SlugField(db_index=False, max_length=255)),
|
|
("website", models.URLField(blank=True)),
|
|
("headquarters", models.CharField(blank=True, max_length=255)),
|
|
("description", models.TextField(blank=True)),
|
|
("total_rides", models.IntegerField(default=0)),
|
|
("total_roller_coasters", models.IntegerField(default=0)),
|
|
("created_at", models.DateTimeField(auto_now_add=True)),
|
|
("updated_at", models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
"abstract": False,
|
|
},
|
|
),
|
|
]
|