0001_initial.py
1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Generated by Django 2.2.13 on 2020-06-16 18:40
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='File',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(default='', max_length=50, null=True)),
('isFolder', models.BooleanField()),
('path', models.TextField()),
('owner', models.CharField(default='', max_length=30, null=True)),
('filesize', models.CharField(max_length=10)),
('createdDate', models.DateTimeField(default=django.utils.timezone.now)),
('modifiedDate', models.CharField(blank=True, max_length=10, null=True)),
('share', models.BooleanField(default=False)),
('cid', models.IntegerField(default=0)),
('version', models.IntegerField()),
('thumbnail', models.CharField(default='', max_length=1000, null=True)),
('zipurl', models.CharField(default='', max_length=1000, null=True)),
],
options={
'ordering': ['createdDate'],
},
),
migrations.CreateModel(
name='MyModelAdmin',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
],
),
]