Пример #1
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Country',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
            ],
            options={
                'verbose_name_plural': 'Countries',
            },
            bases=(app1.models.StrNameMixin, models.Model),
        ),
        migrations.CreateModel(
            name='Region',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app1.Country')),
            ],
            bases=(app1.models.StrNameMixin, models.Model),
        ),
    ]
Пример #2
0
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('app1', '0002_auto_20190427_2146'),
    ]

    operations = [
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('title', models.CharField(max_length=200)),
                ('description', models.TextField()),
                ('image',
                 models.ImageField(blank=True,
                                   null=True,
                                   upload_to=app1.models.article_images)),
                ('user',
                 models.ForeignKey(
                     null=True,
                     on_delete=django.db.models.deletion.SET_NULL,
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('app1', '0003_auto_20200721_1612'),
    ]

    operations = [
        migrations.CreateModel(
            name='D',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('meh', models.CharField(default=faker.providers.python.Provider.pystr, max_length=250)),
            ],
        ),
        migrations.AlterField(
            model_name='a',
            name='bla',
            field=models.CharField(default=faker.providers.python.Provider.pystr, max_length=250),
        ),
        migrations.AlterField(
            model_name='b',
            name='x',
            field=models.IntegerField(default=faker.providers.python.Provider.pyint),
        ),
        migrations.AlterField(
            model_name='c',
            name='title',
            field=models.CharField(default=faker.providers.python.Provider.pystr, max_length=250),
        ),
        migrations.AddField(
            model_name='c',
            name='d',
            field=models.ForeignKey(default=app1.models.new_d, on_delete=django.db.models.deletion.CASCADE, to='app1.D'),
        ),
    ]
Пример #4
0
class Migration(migrations.Migration):

    dependencies = [
        ('app1', '0005_auto_20160630_1721'),
    ]

    operations = [
        migrations.CreateModel(
            name='RewardPack',
            fields=[
                ('idPack', models.AutoField(primary_key=True, serialize=False)),
                ('packType', models.IntegerField(default=0)),
                ('unlockStartTime', models.IntegerField(default=-1)),
                ('packLeagueLevel', models.IntegerField(default=0)),
            ],
        ),
        migrations.RenameField(
            model_name='cardtype',
            old_name='name',
            new_name='cardName',
        ),
        migrations.AddField(
            model_name='cardtype',
            name='cardLeagueLevel',
            field=models.SmallIntegerField(default=0),
        ),
        migrations.AddField(
            model_name='cardtype',
            name='cardRarity',
            field=models.SmallIntegerField(choices=[(0, 'Common'), (1, 'Rare'), (2, 'Epic')], default=0),
        ),
        migrations.AddField(
            model_name='user',
            name='kingHP',
            field=models.SmallIntegerField(default=200),
        ),
        migrations.AddField(
            model_name='user',
            name='leagueLevel',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='user',
            name='packCount',
            field=models.SmallIntegerField(default=0),
        ),
        migrations.AddField(
            model_name='user',
            name='packCycle',
            field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(), default=app1.models.default_pack_cycle, size=6),
        ),
        migrations.AddField(
            model_name='rewardpack',
            name='packUser',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='rewardPacks', to='app1.User'),
        ),
    ]
Пример #5
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='Division',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('title', models.CharField(max_length=10, unique=True)),
                ('views', models.IntegerField(default=0)),
                ('slug', models.SlugField()),
            ],
        ),
        migrations.CreateModel(
            name='Page',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=10, unique=True)),
                ('views', models.IntegerField(default=0)),
                ('slug', models.SlugField()),
                ('likes', models.IntegerField(default=0)),
                ('images',
                 models.ImageField(blank=True,
                                   null=True,
                                   upload_to=app1.models.desti)),
                ('division',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='app1.Division')),
            ],
        ),
    ]
