You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
konova/ema/migrations/0001_initial.py

43 lines
1.5 KiB
Python

# Generated by Django 3.1.3 on 2022-01-14 08:36
from django.db import migrations, models
import konova.models.document
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Ema',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('identifier', models.CharField(blank=True, max_length=1000, null=True)),
('title', models.CharField(blank=True, max_length=1000, null=True)),
('comment', models.TextField(blank=True, null=True)),
('access_token', models.CharField(blank=True, help_text='Used for sharing access', max_length=255, null=True)),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='EmaDocument',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('title', models.CharField(blank=True, max_length=500, null=True)),
('date_of_creation', models.DateField()),
('comment', models.TextField()),
('file', models.FileField(max_length=1000, upload_to=konova.models.document.generate_document_file_upload_path)),
],
options={
'abstract': False,
},
),
]