mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
28 lines
937 B
Python
28 lines
937 B
Python
# Generated by Django 4.1.13 on 2024-04-22 19:31
|
|
|
|
from django.db import migrations, models
|
|
import uuid
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('dataset', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Image',
|
|
fields=[
|
|
('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
|
|
('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')),
|
|
('id', models.UUIDField(default=uuid.uuid1, editable=False, primary_key=True, serialize=False, verbose_name='主键id')),
|
|
('image', models.BinaryField(verbose_name='图片数据')),
|
|
('image_name', models.CharField(default='', max_length=256, verbose_name='图片名称')),
|
|
],
|
|
options={
|
|
'db_table': 'image',
|
|
},
|
|
),
|
|
]
|