forked from Minecraft/minecraft_manager
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
|
# Generated by Django 2.2.3 on 2021-02-06 21:40
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import minecraft_manager.models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('minecraft_manager', '0014_auto_20190930_1103'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Attachment',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('ref_model', models.CharField(choices=[('T', 'Ticket Note'), ('N', 'Note')], max_length=1)),
|
||
|
('ref_id', models.IntegerField()),
|
||
|
('file', models.FileField(upload_to=minecraft_manager.models._attachment_upload_to)),
|
||
|
('created', models.DateTimeField(auto_now_add=True)),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='application',
|
||
|
name='reference',
|
||
|
field=models.CharField(blank=True, max_length=50, null=True, verbose_name='How did you find out about our server?'),
|
||
|
),
|
||
|
]
|