changes
This commit is contained in:
28
app/migrations/0362_gift.py
Normal file
28
app/migrations/0362_gift.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 5.1.7 on 2026-01-23 03:09
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0361_remove_transaction_customer_new_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Gift',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('code', models.CharField(max_length=30, unique=True)),
|
||||
('name', models.CharField(max_length=100)),
|
||||
('detail', models.TextField(null=True)),
|
||||
('index', models.IntegerField(default=1, null=True)),
|
||||
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
|
||||
('update_time', models.DateTimeField(auto_now=True, null=True)),
|
||||
],
|
||||
options={
|
||||
'db_table': 'gift',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user