Files
along_django/peizhi/migrations/0023_user_wechat_mch_bind.py

31 lines
1.3 KiB
Python

# Generated manually: UserWechatMchBind
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('peizhi', '0022_wechat_pay_mch_config'),
]
operations = [
migrations.CreateModel(
name='UserWechatMchBind',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('yonghuid', models.CharField(db_index=True, max_length=32, unique=True, verbose_name='用户ID')),
('mch_id', models.CharField(db_index=True, max_length=32, verbose_name='绑定商户号')),
('enabled', models.BooleanField(db_index=True, default=True, verbose_name='是否启用')),
('remark', models.CharField(blank=True, default='', max_length=200, verbose_name='备注')),
('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
],
options={
'verbose_name': '用户转账商户绑定',
'verbose_name_plural': '用户转账商户绑定',
'db_table': 'user_wechat_mch_bind',
},
),
]