add location migrate
This commit is contained in:
22
rog/migrations/0008_add_status_field.py
Normal file
22
rog/migrations/0008_add_status_field.py
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated manually to add status field to NewEvent2
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('rog', '0007_auto_20250829_1836'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='newevent2',
|
||||
name='status',
|
||||
field=models.CharField(
|
||||
choices=[('public', 'Public'), ('private', 'Private'), ('draft', 'Draft'), ('closed', 'Closed')],
|
||||
default='draft',
|
||||
help_text='イベントステータス',
|
||||
max_length=20
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user