class Migration(migrations.Migration): dependencies = [ ('cases', '0004_auto_20170920_2120'), ] operations = [ migrations.AddField( model_name='case', name='image', field=models.ImageField(default='eeee.jpg', upload_to='', verbose_name='Image'), preserve_default=False, ), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0003_auto_20170920_2118'), ] operations = [ migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='body', field=models.TextField(), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0009_auto_20171007_0150'), ] operations = [ BtreeGinExtension(), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AddIndex( model_name='case', index=django.contrib.postgres.indexes.GinIndex( fields=['title'], name='cases_case_title_81b6f9_gin'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0010_auto_20171010_1923'), ] operations = [ migrations.AddField( model_name='case', name='description', field=models.TextField(blank=True, verbose_name='Описание'), ), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0006_auto_20171006_2140'), ] operations = [ migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterUniqueTogether( name='userstage', unique_together=set([]), ), migrations.RemoveField( model_name='userstage', name='case', ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Case', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title')), ], ), migrations.CreateModel( name='Stage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title')), ('body', fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Body')), ('case', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cases.Case', verbose_name='Case')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0001_initial'), ] operations = [ migrations.AddField( model_name='stage', name='step_number', field=models.PositiveSmallIntegerField(default=1), preserve_default=False, ), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='body', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Body'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0002_auto_20170920_2117'), ] operations = [ migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='body', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Body'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterUniqueTogether( name='stage', unique_together=set([('case', 'step_number')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('cases', '0007_auto_20171006_2142'), ] operations = [ migrations.RemoveField( model_name='userstage', name='stage', ), migrations.RemoveField( model_name='userstage', name='user', ), migrations.RemoveField( model_name='stage', name='users', ), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.DeleteModel(name='UserStage', ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('cases', '0005_auto_20170924_1859'), ] operations = [ migrations.CreateModel( name='UserStage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ], options={ 'verbose_name': 'User-Stage', }, ), migrations.AlterField( model_name='case', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AlterField( model_name='stage', name='title', field=fields.MaxCharField( help_text= 'Не более 255 символов<br/>Не более 255 символов<br/>Не более 255 символов', max_length=255, verbose_name='Title'), ), migrations.AddField( model_name='userstage', name='case', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='cases.Case'), ), migrations.AddField( model_name='userstage', name='stage', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='cases.Stage'), ), migrations.AddField( model_name='userstage', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='stage', name='users', field=models.ManyToManyField(through='cases.UserStage', to=settings.AUTH_USER_MODEL, verbose_name='Users on that stage'), ), migrations.AlterUniqueTogether( name='userstage', unique_together=set([('user', 'case')]), ), ]