class Migration(migrations.Migration): dependencies = [ ('account', '0019_auto_20200905_1619'), ] operations = [ migrations.AlterField( model_name='profile', name='document10', field=models.FileField( blank=True, null=True, upload_to='documents/user_documents/10marksheets', validators=[account.models.file_size]), ), migrations.AlterField( model_name='profile', name='document12', field=models.FileField( blank=True, null=True, upload_to='documents/user_documents/12marksheets', validators=[account.models.file_size]), ), migrations.AlterField( model_name='profile', name='document_last_sem', field=models.FileField( blank=True, null=True, upload_to='documents/user_documents/last_marksheets', validators=[account.models.file_size]), ), migrations.AlterField( model_name='profile', name='father_id', field=models.FileField( blank=True, null=True, upload_to='documents/user_documents/father_id', validators=[account.models.file_size]), ), migrations.AlterField( model_name='profile', name='image', field=models.ImageField(default='pics/profile_pics/default.png', upload_to='pics/profile_pics', validators=[account.models.file_size]), ), migrations.AlterField( model_name='profile', name='student_id', field=models.FileField( blank=True, null=True, upload_to='documents/user_documents/student_id', validators=[account.models.file_size]), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='Student', fields=[ ('student', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('institute', models.CharField(max_length=50)), ('image', models.FileField(default='profile_img/user.png', null=True, upload_to=account.models.get_image_name)), ('interests', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='Teacher', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.FileField(default='profile_img/user.png', null=True, upload_to=account.models.get_image_name1)), ('institute', models.CharField(max_length=50)), ('qualifications', models.CharField(max_length=50)), ('status', models.CharField(max_length=50)), ('work_experience', models.TextField(blank=True, null=True)), ('teacher', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0022_auto_20200223_1506'), ] operations = [ migrations.CreateModel( name='UpcomingTest', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=30)), ('date', models.DateField()), ('description', models.TextField(blank=True, max_length=250, null=True)), ('topics', models.FileField( blank=True, null=True, upload_to=account.models.Event.test_pdf_upload_path)), ('sub_class', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.SubClass')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('avatar', models.FileField( null=True, upload_to=account.models.user_directory_path)), ('date_of_create', models.DateTimeField(auto_now_add=True)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AddField( model_name='customuser', name='gender', field=models.CharField(choices=[('MA', 'männlich'), ('FE', 'weiblich'), ('DI', 'divers')], default='', max_length=2, verbose_name='Geschlecht'), preserve_default=False, ), migrations.AddField( model_name='tutordata', name='verification_file', field=models.FileField(null=True, upload_to=account.models.tutor_upload_path, verbose_name='Vefizierungsdatei'), ), migrations.AddField( model_name='tutordata', name='verified', field=models.BooleanField(default=False, verbose_name='Verifiziert'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone_num', models.CharField(blank=True, max_length=11, null=True)), ('sex', models.CharField(choices=[(1, '男'), (2, '女')], default=1, max_length=2)), ('picture', models.FileField(blank=True, null=True, upload_to=account.models.upload_to)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('resume', models.FileField(upload_to='resumes/', verbose_name='Upload Resumes')), ('image', models.ImageField(blank=True, upload_to=account.models.upload_location, verbose_name='image')), ('phonenumber', models.CharField(blank=True, max_length=50)), ('address', models.CharField(blank=True, max_length=50)), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_of_birth', models.DateField(blank=True, null=True)), ('photo', models.FileField(upload_to=account.models.upload_avatar)), ('money', models.PositiveIntegerField()), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nick_name', models.CharField(blank=True, max_length=50)), ('phone_number', models.CharField( blank=True, max_length=10, validators=[ django.core.validators.RegexValidator( message= "Phone number must be entered in the format:'+999999999'.Up to 15 digits allowed.", regex='^\\+?1?\\d{9,15}$') ])), ('image', models.FileField( blank=True, null=True, upload_to=account.models.user_directory_path)), ('has_picture', models.BooleanField(default=False)), ('father_name', models.CharField(blank=True, max_length=50)), ('whatsapp_no', models.CharField( blank=True, max_length=10, validators=[ django.core.validators.RegexValidator( message= "Phone number must be entered in the format:'+999999999'.Up to 15 digits allowed.", regex='^\\+?1?\\d{9,15}$') ])), ('fb_id', models.CharField(blank=True, max_length=50)), ('current_address', models.CharField(blank=True, max_length=250)), ('is_active', models.BooleanField(default=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('city', models.CharField(blank=True, max_length=50, verbose_name='Город')), ('street', models.CharField(blank=True, max_length=50, verbose_name='Улица')), ('number_house', models.CharField(blank=True, max_length=50, verbose_name='Номер дома')), ('number_room', models.CharField(blank=True, max_length=50, verbose_name='Номер квартиры')), ('photo', models.FileField(blank=True, upload_to=account.models.profile_img_name, verbose_name='Фото профиля')), ('grid', models.BooleanField(default=False, verbose_name='Сетка товаров')), ('theme', models.BooleanField(default=True, verbose_name='Тема')), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='Пользователь')), ], options={ 'verbose_name': 'Аккаунт', 'verbose_name_plural': 'Аккаунты', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('timezone', models.CharField(default='UTC', max_length=100)), ('ssh_public_key', models.FileField(blank=True, null=True, upload_to=account.models.upload_to)), ('pgp_public_key', models.FileField(blank=True, null=True, upload_to=account.models.upload_to)), ('company', models.CharField(max_length=200)), ('oauth_token', models.CharField(max_length=1024)), ('oauth_secret', models.CharField(max_length=1024)), ('jira_url', models.CharField(default='', max_length=100)), ('full_name', models.CharField(default='', max_length=100)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'user_profile', }, ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0003_auto_20190328_2144'), ] operations = [ migrations.CreateModel( name='Trophy', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='作成日')), ('updated_at', models.DateTimeField(auto_now=True, verbose_name='更新日')), ('title', models.CharField(max_length=255, unique=True)), ('description', models.CharField(max_length=255)), ('file', models.FileField(upload_to=account.models.trophy_upload_to)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='TrophyUserRelation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='作成日')), ('updated_at', models.DateTimeField(auto_now=True, verbose_name='更新日')), ('trophy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Trophy')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Account', 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=60, unique=True, verbose_name='email')), ('username', models.CharField(default='user', max_length=30)), ('is_employee', models.BooleanField(default=True)), ('last_name', models.CharField(blank=True, max_length=30, null=True)), ('register_id', models.CharField(blank=True, max_length=30, null=True)), ('image', models.ImageField(blank=True, default='default.jpeg', upload_to=account.models.upload_location)), ('resume', models.FileField( blank=True, null=True, upload_to=account.models.upload_file_location)), ('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)), ], options={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='profile', field=models.FileField(blank=True, default='Member_Img/default_user.jpg', upload_to=account.models.upload_to_user, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['blp', 'bmp', 'dib', 'bufr', 'cur', 'pcx', 'dcx', 'dds', 'ps', 'eps', 'fit', 'fits', 'fli', 'flc', 'ftc', 'ftu', 'gbr', 'gif', 'grib', 'h5', 'hdf', 'png', 'apng', 'jp2', 'j2k', 'jpc', 'jpf', 'jpx', 'j2c', 'icns', 'ico', 'im', 'iim', 'tif', 'tiff', 'jfif', 'jpe', 'jpg', 'jpeg', 'mpg', 'mpeg', 'mpo', 'msp', 'palm', 'pcd', 'pdf', 'pxr', 'pbm', 'pgm', 'ppm', 'pnm', 'psd', 'bw', 'rgb', 'rgba', 'sgi', 'ras', 'tga', 'icb', 'vda', 'vst', 'webp', 'wmf', 'emf', 'xbm', 'xpm'], message='Select valid Image.')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0002_contact'), ] operations = [ migrations.AddField( model_name='user', name='avatar', field=models.FileField(blank=True, null=True, upload_to=account.models.avatar_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0008_passwordresettoken'), ] operations = [ migrations.AlterField( model_name='tutordata', name='verification_file', field=models.FileField(blank=True, null=True, upload_to=account.models.tutor_upload_path, verbose_name='Vefizierungsdatei'), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0002_auto_20171203_2130'), ] operations = [ migrations.AddField( model_name='acco', name='headimg', field=models.FileField(default='moren.jpg', upload_to=account.models.get_upload_to), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0003_avatar'), ] operations = [ migrations.AlterField( model_name='avatar', name='file_path', field=models.FileField( upload_to=account.models.user_avatar_upload), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0004_userprofile_teaching_subject'), ] operations = [ migrations.AddField( model_name='userprofile', name='teacher_certificate', field=models.FileField( default=None, upload_to=account.models.certificate_file_path), preserve_default=False, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] 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')), ('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')), ('username', models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[django.contrib.auth.validators.UnicodeUsernameValidator()], verbose_name='username')), ('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', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='Avatar', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('file_path', models.FileField(upload_to=account.models.user_avatar_upload)), ('active_avatar', models.BooleanField(null=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'unique_together': {('user', 'active_avatar')}, }, ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AlterField( model_name='account', name='avatar', field=models.FileField( blank=True, null=True, upload_to=account.models.user_directory_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0012_lesson_date_added'), ] operations = [ migrations.AlterField( model_name='lesson', name='pdf', field=models.FileField( blank=True, null=True, upload_to=account.models.Lesson.pdf_upload_path), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='Degree', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=20)), ], ), migrations.CreateModel( name='Profile', fields=[ ('user', annoying.fields.AutoOneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('email_confirmed', models.BooleanField(default=False)), ('full_name', models.CharField(max_length=100, null=True)), ('program', models.CharField(max_length=100, null=True)), ('grad_year', models.IntegerField(null=True)), ('resume', models.FileField(blank=True, null=True, upload_to=account.models.user_directory_path)), ('viewable', models.BooleanField(default=False)), ('degrees', models.ManyToManyField(to='account.Degree')), ], options={ 'ordering': ('user',), }, ), migrations.CreateModel( name='School', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=50)), ('abbrev', models.CharField(max_length=20)), ], ), migrations.AddField( model_name='profile', name='schools', field=models.ManyToManyField(to='account.School'), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0037_remove_request_seen'), ] operations = [ migrations.AlterField( model_name='userprofile', name='id_number', field=models.IntegerField(blank=True, null=True), ), migrations.AlterField( model_name='userprofile', name='teaching_certificate', field=models.FileField(blank=True, null=True, upload_to=account.models.certificate_file_path), ), ]
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')), ('user_id', models.CharField(max_length=15, unique=True)), ('name', models.CharField(max_length=150)), ('age', models.IntegerField()), ('rating', models.FloatField()), ('profile_image', models.ImageField(blank=True, null=True, upload_to=account.models.User.upload_dir_profile_image)), ('resume', models.FileField(blank=True, null=True, upload_to=account.models.User.upload_dir_resume)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AlterField( model_name='vsusers', name='Image', field=models.FileField( blank=True, null=True, upload_to=account.models.user_directory_path_favicon), ), migrations.AlterField( model_name='vsusers', name='name', field=models.CharField(default='User', max_length=20), ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0040_auto_20200316_1154'), ] operations = [ migrations.CreateModel( name='Archive', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField(max_length=100)), ('text', models.TextField(max_length=1000)), ('date_added', models.DateField(auto_now_add=True)), ('archive_type', models.CharField(choices=[('submission', 'Submission'), ('private', 'Private')], default='private', max_length=30)), ('pdf', models.FileField( blank=True, null=True, upload_to=account.models.Archive.pdf_upload_archive_path) ), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Userprofile')), ('sub_class', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.SubClass')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('account', '0021_auto_20200119_1314'), ] operations = [ migrations.AddField( model_name='grade', name='is_term_paper', field=models.BooleanField(default=False), ), migrations.AlterField( model_name='userprofile', name='teaching_certificate', field=models.FileField( null=True, upload_to=account.models.certificate_file_path), ), migrations.AlterField( model_name='userprofile', name='teaching_subject', field=models.CharField(max_length=100, null=True), ), ]
class Migration(migrations.Migration): dependencies = [ ('socle', '0006_auto_20211006_2229'), ('account', '0017_auto_20220328_0857'), ] operations = [ migrations.RemoveField( model_name='adhesion', name='children', ), migrations.RemoveField( model_name='adhesion', name='chrono', ), migrations.RemoveField( model_name='adhesion', name='date_end', ), migrations.RemoveField( model_name='adhesion', name='date_start', ), migrations.RemoveField( model_name='adhesion', name='file', ), migrations.RemoveField( model_name='adhesion', name='levels', ), migrations.RemoveField( model_name='adhesion', name='students', ), migrations.RemoveField( model_name='adhesion', name='user', ), migrations.AddField( model_name='adhesion', name='level', field=models.ForeignKey( blank=True, editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='adhesions', to='socle.Level'), ), migrations.AddField( model_name='adhesion', name='start', field=models.DateTimeField(blank=True, editable=False, null=True), ), migrations.AddField( model_name='adhesion', name='stop', field=models.DateTimeField(blank=True, editable=False, null=True), ), migrations.AddField( model_name='adhesion', name='student', field=models.ForeignKey( blank=True, editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='adhesions', to='account.Student'), ), migrations.AlterField( model_name='adhesion', name='amount', field=models.DecimalField(decimal_places=2, editable=False, max_digits=6, verbose_name='Montant'), ), migrations.CreateModel( name='Facture', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('chrono', models.CharField(editable=False, max_length=50, verbose_name='Chrono')), ('file', models.FileField(blank=True, default='', editable=False, null=True, upload_to=account.models.file_directory_path, verbose_name='fichier')), ('chro', models.CharField(blank=True, editable=False, max_length=50, null=True, verbose_name='Chrono')), ('adhesions', models.ManyToManyField(blank=True, editable=False, related_name='factures', to='account.Adhesion')), ('user', models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='factures', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Reason', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('name', models.CharField(default='', max_length=200)), ], ), migrations.CreateModel( name='ref_barangay', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('brgyCode', models.CharField(max_length=50, unique=True)), ('name', models.TextField()), ], options={ 'verbose_name': 'Barangay', 'verbose_name_plural': 'Barangays', }, ), migrations.CreateModel( name='ref_region', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('psgcCode', models.CharField(max_length=50, unique=True)), ('name', models.TextField()), ('regCode', models.CharField(max_length=50, unique=True)), ], options={ 'verbose_name': 'Region', 'verbose_name_plural': 'Regions', }, ), migrations.CreateModel( name='Relationship', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('name', models.CharField(default='', max_length=50)), ('is_owner', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='ref_purok', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('name', models.CharField(default='', max_length=50)), ('president', models.CharField(blank=True, default='', max_length=50, null=True)), ('barangay', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ref_barangay_id', to='account.ref_barangay')), ], ), migrations.CreateModel( name='ref_province', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('psgcCode', models.CharField(max_length=50, unique=True)), ('name', models.TextField()), ('provCode', models.CharField(max_length=50, unique=True)), ('f_region', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.ref_region', to_field='regCode')), ('region', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ref_region_id', to='account.ref_region')), ], options={ 'verbose_name': 'Province', 'verbose_name_plural': 'Provinces', }, ), migrations.CreateModel( name='ref_citymun', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('psgcCode', models.CharField(max_length=50, unique=True)), ('name', models.TextField()), ('citymunCode', models.CharField(max_length=50, unique=True)), ('f_province', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.ref_province', to_field='provCode')), ('province', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ref_province_id', to='account.ref_province')), ], options={ 'verbose_name': 'City/Municipality', 'verbose_name_plural': 'Cities and Municipalities', }, ), migrations.AddField( model_name='ref_barangay', name='citymun', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ref_citymun_id', to='account.ref_citymun'), ), migrations.AddField( model_name='ref_barangay', name='f_citymun', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.ref_citymun', to_field='citymunCode'), ), migrations.CreateModel( name='household_profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone_number', models.CharField(max_length=10, unique=True)), ('date_of_birth', models.DateField()), ('gender', models.BooleanField(choices=[(0, 'Male'), (1, 'Female')], default=0)), ('street', models.CharField(max_length=150)), ('verification_file', models.FileField(help_text='Select File', null=True, upload_to=account.models.filename_generator)), ('profile', models.FileField(help_text='Select File', null=True, upload_to=account.models.filename_generator)), ('account_is_verified', models.IntegerField(choices=[(0, 'Pending'), (1, 'Verified')], default=0)), ('date_created', models.DateField(default=datetime.date.today)), ('purok', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.ref_purok')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='family_members', fields=[ ('id', models.AutoField(primary_key=True, serialize=False)), ('first_name', models.CharField(max_length=150)), ('last_name', models.CharField(max_length=150)), ('date_of_birth', models.DateField()), ('verification_file', models.FileField(help_text='Select documents', upload_to=account.models.filename_generator)), ('profile', models.FileField(help_text='Select File', null=True, upload_to=account.models.filename_generator)), ('gender', models.BooleanField(choices=[(0, 'Male'), (1, 'Female')], default=0)), ('is_confirm', models.IntegerField(choices=[(0, 'Pending'), (1, 'Approved'), (2, 'decline')], default=0)), ('date_added', models.DateField(default=datetime.date.today)), ('household_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.household_profile')), ('relationship', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Relationship')), ], ), migrations.CreateModel( name='building_owner', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('establishment_name', models.TextField()), ('street', models.CharField(max_length=150)), ('verification_file', models.FileField(help_text='Select File', upload_to=account.models.filename_generator)), ('profile', models.FileField(help_text='Select File', null=True, upload_to=account.models.filename_generator)), ('account_is_verified', models.IntegerField(choices=[(0, 'Pending'), (1, 'Verified')], default=0)), ('date_created', models.DateField(default=datetime.date.today)), ('is_confirm', models.IntegerField(choices=[(0, 'Pending'), (1, 'Approved'), (2, 'decline')], default=0)), ('purok', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.ref_purok')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]