aboutsummaryrefslogtreecommitdiffstats
path: root/client/migrations/0011_keys.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-06-20 00:28:16 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-06-20 00:28:16 +0200
commitffb9b4111a891fda9e9e1ddf19de936bdbd664f8 (patch)
treecbd563acbfb97d2cad4f7da425de412aad00e5dd /client/migrations/0011_keys.py
parentMore data for users (diff)
downloadscout-subs-ffb9b4111a891fda9e9e1ddf19de936bdbd664f8.tar.gz
scout-subs-ffb9b4111a891fda9e9e1ddf19de936bdbd664f8.zip
Document support
Diffstat (limited to '')
-rw-r--r--client/migrations/0011_keys.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/client/migrations/0011_keys.py b/client/migrations/0011_keys.py
new file mode 100644
index 0000000..8739908
--- /dev/null
+++ b/client/migrations/0011_keys.py
@@ -0,0 +1,22 @@
+# Generated by Django 3.0.7 on 2020-06-19 20:36
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0010_documenttype_enabled'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Keys',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('key', models.CharField(db_index=True, max_length=240)),
+ ('container', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.DocumentType')),
+ ],
+ ),
+ ]