summaryrefslogtreecommitdiffstats
path: root/mellon/migrations/0002_authenticationlevel.py
blob: 08a1393341d295793476e95940b1ebf966c67237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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')),
            ],
        ),
    ]