mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-17 06:39:26 +08:00
25 lines
709 B
Python
25 lines
709 B
Python
|
# Generated by Django 4.1.7 on 2023-03-05 13:54
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.utils.timezone
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Product',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('name', models.CharField(max_length=20)),
|
||
|
('quantity', models.IntegerField(default=0)),
|
||
|
('date_added', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
|
||
|
],
|
||
|
),
|
||
|
]
|