Пример #6
0
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('app1', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Reader',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name',
                 models.CharField(max_length=16,
                                  unique=True,
                                  verbose_name='姓名')),
                ('phone', models.IntegerField(unique=True, verbose_name='电话')),
                ('max_borrowing',
                 models.IntegerField(default=5, verbose_name='可借数量')),
                ('balance', models.FloatField(default=0.0, verbose_name='余额')),
                ('photo',
                 models.ImageField(blank=True,
                                   upload_to=app1.models.custom_path,
                                   verbose_name='头像')),
                ('status',
                 models.IntegerField(choices=[(0, 'normal'), (-1, 'overdue')],
                                     default=0)),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     to=settings.AUTH_USER_MODEL,
                     verbose_name='读者')),
            ],
            options={
                'verbose_name': '读者',
                'verbose_name_plural': '读者',
            },
        ),
    ]
Пример #7
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0011_update_proxy_permissions'),
    ]

    operations = [
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('description', models.TextField()),
                ('price', models.DecimalField(decimal_places=2, max_digits=6)),
                ('location', models.CharField(max_length=32)),
                ('slug', models.SlugField(max_length=48)),
                ('active', models.BooleanField(default=True)),
                ('available', models.BooleanField(default=True)),
                ('date_updated', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='ProductTag',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('slug', models.SlugField(max_length=48)),
                ('description', models.TextField(blank=True)),
                ('active', models.BooleanField(default=True)),
            ],
        ),
        migrations.CreateModel(
            name='ProductImage',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('image', models.ImageField(upload_to='product-images')),
                ('thumbnail',
                 models.ImageField(null=True, upload_to='product-thumbnails')),
                ('product',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='app1.Product')),
            ],
        ),
        migrations.AddField(
            model_name='product',
            name='tags',
            field=models.ManyToManyField(blank=True, to='app1.ProductTag'),
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('password',
                 models.CharField(max_length=128, verbose_name='password')),
                ('last_login',
                 models.DateTimeField(blank=True,
                                      null=True,
                                      verbose_name='last login')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('first_name',
                 models.CharField(blank=True,
                                  max_length=30,
                                  verbose_name='first name')),
                ('last_name',
                 models.CharField(blank=True,
                                  max_length=150,
                                  verbose_name='last name')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates whether the user can log into this admin site.',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text=
                     'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.',
                     verbose_name='active')),
                ('date_joined',
                 models.DateTimeField(default=django.utils.timezone.now,
                                      verbose_name='date joined')),
                ('email',
                 models.EmailField(max_length=254,
                                   unique=True,
                                   verbose_name='email address')),
                ('groups',
                 models.ManyToManyField(
                     blank=True,
                     help_text=
                     'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Group',
                     verbose_name='groups')),
                ('user_permissions',
                 models.ManyToManyField(
                     blank=True,
                     help_text='Specific permissions for this user.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Permission',
                     verbose_name='user permissions')),
            ],
            options={
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
                'abstract': False,
            },
            managers=[
                ('objects', app1.models.UserManager()),
            ],
        ),
    ]
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('app1', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Card',
            fields=[
                ('idCard', models.AutoField(primary_key=True, serialize=False)),
                ('cardLevel', models.SmallIntegerField(default=1)),
                ('cardCount', models.SmallIntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='CardType',
            fields=[
                ('idCardType', models.AutoField(primary_key=True, serialize=False)),
                ('Cardid', models.IntegerField(db_index=True, null=True, unique=True)),
                ('name', models.CharField(max_length=40)),
            ],
        ),
        migrations.CreateModel(
            name='Clan',
            fields=[
                ('idClan', models.AutoField(primary_key=True, serialize=False)),
                ('clanName', models.CharField(max_length=30)),
                ('clanDescription', models.TextField(blank=True, max_length=140, null=True)),
                ('clanTag', models.CharField(blank=True, db_index=True, max_length=10, null=True, unique=True)),
                ('clanLocation', models.CharField(blank=True, max_length=30, null=True)),
                ('clanType', models.IntegerField(default=0)),
                ('clanMinimumTrophies', models.IntegerField(default=0)),
                ('clanScore', models.IntegerField(default=0)),
                ('totalDonation', models.IntegerField(default=0)),
                ('clanBadge', models.IntegerField(blank=True, default=0, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('idUser', models.AutoField(primary_key=True, serialize=False)),
                ('deviceID', models.CharField(blank=True, max_length=200, null=True)),
                ('username', models.CharField(blank=True, default='', max_length=40)),
                ('trophiesCount', models.IntegerField(default=0)),
                ('winCount', models.IntegerField(default=0)),
                ('loseCount', models.IntegerField(default=0)),
                ('deck1', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(), blank=True, default=app1.models.default_deck_gen, null=True, size=8)),
                ('xp', models.IntegerField(default=0)),
                ('level', models.IntegerField(default=0)),
                ('totalDonations', models.IntegerField(default=0)),
                ('gem', models.IntegerField(default=0)),
                ('gold', models.IntegerField(default=0)),
                ('basicUser', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='UserClanData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('position', models.IntegerField(choices=[(0, 'Member'), (1, 'Leader')], default=0)),
                ('donate_count', models.IntegerField(default=0)),
                ('lastRequestTime', models.IntegerField(default=0)),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='clanData',
            field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app1.UserClanData'),
        ),
        migrations.AddField(
            model_name='user',
            name='userCards',
            field=models.ManyToManyField(through='app1.Card', to='app1.CardType'),
        ),
        migrations.AddField(
            model_name='user',
            name='userClan',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='users', to='app1.Clan'),
        ),
        migrations.AddField(
            model_name='card',
            name='cardType',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cards', to='app1.CardType'),
        ),
        migrations.AddField(
            model_name='card',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cards', to='app1.User'),
        ),
        migrations.AlterUniqueTogether(
            name='card',
            unique_together=set([('user', 'cardType')]),
        ),
        migrations.AlterIndexTogether(
            name='card',
            index_together=set([('user', 'cardType')]),
        ),
    ]
Пример #9
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Booking',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('first_name', models.CharField(blank=True, max_length=32)),
                ('last_name', models.CharField(blank=True, max_length=32)),
                ('time',
                 models.CharField(choices=[('', 'Kliknij'), ('9:00', '9:00'),
                                           ('9:30', '9:30'),
                                           ('10:00', '10:00'),
                                           ('10:30', '10:30'),
                                           ('11:00', '11:00'),
                                           ('11:30', '11:30'),
                                           ('12:00', '12:00')],
                                  default='',
                                  max_length=32)),
                ('phone', models.CharField(max_length=13)),
                ('email', models.EmailField(max_length=254)),
                ('exact_time',
                 models.DateTimeField(auto_now_add=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='BookingDate',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('booking_date', models.DateField()),
            ],
        ),
        migrations.CreateModel(
            name='DateList',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('date', models.DateField()),
            ],
        ),
        migrations.CreateModel(
            name='Kayak',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('stock', models.IntegerField()),
                ('store', models.IntegerField()),
                ('type',
                 models.CharField(choices=[('Jednosoboy', 'Jednoosobwy'),
                                           ('Dwuosobowy', 'Dwuosobowy'),
                                           ('Trzyosobowy', 'Trzyosobowy')],
                                  max_length=32)),
                ('available', models.BooleanField()),
                ('description', models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name='Route',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('distance', models.CharField(max_length=32)),
                ('description', models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name='TermKayaks',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('quantity', models.PositiveIntegerField()),
                ('exact_time',
                 models.DateTimeField(auto_now_add=True, null=True)),
                ('booking',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='app1_term_bookings',
                                   to='app1.Booking')),
                ('kayak',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='app1_kayaks',
                                   to='app1.Kayak')),
            ],
        ),
        migrations.AddField(
            model_name='booking',
            name='booking_date',
            field=models.ForeignKey(
                default='',
                limit_choices_to=app1.models.booking_dates_limit,
                on_delete=django.db.models.deletion.CASCADE,
                related_name='app1_booking_date',
                to='app1.BookingDate'),
        ),
        migrations.AddField(
            model_name='booking',
            name='route',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE, to='app1.Route'),
        ),
        migrations.AddField(
            model_name='booking',
            name='user',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='user_app1',
                to=settings.AUTH_USER_MODEL),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('app1', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='image',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('pic', models.ImageField(upload_to=app1.models.desti)),
            ],
        ),
        migrations.CreateModel(
            name='like',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
            ],
        ),
        migrations.CreateModel(
            name='Story',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
            ],
        ),
        migrations.CreateModel(
            name='UserProfile',
            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.RemoveField(
            model_name='page',
            name='images',
        ),
        migrations.RemoveField(
            model_name='page',
            name='likes',
        ),
        migrations.AddField(
            model_name='page',
            name='des',
            field=models.TextField(default='', max_length=500),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='story',
            name='story_page',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app1.Page'),
        ),
        migrations.AddField(
            model_name='story',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='like',
            name='page',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app1.Page'),
        ),
        migrations.AddField(
            model_name='like',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='image',
            name='page',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='pages', to='app1.Page'),
        ),
        migrations.AddField(
            model_name='image',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
    ]
