1234567891011121314151617181920212223242526272829303132333435363738 |
- # Generated by Django 3.2.7 on 2021-09-11 06:39
- from django.db import migrations, models
- import uuid
- class Migration(migrations.Migration):
- dependencies = [
- ('file', '0005_rename_folder_file_father_folder'),
- ]
- operations = [
- migrations.RemoveField(
- model_name='file',
- name='file_size',
- ),
- migrations.RemoveField(
- model_name='file',
- name='update_time',
- ),
- migrations.AddField(
- model_name='file',
- name='key',
- field=models.CharField(default=123456, max_length=1024),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='file',
- name='upload_time',
- field=models.DateTimeField(auto_now=True),
- ),
- migrations.AlterField(
- model_name='file',
- name='file_id',
- field=models.UUIDField(auto_created=True, default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
- ),
- ]
|