42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
# Generated by Django 2.2.5 on 2019-11-02 19:25
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('patt', '0008_remove_viewsetting_displaytype'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PattProfile',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='project',
|
|
name='days_highlight',
|
|
field=models.IntegerField(choices=[(0, 'Off'), (1, 1), (2, 2), (3, 3), (5, 5), (7, 7), (10, 10), (14, 14)], default=7),
|
|
),
|
|
migrations.AddField(
|
|
model_name='project',
|
|
name='days_warn',
|
|
field=models.IntegerField(choices=[(0, 'Off'), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (7, 7), (9, 9)], default=3),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='viewsetting',
|
|
name='profile',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='patt.PattProfile'),
|
|
),
|
|
migrations.DeleteModel(
|
|
name='UserProfile',
|
|
),
|
|
]
|