Пример #11
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='User',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('password',
                 models.CharField(max_length=128, verbose_name='password')),
                ('email', models.EmailField(max_length=100, unique=True)),
                ('username', models.CharField(max_length=100, unique=True)),
                ('date_joined',
                 models.DateTimeField(auto_now_add=True,
                                      verbose_name='date joined')),
                ('last_login',
                 models.DateTimeField(auto_now=True,
                                      verbose_name='last_login')),
                ('is_admin', models.BooleanField(default=False)),
                ('is_active', models.BooleanField(default=True)),
                ('is_staff', models.BooleanField(default=False)),
                ('is_superuser', models.BooleanField(default=False)),
                ('profile_image',
                 models.ImageField(
                     blank=True,
                     default=app1.models.get_default_profile_image,
                     max_length=255,
                     null=True,
                     upload_to=app1.models.get_profile_image_filepath)),
                ('hide_email', models.BooleanField(default=False)),
            ],
            options={
                'abstract': False,
            },
            managers=[
                ('object', django.db.models.manager.Manager()),
            ],
        ),
        migrations.CreateModel(
            name='Message',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('message', models.CharField(max_length=500)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('sender_id',
                 models.ForeignKey(default='unknown',
                                   on_delete=django.db.models.deletion.CASCADE,
                                   to='app1.user')),
            ],
        ),
    ]
