changes
This commit is contained in:
27
app/migrations/0356_discount_method.py
Normal file
27
app/migrations/0356_discount_method.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.1.7 on 2026-01-15 03:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0355_group_rights_is_edit_product_price_excluding_vat'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Discount_Method',
|
||||
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)),
|
||||
('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': 'discount_method',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user