26 lines
878 B
Python
26 lines
878 B
Python
# Generated by Django 2.0.6 on 2018-08-23 10:14
|
|
|
|
from django.conf import settings
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('user', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='UserGroup',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=100)),
|
|
('year', models.PositiveIntegerField(validators=[django.core.validators.MinValueValidator(1900), django.core.validators.MaxValueValidator(2200)])),
|
|
('is_deleted', models.BooleanField(default=False)),
|
|
('users', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|