27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('config', '0006_display_club_id'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PlatformIncomeLog',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('biz_ref', models.CharField(db_index=True, max_length=64, unique=True, verbose_name='业务单号')),
|
|
('club_id', models.CharField(db_index=True, default='xq', max_length=16, verbose_name='俱乐部ID')),
|
|
('amount', models.DecimalField(decimal_places=2, max_digits=12, verbose_name='入账金额')),
|
|
('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
|
|
],
|
|
options={
|
|
'verbose_name': '平台入账幂等日志',
|
|
'verbose_name_plural': '平台入账幂等日志',
|
|
'db_table': 'platform_income_log',
|
|
},
|
|
),
|
|
]
|