forked from erp-dev/erp
feat: added mdy_product_sync new task for merchant_id isolated
This commit is contained in:
25
api_v1/migrations/0012_datasync_merchant.py
Normal file
25
api_v1/migrations/0012_datasync_merchant.py
Normal file
@@ -0,0 +1,25 @@
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0024_frontend_page_and_visible_pages'),
|
||||
('api_v1', '0011_alter_datasync_table_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='datasync',
|
||||
name='merchant',
|
||||
field=models.ForeignKey(
|
||||
blank=True,
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
related_name='data_sync_records',
|
||||
to='basic_info.merchant',
|
||||
verbose_name='所属商户',
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user