0002 employee
Generated by Django 5.1.2 on 2024-10-18 19:54
In [1]:
Copied!
from django.db import migrations, models
from django.db import migrations, models
In [2]:
Copied!
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Employee',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('role', models.CharField(max_length=100)),
('department', models.CharField(max_length=100)),
],
),
]
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Employee',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('role', models.CharField(max_length=100)),
('department', models.CharField(max_length=100)),
],
),
]