summaryrefslogtreecommitdiff
path: root/website/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'website/migrations')
-rw-r--r--website/migrations/0005_uploadmodel.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/website/migrations/0005_uploadmodel.py b/website/migrations/0005_uploadmodel.py
new file mode 100644
index 0000000..a357f95
--- /dev/null
+++ b/website/migrations/0005_uploadmodel.py
@@ -0,0 +1,22 @@
+# Generated by Django 2.1 on 2018-10-31 05:40
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0004_auto_20181012_0951'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='UploadModel',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('model_file', models.FileField(upload_to='uploads/')),
+ ('question', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='website.Question')),
+ ],
+ ),
+ ]