36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
# Generated by Django 5.1.7 on 2025-08-11 01:21
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('app', '0223_loan_rights'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Accountctv_Setting',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('category', models.CharField(max_length=100)),
|
|
('classify', models.CharField(max_length=100)),
|
|
('code', models.CharField(max_length=100)),
|
|
('vi', models.TextField()),
|
|
('en', models.TextField(null=True)),
|
|
('image', models.TextField(null=True)),
|
|
('icon', models.TextField(null=True)),
|
|
('link', models.TextField(null=True)),
|
|
('detail', models.JSONField(null=True)),
|
|
('detail_en', models.JSONField(null=True)),
|
|
('index', models.IntegerField(default=0, null=True)),
|
|
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
|
|
],
|
|
options={
|
|
'db_table': 'accountctv_setting',
|
|
'unique_together': {('category', 'classify', 'code')},
|
|
},
|
|
),
|
|
]
|