summaryrefslogtreecommitdiffstats
path: root/mellon/migrations/0002_authenticationlevel.py
diff options
context:
space:
mode:
Diffstat (limited to 'mellon/migrations/0002_authenticationlevel.py')
-rw-r--r--mellon/migrations/0002_authenticationlevel.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/mellon/migrations/0002_authenticationlevel.py b/mellon/migrations/0002_authenticationlevel.py
new file mode 100644
index 0000000..08a1393
--- /dev/null
+++ b/mellon/migrations/0002_authenticationlevel.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.18 on 2019-03-28 16:52
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('mellon', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='AuthenticationLevel',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('value', models.PositiveSmallIntegerField(default=1)),
+ ('group', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='auth_level', to='auth.Group')),
+ ],
+ ),
+ ]