shrinkinminkin/web/migrations/0002_linktree_show_sitesection.py
2026-03-30 22:15:55 -04:00

58 lines
2.3 KiB
Python

# Generated by Django 6.0.1 on 2026-03-31 01:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('web', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='LinkTree',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True, null=True)),
('updated_at', models.DateTimeField(auto_now=True, null=True)),
('active', models.BooleanField(default=True)),
('name', models.CharField(max_length=254)),
('url', models.TextField()),
('order', models.IntegerField()),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='Show',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True, null=True)),
('updated_at', models.DateTimeField(auto_now=True, null=True)),
('active', models.BooleanField(default=True)),
('name', models.CharField(max_length=254)),
('description', models.TextField()),
('location', models.CharField(max_length=254)),
('date', models.DateTimeField(auto_now_add=True, null=True)),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='SiteSection',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True, null=True)),
('updated_at', models.DateTimeField(auto_now=True, null=True)),
('active', models.BooleanField(default=True)),
('section', models.CharField(max_length=254)),
('content', models.TextField()),
],
options={
'abstract': False,
},
),
]