分支机构的项目管理,基于Django
This commit is contained in:
24
fzjgact/huodong/migrations/0005_event.py
Normal file
24
fzjgact/huodong/migrations/0005_event.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 5.0.6 on 2024-07-30 08:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('huodong', '0004_alter_activity_scope'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Event',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=255)),
|
||||
('start_time', models.DateTimeField()),
|
||||
('end_time', models.DateTimeField(blank=True, null=True)),
|
||||
('description', models.TextField()),
|
||||
('branches', models.ManyToManyField(to='huodong.branch')),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user