Created migrations and migrated for the announcements

parent fa1ee550
# Generated by Django 4.0.3 on 2022-03-18 15:12
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Announcement',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('announcement_title', models.CharField(max_length=100)),
('announcement_body', models.CharField(max_length=400)),
('pub_date', models.DateField(auto_now_add=True)),
],
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment