first commit
This commit is contained in:
26
events/migrations/0025_calendars_organization_calendars.py
Normal file
26
events/migrations/0025_calendars_organization_calendars.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 5.1.1 on 2025-10-05 07:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('events', '0024_tags_event_tags_organization_tags_promo_tags'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Calendars',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=31, unique=True)),
|
||||
('desc', models.TextField(blank=True, null=True)),
|
||||
],
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='organization',
|
||||
name='calendars',
|
||||
field=models.ManyToManyField(blank=True, null=True, to='events.calendars'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user