created and applied initial migrations based on changes made in the Department...

created and applied initial migrations based on changes made in the Department and WidgetUser models
parent ba57a108
# Generated by Django 4.1.7 on 2023-03-05 04:52
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Department",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("dept_name", models.CharField(max_length=100)),
("home_unit", models.CharField(max_length=100)),
],
),
migrations.CreateModel(
name="WidgetUser",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("first_name", models.CharField(max_length=50)),
("middle_name", models.CharField(max_length=50)),
("last_name", models.CharField(max_length=50)),
("department", models.CharField(max_length=50)),
],
),
]
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