Пример #12
0
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('app1', '0008_auto_20200206_1038'),
    ]

    operations = [
        migrations.CreateModel(
            name='mgmt_board_membr',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('patient_name',
                 models.CharField(max_length=120, verbose_name='اسم المريض ')),
                ('job_title',
                 models.CharField(blank=True,
                                  max_length=120,
                                  null=True,
                                  verbose_name='الدرجة الوظيفية')),
                ('patient_age',
                 models.CharField(max_length=120, verbose_name='سن المريض ')),
                ('medical_number',
                 models.CharField(max_length=120,
                                  verbose_name=' الرقم الطبى ')),
                ('notes_number',
                 models.CharField(max_length=120, verbose_name='رقم الدفتر ')),
                ('followed_clinic',
                 models.CharField(choices=[('جاردن سيتى', 'جاردن سيتى'),
                                           ('الفوالة', 'الفوالة'),
                                           ('المهندسيين', 'المهندسيين')],
                                  max_length=120,
                                  verbose_name='العيادة التابعة')),
                ('the_image_file',
                 models.FileField(blank=True,
                                  null=True,
                                  upload_to=app1.models.get_file_path01,
                                  verbose_name='صورة الطلب المرفق')),
                ('timestamp', models.DateField(auto_now_add=True, null=True)),
                ('publisher',
                 models.ForeignKey(null=True,
                                   on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='retired_pationt',
            name='job_title',
            field=models.CharField(blank=True,
                                   max_length=120,
                                   null=True,
                                   verbose_name=' الدرجة الوظيفية عند المعاش'),
        ),
        migrations.AddField(
            model_name='retired_pationt',
            name='the_image_file',
            field=models.FileField(blank=True,
                                   null=True,
                                   upload_to=app1.models.get_file_path02,
                                   verbose_name='صورة الطلب المرفق'),
        ),
        migrations.AddField(
            model_name='working_pationt',
            name='job_title',
            field=models.CharField(blank=True,
                                   max_length=120,
                                   null=True,
                                   verbose_name='الدرجة الوظيفية'),
        ),
        migrations.AddField(
            model_name='working_pationt',
            name='the_image_file',
            field=models.FileField(blank=True,
                                   null=True,
                                   upload_to=app1.models.get_file_path01,
                                   verbose_name='صورة الطلب المرفق'),
        ),
    ]