Commit bea7b71f authored by Skia's avatar Skia
Browse files

Delete unwanted obsolete migration files

parent 4f67bf4c
Pipeline #140 failed with stage
in 1 minute and 35 seconds
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounting', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='operation',
name='mode',
field=models.CharField(verbose_name='payment method', max_length=255, choices=[('CHECK', 'Check'), ('CASH', 'Cash'), ('TRANSFERT', 'Transfert'), ('CARD', 'Credit card')]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('accounting', '0002_auto_20160814_1634'),
]
operations = [
migrations.CreateModel(
name='SimplifiedAccountingType',
fields=[
('id', models.AutoField(auto_created=True, verbose_name='ID', serialize=False, primary_key=True)),
('label', models.CharField(max_length=128, verbose_name='label')),
],
options={
'verbose_name': 'simplified type',
},
),
migrations.RemoveField(
model_name='operation',
name='label',
),
migrations.AddField(
model_name='operation',
name='linked_operation',
field=models.OneToOneField(to='accounting.Operation', default=None, null=True, blank=True, verbose_name='linked operation', related_name='operation_linked_to'),
),
migrations.AlterField(
model_name='accountingtype',
name='code',
field=models.CharField(max_length=16, verbose_name='code', validators=[django.core.validators.RegexValidator('^[0-9]*$', 'An accounting type code contains only numbers')]),
),
migrations.AlterField(
model_name='accountingtype',
name='label',
field=models.CharField(max_length=128, verbose_name='label'),
),
migrations.AlterField(
model_name='accountingtype',
name='movement_type',
field=models.CharField(max_length=12, verbose_name='movement type', choices=[('CREDIT', 'Credit'), ('DEBIT', 'Debit'), ('NEUTRAL', 'Neutral')]),
),
migrations.AlterField(
model_name='bankaccount',
name='club',
field=models.ForeignKey(related_name='bank_accounts', verbose_name='club', to='club.Club'),
),
migrations.AlterField(
model_name='clubaccount',
name='bank_account',
field=models.ForeignKey(related_name='club_accounts', verbose_name='bank account', to='accounting.BankAccount'),
),
migrations.AlterField(
model_name='clubaccount',
name='club',
field=models.ForeignKey(related_name='club_account', verbose_name='club', to='club.Club'),
),
migrations.AlterField(
model_name='generaljournal',
name='club_account',
field=models.ForeignKey(related_name='journals', verbose_name='club account', to='accounting.ClubAccount'),
),
migrations.AlterField(
model_name='generaljournal',
name='name',
field=models.CharField(max_length=40, verbose_name='name'),
),
migrations.AlterField(
model_name='operation',
name='accounting_type',
field=models.ForeignKey(related_name='operations', null=True, blank=True, verbose_name='accounting type', to='accounting.AccountingType'),
),
migrations.AlterField(
model_name='operation',
name='cheque_number',
field=models.CharField(verbose_name='cheque number', null=True, max_length=32, blank=True, default=''),
),
migrations.AlterField(
model_name='operation',
name='journal',
field=models.ForeignKey(related_name='operations', verbose_name='journal', to='accounting.GeneralJournal'),
),
migrations.AlterField(
model_name='operation',
name='remark',
field=models.CharField(max_length=128, verbose_name='comment'),
),
migrations.AddField(
model_name='simplifiedaccountingtype',
name='accounting_type',
field=models.ForeignKey(related_name='simplified_types', verbose_name='simplified accounting types', to='accounting.AccountingType'),
),
migrations.AddField(
model_name='operation',
name='simpleaccounting_type',
field=models.ForeignKey(related_name='operations', null=True, blank=True, verbose_name='simple type', to='accounting.SimplifiedAccountingType'),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounting', '0003_auto_20160824_1732'),
]
operations = [
migrations.AlterModelOptions(
name='accountingtype',
options={'ordering': ['movement_type', 'code'], 'verbose_name': 'accounting type'},
),
migrations.AlterModelOptions(
name='bankaccount',
options={'ordering': ['club', 'name'], 'verbose_name': 'Bank account'},
),
migrations.AlterModelOptions(
name='clubaccount',
options={'ordering': ['bank_account', 'name'], 'verbose_name': 'Club account'},
),
migrations.AlterModelOptions(
name='generaljournal',
options={'ordering': ['-start_date'], 'verbose_name': 'General journal'},
),
migrations.AlterModelOptions(
name='simplifiedaccountingtype',
options={'ordering': ['accounting_type__movement_type', 'accounting_type__code'], 'verbose_name': 'simplified type'},
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0002_user_home'),
('club', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='club',
name='home',
field=models.OneToOneField(blank=True, null=True, related_name='home_of_club', verbose_name='home', to='core.SithFile'),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('club', '0002_club_home'),
]
operations = [
migrations.AlterField(
model_name='club',
name='name',
field=models.CharField(verbose_name='name', max_length=64),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('club', '0003_auto_20160813_1448'),
]
operations = [
migrations.AlterField(
model_name='membership',
name='description',
field=models.CharField(verbose_name='description', blank=True, max_length=128),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='user',
name='home',
field=models.OneToOneField(null=True, verbose_name='home', to='core.SithFile', blank=True, related_name='home_of'),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0002_user_home'),
]
operations = [
migrations.AddField(
model_name='user',
name='avatar_pict',
field=models.OneToOneField(related_name='avatar_of', verbose_name='avatar', to='core.SithFile', null=True, blank=True),
),
migrations.AddField(
model_name='user',
name='profile_pict',
field=models.OneToOneField(related_name='profile_of', verbose_name='profile', to='core.SithFile', null=True, blank=True),
),
migrations.AddField(
model_name='user',
name='scrub_pict',
field=models.OneToOneField(related_name='scrub_of', verbose_name='scrub', to='core.SithFile', null=True, blank=True),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0003_auto_20160810_1949'),
]
operations = [
migrations.AlterField(
model_name='user',
name='nick_name',
field=models.CharField(verbose_name='nick name', max_length=30, blank=True),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import core.models
class Migration(migrations.Migration):
dependencies = [
('core', '0004_auto_20160811_0206'),
]
operations = [
migrations.AddField(
model_name='user',
name='department',
field=models.CharField(max_length=15, choices=[('TC', 'TC'), ('IMSI', 'IMSI'), ('IMAP', 'IMAP'), ('INFO', 'INFO'), ('GI', 'GI'), ('E', 'E'), ('EE', 'EE'), ('GESC', 'GESC'), ('GMC', 'GMC'), ('MC', 'MC'), ('EDIM', 'EDIM'), ('HUMAN', 'Humanities'), ('NA', 'N/A')], default='NA', verbose_name='department'),
),
migrations.AddField(
model_name='user',
name='dpt_option',
field=models.CharField(max_length=32, default='', verbose_name='dpt option'),
),
migrations.AddField(
model_name='user',
name='forum_signature',
field=models.TextField(max_length=256, default='', verbose_name='forum signature'),
),
migrations.AddField(
model_name='user',
name='promo',
field=models.IntegerField(blank=True, null=True, validators=[core.models.validate_promo], verbose_name='promo'),
),
migrations.AddField(
model_name='user',
name='quote',
field=models.CharField(max_length=64, default='', verbose_name='quote'),
),
migrations.AddField(
model_name='user',
name='role',
field=models.CharField(max_length=15, choices=[('STUDENT', 'Student'), ('ADMINISTRATIVE', 'Administrative agent'), ('TEACHER', 'Teacher'), ('AGENT', 'Agent'), ('DOCTOR', 'Doctor'), ('FORMER STUDENT', 'Former student'), ('SERVICE', 'Service')], default='STUDENT', verbose_name='role'),
),
migrations.AddField(
model_name='user',
name='school',
field=models.CharField(max_length=32, default='', verbose_name='school'),
),
migrations.AddField(
model_name='user',
name='semester',
field=models.CharField(max_length=5, default='', verbose_name='semester'),
),
migrations.AddField(
model_name='user',
name='sex',
field=models.CharField(max_length=10, choices=[('MAN', 'Man'), ('WOMAN', 'Woman')], default='MAN', verbose_name='sex'),
),
migrations.AddField(
model_name='user',
name='tshirt_size',
field=models.CharField(max_length=5, choices=[('-', '-'), ('XS', 'XS'), ('S', 'S'), ('M', 'M'), ('L', 'L'), ('XL', 'XL'), ('XXL', 'XXL'), ('XXXL', 'XXXL')], default='M', verbose_name='tshirt size'),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0005_auto_20160811_0319'),
]
operations = [
migrations.AlterField(
model_name='user',
name='dpt_option',
field=models.CharField(verbose_name='dpt option', null=True, max_length=32, blank=True),
),
migrations.AlterField(
model_name='user',
name='forum_signature',
field=models.TextField(verbose_name='forum signature', null=True, max_length=256, blank=True),
),
migrations.AlterField(
model_name='user',
name='quote',
field=models.CharField(verbose_name='quote', null=True, max_length=64, blank=True),
),
migrations.AlterField(
model_name='user',
name='school',
field=models.CharField(verbose_name='school', null=True, max_length=32, blank=True),
),
migrations.AlterField(
model_name='user',
name='semester',
field=models.CharField(verbose_name='semester', null=True, max_length=5, blank=True),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import phonenumber_field.modelfields
from django.utils.timezone import utc
import datetime
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0006_auto_20160811_0450'),
]
operations = [
migrations.AddField(
model_name='user',
name='address',
field=models.CharField(default='', verbose_name='address', max_length=128, blank=True),
),
migrations.AddField(
model_name='user',
name='last_update',
field=models.DateField(default=datetime.datetime(2016, 8, 13, 3, 22, 21, 699918, tzinfo=utc), verbose_name='last update', auto_now=True),
preserve_default=False,
),
migrations.AddField(
model_name='user',
name='parent_address',
field=models.CharField(default='', verbose_name='parent address', max_length=128, blank=True),
),
migrations.AddField(
model_name='user',
name='parent_phone',
field=phonenumber_field.modelfields.PhoneNumberField(blank=True, verbose_name='parent phone', max_length=128, null=True),
),
migrations.AddField(
model_name='user',
name='phone',
field=phonenumber_field.modelfields.PhoneNumberField(blank=True, verbose_name='phone', max_length=128, null=True),
),
migrations.AddField(
model_name='user',
name='second_email',
field=models.EmailField(blank=True, verbose_name='second email address', max_length=254, null=True),
),
migrations.AlterField(
model_name='user',
name='avatar_pict',
field=models.OneToOneField(verbose_name='avatar', on_delete=django.db.models.deletion.SET_NULL, related_name='avatar_of', blank=True, to='core.SithFile', null=True),
),
migrations.AlterField(
model_name='user',
name='department',
field=models.CharField(default='NA', verbose_name='department', max_length=15, choices=[('TC', 'TC'), ('IMSI', 'IMSI'), ('IMAP', 'IMAP'), ('INFO', 'INFO'), ('GI', 'GI'), ('E', 'E'), ('EE', 'EE'), ('GESC', 'GESC'), ('GMC', 'GMC'), ('MC', 'MC'), ('EDIM', 'EDIM'), ('HUMA', 'Humanities'), ('NA', 'N/A')], blank=True),
),
migrations.AlterField(
model_name='user',
name='dpt_option',
field=models.CharField(default='', verbose_name='dpt option', max_length=32, blank=True),
),
migrations.AlterField(
model_name='user',
name='first_name',
field=models.CharField(verbose_name='first name', max_length=64),
),
migrations.AlterField(
model_name='user',
name='forum_signature',
field=models.TextField(default='', verbose_name='forum signature', max_length=256, blank=True),
),
migrations.AlterField(
model_name='user',
name='last_name',
field=models.CharField(verbose_name='last name', max_length=64),
),
migrations.AlterField(
model_name='user',
name='nick_name',
field=models.CharField(blank=True, verbose_name='nick name', max_length=64, null=True),
),
migrations.AlterField(
model_name='user',
name='profile_pict',
field=models.OneToOneField(verbose_name='profile', on_delete=django.db.models.deletion.SET_NULL, related_name='profile_of', blank=True, to='core.SithFile', null=True),
),
migrations.AlterField(
model_name='user',
name='quote',
field=models.CharField(default='', verbose_name='quote', max_length=256, blank=True),
),
migrations.AlterField(
model_name='user',
name='role',
field=models.CharField(default='', verbose_name='role', max_length=15, choices=[('STUDENT', 'Student'), ('ADMINISTRATIVE', 'Administrative agent'), ('TEACHER', 'Teacher'), ('AGENT', 'Agent'), ('DOCTOR', 'Doctor'), ('FORMER STUDENT', 'Former student'), ('SERVICE', 'Service')], blank=True),
),
migrations.AlterField(
model_name='user',
name='school',
field=models.CharField(default='', verbose_name='school', max_length=80, blank=True),
),
migrations.AlterField(
model_name='user',
name='scrub_pict',
field=models.OneToOneField(verbose_name='scrub', on_delete=django.db.models.deletion.SET_NULL, related_name='scrub_of', blank=True, to='core.SithFile', null=True),
),
migrations.AlterField(
model_name='user',
name='semester',
field=models.CharField(default='', verbose_name='semester', max_length=5, blank=True),
),
migrations.AlterField(
model_name='user',
name='tshirt_size',
field=models.CharField(default='-', verbose_name='tshirt size', max_length=5, choices=[('-', '-'), ('XS', 'XS'), ('S', 'S'), ('M', 'M'), ('L', 'L'), ('XL', 'XL'), ('XXL', 'XXL'), ('XXXL', 'XXXL')]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0007_auto_20160813_0522'),
]
operations = [
migrations.AddField(
model_name='user',
name='is_subscriber_viewable',
field=models.BooleanField(default=True, verbose_name='is subscriber viewable'),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('counter', '0001_initial'),
('core', '0001_initial'),
('subscription', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='counter',
name='sellers',
field=models.ManyToManyField(verbose_name='sellers', to='subscription.Subscriber', related_name='counters', blank=True),
),
migrations.AddField(
model_name='counter',
name='view_groups',
field=models.ManyToManyField(to='core.Group', related_name='viewable_counters', blank=True),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('counter', '0002_auto_20160810_1348'),
]
operations = [
migrations.AlterField(