class Migration(migrations.Migration): dependencies = [ ('client', '0034_auto_20170211_1420'), ] operations = [ migrations.AddField( model_name='clientusercompany', name='spese_altro', field=models.CharField(default='', max_length=150, verbose_name='Altre Spese'), ), migrations.AddField( model_name='clientusercompany', name='tipologia_altro', field=models.CharField(default='', max_length=150, verbose_name='Altro'), ), migrations.AddField( model_name='clientusercompany', name='visura_camerale', field=models.FileField(blank=True, storage=client.models.CreateFolderUser( directory_permissions_mode=None, location=client.models.for_id), upload_to=client.models.for_id), ), ]
class Migration(migrations.Migration): dependencies = [ ('client', '0002_radiostation'), ] operations = [ migrations.CreateModel( name='Tweeter', fields=[ ('tweeterName', models.CharField(max_length=200, primary_key=True, serialize=False)), ('status', models.CharField(choices=[('unset', 'UNSET'), ('trusted', 'TRUSTED'), ('untrusted', 'UNTRUSTED')], default='unset', max_length=10)), ('url', models.URLField(max_length=250)), ('followers_count', models.IntegerField(blank=True, null=True)), ('statuses_count', models.IntegerField(blank=True, null=True)), ('description', models.TextField(blank=True, null=True)), ('publishedAt', models.DateTimeField(blank=True, null=True)), ('location', models.CharField(blank=True, max_length=200, null=True)), ('image', models.URLField(max_length=250)), ('category', models.ForeignKey(default=client.models.Category, on_delete=django.db.models.deletion.CASCADE, to='client.Category')), ], ), migrations.CreateModel( name='Tweet', fields=[ ('tweetId', models.CharField(max_length=200, primary_key=True, serialize=False)), ('tweet', models.TextField(blank=True, null=True)), ('publishedAt', models.DateTimeField(blank=True, null=True)), ('image', models.URLField(blank=True, max_length=250)), ('status', models.CharField(choices=[('published', 'published'), ('unpublished', 'unpublished')], default='unpublished', max_length=12)), ('tweeter', models.ForeignKey(default=client.models.Tweeter, on_delete=django.db.models.deletion.CASCADE, to='client.Tweeter')), ], ), ]
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')), ('registration_id', models.CharField(blank=True, max_length=20, null=True)), ('name', models.CharField(max_length=100, null=True)), ('organization', models.CharField(max_length=100, null=True)), ('employee_id', models.CharField(max_length=20, null=True)), ('mobile', models.CharField(max_length=20, null=True)), ('email', models.EmailField( max_length=254, null=True, validators=[ django.core.validators.EmailValidator( code=None, message='Enter a valid Email address', whitelist=None) ])), ('image_url', models.URLField(blank=True, null=True)), ('image', models.ImageField(blank=True, null=True, upload_to=client.models.content_file_name)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now_add=True)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'managed': True, }, ), ]
class Migration(migrations.Migration): dependencies = [ ('client', '0002_project'), ] operations = [ migrations.CreateModel( name='Contacts', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(default='', max_length=55, verbose_name='Nombre')), ('position', models.CharField(default='', max_length=55, verbose_name='Puesto')), ('email', models.EmailField(default='', max_length=254, verbose_name='Correo electr\xf3nico')), ('phone_number', models.CharField(default='', max_length=20, verbose_name='Tel\xe9fono')), ], ), migrations.AddField( model_name='client', name='birth_date', field=models.CharField(blank=True, max_length=30, null=True, verbose_name='Fecha de nacimiento'), ), migrations.AddField( model_name='client', name='profile_pic', field=models.FileField(blank=True, null=True, upload_to=client.models.client_files_name, verbose_name='Foto de perfil'), ), migrations.AddField( model_name='enterprise', name='city', field=models.CharField(default='', max_length=55, verbose_name='Ciudad-Estado'), ), migrations.AddField( model_name='enterprise', name='direction', field=models.CharField(default='', max_length=255, verbose_name='Direcci\xf3n'), ), migrations.AddField( model_name='enterprise', name='phone_number_1', field=models.CharField(default='', max_length=20, verbose_name='Tel\xe9fono'), ), migrations.AddField( model_name='enterprise', name='phone_number_2', field=models.CharField(blank=True, max_length=20, null=True, verbose_name='Tel\xe9fono 2'), ), migrations.AddField( model_name='contacts', name='enterprise', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='contacts', to='client.Enterprise'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='Account', fields=[ ('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')), ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('is_client', models.BooleanField(default=False)), ('username', models.CharField(blank=True, max_length=150)), ('email', models.EmailField(blank=True, max_length=254, unique=True)), ('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': 'account', 'verbose_name_plural': 'accounts', }, managers=[ ('objects', client.models.AccountManager()), ], ), migrations.CreateModel( name='ClientAccount', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('inn', models.CharField(blank=True, max_length=30, unique=True)), ('cash', models.FloatField(blank=True)), ('account', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='client_account', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='AdminAccount', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('first_name', models.CharField(blank=True, max_length=100, null=True)), ('last_name', models.CharField(blank=True, max_length=100, null=True)), ('account', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_account', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Client', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('image', django_resized.forms.ResizedImageField(crop=None, force_format=None, keep_meta=True, quality=100, size=[241, 173], upload_to=client.models.client_image_upload_to)), ('updated_at', models.DateTimeField(auto_now=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ], options={ 'verbose_name': 'Client', 'verbose_name_plural': 'Clients', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Category', fields=[ ('category', models.CharField(default='Unset', max_length=20, primary_key=True, serialize=False)), ], options={ 'verbose_name_plural': 'Categories', }, ), migrations.CreateModel( name='Channel', fields=[ ('channelId', models.CharField(max_length=200, primary_key=True, serialize=False)), ('channelTitle', models.CharField(max_length=200)), ('channelStatus', models.CharField(choices=[('unset', 'UNSET'), ('trusted', 'TRUSTED'), ('untrusted', 'UNTRUSTED')], default='unset', max_length=10)), ('channelUrl', models.URLField(max_length=250)), ('channelViewCount', models.IntegerField(blank=True, null=True)), ('channelCommentCount', models.IntegerField(blank=True, null=True)), ('channelSubscriberCount', models.IntegerField(blank=True, null=True)), ('channelVideoCount', models.IntegerField(blank=True, null=True)), ('publishedAt', models.DateTimeField(null=True, verbose_name='publishedAt')), ('channelCategory', models.ForeignKey(default=client.models.Category, on_delete=django.db.models.deletion.CASCADE, to='client.Category')), ], options={ 'verbose_name_plural': 'Channels', }, ), migrations.CreateModel( name='Viewer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user', models.CharField(blank=True, max_length=200, null=True)), ('ip', models.CharField(blank=True, max_length=200, null=True)), ('lastVisitAt', models.DateTimeField(blank=True, null=True)), ('browser', models.CharField(blank=True, max_length=200, null=True)), ('browser_version', models.CharField(blank=True, max_length=5, null=True)), ('os', models.CharField(blank=True, max_length=20, null=True)), ('os_version', models.CharField(blank=True, max_length=20, null=True)), ('device', models.CharField(blank=True, max_length=20, null=True)), ('view_count', models.IntegerField(blank=True, default=0, null=True)), ('continent', models.CharField(blank=True, max_length=20)), ('country', models.CharField(blank=True, max_length=200)), ('city', models.CharField(blank=True, max_length=200)), ('timezone', models.CharField(blank=True, max_length=200)), ], options={ 'verbose_name_plural': 'Viewers', }, ), migrations.CreateModel( name='Video', fields=[ ('videoId', models.CharField(max_length=200, primary_key=True, serialize=False)), ('title', models.CharField(max_length=200)), ('channelTitle', models.CharField(max_length=200)), ('publishedAt', models.DateTimeField(blank=True, null=True)), ('lastModified', models.DateTimeField(blank=True, null=True)), ('thumbnailsLow', models.ImageField(blank=True, max_length=250, null=True, upload_to='')), ('thumbnailsHigh', models.ImageField(blank=True, max_length=250, null=True, upload_to='')), ('thumbnailsMedium', models.ImageField(blank=True, max_length=250, null=True, upload_to='')), ('url', models.URLField(max_length=250)), ('license', models.CharField(blank=True, max_length=200, null=True)), ('creator', models.CharField(blank=True, max_length=200, null=True)), ('description', models.TextField(blank=True, max_length=2000, null=True)), ('subtitles', models.CharField(blank=True, max_length=200, null=True)), ('artist', models.CharField(blank=True, max_length=200, null=True)), ('track', models.CharField(blank=True, max_length=200, null=True)), ('width', models.IntegerField()), ('height', models.IntegerField()), ('resolution', models.CharField(blank=True, max_length=200, null=True)), ('ext', models.CharField(blank=True, max_length=200, null=True)), ('duration', models.CharField(blank=True, max_length=200)), ('view_count', models.IntegerField(blank=True, null=True)), ('like_count', models.IntegerField(blank=True, null=True)), ('dislike_count', models.IntegerField(blank=True, default=0, null=True)), ('average_rating', models.FloatField(blank=True, null=True)), ('status', models.CharField(choices=[('pending', 'PENDING'), ('downloaded', 'DOWNLOADED'), ('uploaded', 'UPLOADED'), ('skipped', 'SKIPPED')], default='pending', max_length=10)), ('video', models.URLField(max_length=300)), ('category', models.ForeignKey(default=client.models.Category, on_delete=django.db.models.deletion.CASCADE, to='client.Category')), ('channel', models.ForeignKey(default=client.models.Channel, on_delete=django.db.models.deletion.CASCADE, to='client.Channel')), ], options={ 'verbose_name_plural': 'Videos', }, ), migrations.CreateModel( name='Section', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('category', models.ForeignKey(default=client.models.Category, on_delete=django.db.models.deletion.CASCADE, to='client.Category')), ], options={ 'verbose_name_plural': 'Sections', }, ), migrations.CreateModel( name='Page', fields=[ ('link', models.CharField( max_length=20, primary_key=True, serialize=False, validators=[ django.core.validators.RegexValidator( '^[0-9a-zA-Z]*$', 'Only alphanumeric characters are allowed.') ])), ('title', models.CharField(max_length=200)), ('status', models.CharField(choices=[('published', 'published'), ('unpublished', 'unpublished')], default='unpublished', max_length=12)), ('category', models.ForeignKey(default=client.models.Category, on_delete=django.db.models.deletion.CASCADE, to='client.Category')), ], options={ 'verbose_name_plural': 'Pages', }, ), migrations.CreateModel( name='FacebookPost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('PostTag', models.TextField(blank=True)), ('publishedAt', models.DateTimeField(blank=True, null=True)), ('video', models.ForeignKey(default=client.models.Video, on_delete=django.db.models.deletion.CASCADE, to='client.Video')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('recruit', '__first__'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Chat', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('members', models.ManyToManyField(blank=True, to=settings.AUTH_USER_MODEL, verbose_name='Участник')), ], options={ 'verbose_name': 'Чат', 'verbose_name_plural': 'Чаты', }, ), migrations.CreateModel( name='Children', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('children_word', models.CharField(max_length=4)), ], options={ 'verbose_name': 'Дети', 'verbose_name_plural': 'Дети', }, ), migrations.CreateModel( name='Citizenship', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('country_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Страна / Гражданство', 'verbose_name_plural': 'Страна / Гражданство', }, ), migrations.CreateModel( name='City', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('city_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Город', 'verbose_name_plural': 'Города', }, ), migrations.CreateModel( name='Client', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('patronymic', models.CharField(blank=True, default='', max_length=100, null=True, verbose_name='Отчество')), ('date_born', models.DateField(blank=True, null=True)), ('street', models.CharField(blank=True, max_length=100, null=True, verbose_name='Улица')), ('house', models.CharField(blank=True, max_length=100, null=True, verbose_name='Номер дома')), ('flat', models.CharField(blank=True, max_length=10, null=True, verbose_name='Квартира')), ('telegram_link', models.CharField(blank=True, max_length=100, null=True, verbose_name='Ник в телеграмме')), ('link_linkedin', models.URLField(blank=True, null=True)), ('skype', models.CharField(blank=True, max_length=100, null=True)), ('img', models.ImageField(blank=True, null=True, upload_to='')), ('is_reserved', models.BooleanField(default=False)), ('children', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.Children')), ('citizenship', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='citizenship', to='client.Citizenship')), ('city', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.City')), ('country', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='country', to='client.Citizenship')), ], ), migrations.CreateModel( name='CvWord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('position_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Должность', 'verbose_name_plural': 'Должности', }, ), migrations.CreateModel( name='Direction', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('direction_word', models.CharField(blank=True, max_length=100, null=True)), ], options={ 'verbose_name': 'Направление', 'verbose_name_plural': 'Направления', }, ), migrations.CreateModel( name='EducationWord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('education_word', models.CharField(max_length=100, verbose_name='education_word')), ], options={ 'verbose_name': 'Учебное заведение', 'verbose_name_plural': 'Учебные заведения', }, ), migrations.CreateModel( name='Employer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=50, null=True)), ('address', models.CharField(blank=True, max_length=50, null=True)), ('description', models.TextField(blank=True, max_length=3000, null=True, verbose_name='description')), ('image', models.ImageField( blank=True, null=True, upload_to=client.models.file_path_image_employer)), ], ), migrations.CreateModel( name='Employment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('employment', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Занятость', 'verbose_name_plural': 'Занятость', }, ), migrations.CreateModel( name='FamilyState', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('state_word', models.CharField(max_length=20)), ], options={ 'verbose_name': 'Семейное положение', 'verbose_name_plural': 'Семейное положение', }, ), migrations.CreateModel( name='Help', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('question', models.TextField(max_length=1000, verbose_name='Вопрос')), ('answer', models.TextField(max_length=1000, verbose_name='Ответ')), ], ), migrations.CreateModel( name='Sex', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sex_word', models.CharField(max_length=1)), ], options={ 'verbose_name': 'Пол', 'verbose_name_plural': 'Пол', }, ), migrations.CreateModel( name='SkillsWord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('skills_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Навык', 'verbose_name_plural': 'Навыки', }, ), migrations.CreateModel( name='Sphere', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sphere_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Сфера деятельности', 'verbose_name_plural': 'Сферы деятельности', }, ), migrations.CreateModel( name='State', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('state_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'Стутус клиента', 'verbose_name_plural': 'Стутус клиента', }, ), migrations.CreateModel( name='TimeJob', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('time_job_word', models.CharField(max_length=100)), ], options={ 'verbose_name': 'График работы', 'verbose_name_plural': 'График работы', }, ), migrations.CreateModel( name='TypeSalary', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type_word', models.CharField(max_length=8)), ], options={ 'verbose_name': 'Валюта', 'verbose_name_plural': 'Валюта', }, ), migrations.CreateModel( name='Vacancy', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('state', models.CharField(max_length=100)), ('salary', models.CharField(max_length=20)), ('organization', models.CharField(max_length=100)), ('address', models.CharField(blank=True, max_length=200, null=True)), ('employment', models.CharField(blank=True, max_length=100, null=True)), ('description', models.TextField(blank=True, max_length=1000, null=True)), ('skills', models.CharField(blank=True, max_length=100, null=True)), ('requirements', models.TextField(blank=True, max_length=1000, null=True)), ('duties', models.TextField(blank=True, max_length=1000, null=True)), ('conditions', models.TextField(blank=True, max_length=1000, null=True)), ('creating_date', models.DateTimeField(auto_now_add=True, null=True)), ('direction', models.ManyToManyField(blank=True, to='client.Direction', verbose_name='Направление')), ('employer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vacancies', to='client.Employer')), ], ), migrations.CreateModel( name='Telephone', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('telephone_number', models.CharField(blank=True, max_length=20, null=True)), ('client_phone', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Client')), ], ), migrations.CreateModel( name='Tasks', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField(max_length=200)), ('time', models.DateTimeField(blank=True, null=True)), ('date', models.DateField(blank=True, null=True)), ('comment', models.TextField(blank=True, max_length=300)), ('status', models.BooleanField(default=False)), ('endtime', models.DateTimeField(blank=True, null=True)), ('checkstatus', models.BooleanField(default=True)), ('readtask', models.BooleanField(default=False)), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='SubTasks', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField(max_length=100)), ('status', models.BooleanField(default=True)), ('task', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='subtask', to='client.Tasks')), ], ), migrations.CreateModel( name='Skills', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('skill', models.CharField(blank=True, max_length=100, null=True)), ('client_skills', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Client')), ], ), migrations.CreateModel( name='Settings', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('messages', models.BooleanField(default=True)), ('tasks', models.BooleanField(default=True)), ('suggestions', models.BooleanField(default=True)), ('meetings', models.BooleanField(default=True)), ('reviews', models.BooleanField(default=True)), ('email_messages', models.BooleanField(default=True)), ('email_tasks', models.BooleanField(default=True)), ('email_suggestions', models.BooleanField(default=True)), ('email_meetings', models.BooleanField(default=True)), ('email_reviews', models.BooleanField(default=True)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Opinion', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=100, verbose_name='Тема')), ('text', models.TextField(max_length=3000, verbose_name='Текст отзыва')), ('date', models.DateTimeField(auto_now_add=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Message', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('message', models.TextField(verbose_name='Сообщение')), ('pub_date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Дата сообщения')), ('is_read', models.BooleanField(default=False, verbose_name='Прочитано')), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='Пользователь')), ('chat', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Chat', verbose_name='Чат')), ], options={ 'ordering': ['pub_date'], }, ), migrations.CreateModel( name='JobInterviews', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=50, verbose_name='Наименование')), ('jobinterviewtime', models.TimeField( max_length=10, verbose_name='Время проведения собеседования')), ('jobinterviewdate', models.DateField( max_length=20, verbose_name='Дата проведения собеседования')), ('interview_author', models.CharField(blank=True, max_length=50, null=True, verbose_name='Автор собеседования')), ('time_of_creation', models.DateTimeField(auto_now_add=True, verbose_name='Время создания')), ('period_of_execution', models.DateTimeField(blank=True, null=True, verbose_name='Срок исполнения')), ('reminder', models.DateTimeField(blank=True, null=True, verbose_name='Напоминание')), ('position', models.CharField(max_length=50, verbose_name='Предполагаемая должность')), ('organization', models.CharField(max_length=50, verbose_name='Организация')), ('responsible_person', models.CharField(max_length=50, verbose_name='Ответственное лицо')), ('contact_responsible_person_1str', models.CharField( max_length=50, verbose_name='Контакты ответственного лица (1-я строчка)') ), ('contact_responsible_person_2str', models.CharField( blank=True, max_length=50, null=True, verbose_name='Контакты ответственного лица (2-я строчка)') ), ('location', models.CharField(max_length=50, verbose_name='Место проведения')), ('additional_information', models.TextField(blank=True, max_length=3000, null=True, verbose_name='Дополнительная информация')), ('status', models.BooleanField(default=False)), ('check_status', models.BooleanField(default=True)), ('readinterview', models.BooleanField(default=False)), ('client', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='client.Client', verbose_name='Соискатель')), ('vacancies', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='client.Vacancy', verbose_name='Вакансии')), ], ), migrations.CreateModel( name='FilesForJobInterviews', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('add_file', models.FileField(blank=True, null=True, upload_to=client.models.file_path, verbose_name='Вложения')), ('jobinterviews_files', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='files_for_jobinterview', to='client.JobInterviews')), ], options={ 'verbose_name': 'Файл', 'verbose_name_plural': 'Файлы', }, ), migrations.CreateModel( name='Experience', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=100, null=True, verbose_name='organisation')), ('position', models.CharField(blank=True, max_length=100, null=True, verbose_name='position')), ('start_date', models.DateField(blank=True, null=True, verbose_name='start_date')), ('end_date', models.DateField(blank=True, null=True, verbose_name='end_date')), ('duties', models.TextField(blank=True, max_length=3000, null=True, verbose_name='duties')), ('client_exp', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Client')), ('sphere', models.ManyToManyField(to='client.Sphere', verbose_name='sphere')), ], ), migrations.CreateModel( name='Education', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('institution', models.CharField(blank=True, max_length=100, null=True, verbose_name='institution')), ('subject_area', models.CharField(blank=True, max_length=100, null=True, verbose_name='Предметная область')), ('specialization', models.CharField(blank=True, max_length=100, null=True, verbose_name='Специализация')), ('qualification', models.CharField(blank=True, max_length=100, null=True, verbose_name='Квалификация')), ('date_start', models.DateField(blank=True, null=True, verbose_name='дата начала')), ('date_end', models.DateField(blank=True, null=True, verbose_name='дата окончания')), ('client_edu', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Client')), ], ), migrations.CreateModel( name='CV', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('position', models.CharField(blank=True, max_length=100, null=True)), ('salary', models.CharField(blank=True, max_length=20, null=True)), ('client_cv', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Client')), ('direction', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.Direction')), ('employment', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.Employment')), ('notification', models.ManyToManyField( blank=True, related_name='notifications_for_resume', to='client.Vacancy')), ('time_job', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.TimeJob')), ('type_salary', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.TypeSalary')), ('vacancies_accept', models.ManyToManyField(blank=True, related_name='accept_for_resume', to='client.Vacancy')), ('vacancies_in_waiting', models.ManyToManyField(blank=True, related_name='in_waiting_for_resume', to='client.Vacancy')), ('vacancies_reject', models.ManyToManyField(blank=True, related_name='reject_for_resume', to='client.Vacancy')), ], ), migrations.AddField( model_name='client', name='family_state', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.FamilyState'), ), migrations.AddField( model_name='client', name='own_recruiter', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='recruit.Recruiter'), ), migrations.AddField( model_name='client', name='resumes', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.CV'), ), migrations.AddField( model_name='client', name='sex', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.Sex'), ), migrations.AddField( model_name='client', name='state', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.State'), ), migrations.AddField( model_name='client', name='user_client', field=models.OneToOneField( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.CreateModel( name='Certificate', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('img', models.ImageField(blank=True, null=True, upload_to='', verbose_name='certificate_img')), ('link', models.URLField(blank=True, max_length=100, null=True, verbose_name='certificate_link')), ('show_img', models.ImageField(blank=True, null=True, upload_to='')), ('education', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='client.Education')), ], ), migrations.CreateModel( name='Answer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('text', models.TextField(max_length=3000)), ('date', models.DateTimeField(auto_now_add=True)), ('opinion', models.OneToOneField( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='client.Opinion')), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] 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')), ('email', models.EmailField(blank=True, max_length=254, verbose_name='email address')), ('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')), ('hearts', models.IntegerField(default=0)), ('description', models.TextField(blank=True, null=True)), ('links', models.TextField(blank=True, null=True)), ('image', models.ImageField(blank=True, null=True, upload_to=client.models.upload_to)), ('is_moderator', models.BooleanField(default=False)), ('is_mentor', models.BooleanField(default=False)), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='Course', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.TextField()), ('name', models.TextField()), ], ), migrations.CreateModel( name='Project', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('timestamp', models.DateTimeField(auto_now_add=True)), ('name', models.TextField()), ('hearts', models.IntegerField(default=0)), ('description', models.TextField()), ], options={ 'ordering': ['timestamp'], }, ), migrations.CreateModel( name='ProjectCategory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField()), ], options={ 'verbose_name': 'Project Category', 'verbose_name_plural': 'Project Categories', }, ), migrations.CreateModel( name='ProjectComment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment', models.TextField()), ('anonymous', models.BooleanField(default=False)), ('timestamp', models.DateTimeField(auto_now_add=True, null=True)), ('project', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='client.Project')), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Project Comment', 'verbose_name_plural': 'Project Comments', }, ), migrations.CreateModel( name='ProjectJoinRequest', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('request', models.TextField()), ('timestamp', models.DateTimeField(auto_now_add=True, null=True)), ('project', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='join_requests', to='client.Project')), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='join_requests', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Project Join Request', 'verbose_name_plural': 'Project Join Requests', }, ), migrations.CreateModel( name='ProjectPost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('post', models.TextField()), ('private', models.BooleanField(default=False)), ('timestamp', models.DateTimeField(auto_now_add=True, null=True)), ('project', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts', to='client.Project')), ], options={ 'verbose_name': 'Project Post', 'verbose_name_plural': 'Project Posts', }, ), migrations.CreateModel( name='ProjectTag', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField()), ], options={ 'verbose_name': 'Project Tag', 'verbose_name_plural': 'Project Tags', }, ), migrations.CreateModel( name='UserSiteRole', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField()), ], ), migrations.AddField( model_name='project', name='category', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='client.ProjectCategory'), ), migrations.AddField( model_name='project', name='hearted_by', field=models.ManyToManyField(blank=True, related_name='hearted_projects', to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='project', name='leaders', field=models.ManyToManyField(related_name='leader_projects', to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='project', name='members', field=models.ManyToManyField(related_name='member_projects', to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='project', name='tags', field=models.ManyToManyField(blank=True, related_name='projects', to='client.ProjectTag'), ), migrations.AddField( model_name='user', name='courses', field=models.ManyToManyField(blank=True, related_name='courses', to='client.Course'), ), migrations.AddField( model_name='user', name='groups', field=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'), ), migrations.AddField( model_name='user', name='hearted_users', field=models.ManyToManyField(blank=True, related_name='hearted_by', to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='user', name='site_roles', field=models.ManyToManyField(blank=True, related_name='users', to='client.UserSiteRole'), ), migrations.AddField( model_name='user', name='user_permissions', field=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'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('league', '0001_initial'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('email', models.EmailField(max_length=254)), ('subject', models.CharField(max_length=255)), ('body', models.TextField()), ('date_created', models.DateTimeField(auto_now_add=True, db_index=True)), ], ), migrations.CreateModel( name='Director', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('title', models.CharField(max_length=255)), ('email_address', models.EmailField(max_length=254)), ('image', models.ImageField( upload_to=client.models.Director.image_path)), ('info', models.TextField()), ], ), migrations.CreateModel( name='Gallery', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(db_index=True, max_length=255)), ('image_count', models.PositiveSmallIntegerField(default=0)), ('date_created', models.DateTimeField(auto_now_add=True, db_index=True)), ('date_updated', models.DateTimeField(auto_now=True, db_index=True)), ('event', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='league.Event')), ], ), migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('path', models.ImageField(height_field='height', upload_to=client.models.Image.image_path, width_field='width')), ('width', models.PositiveSmallIntegerField()), ('height', models.PositiveSmallIntegerField()), ('date_created', models.DateTimeField(auto_now_add=True, db_index=True)), ('gallery', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Gallery')), ], ), migrations.CreateModel( name='ImageTag', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.Image')), ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='league.Player')), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(db_index=True, max_length=255)), ('body', ckeditor.fields.RichTextField()), ('blurb', models.CharField(max_length=255)), ('header', models.ImageField(upload_to=client.models.Post.header_path)), ('featured', models.BooleanField(db_index=True, default=False)), ('date_created', models.DateTimeField(auto_now_add=True, db_index=True)), ('date_updated', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='Press', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('link', models.URLField()), ('screen', models.ImageField(upload_to=client.models.Press.screen_path)), ('date_created', models.DateTimeField(auto_now_add=True, db_index=True)), ], ), migrations.CreateModel( name='Video', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(db_index=True, max_length=255)), ('youtube_id', models.CharField(max_length=255, unique=True)), ('description', models.TextField()), ('published_at', models.DateTimeField(db_index=True)), ('thumbnail', models.URLField()), ('duration', models.CharField(max_length=255)), ('event', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='league.Event')), ], ), migrations.AddField( model_name='contact', name='director', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='client.Director'), ), migrations.AlterUniqueTogether( name='imagetag', unique_together={('image', 'player')}, ), migrations.AlterUniqueTogether( name='image', unique_together={('path', 'gallery')}, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('core', '0014_auto_20170901_2110'), ('catalogo', '0005_auto_20170901_1523'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Aquivo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('upload', models.FileField(upload_to=client.models.upload_path)), ('file_name', models.CharField(max_length=255)), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='CatalogoGrupo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('valor', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='Valor')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Classe', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('title', models.CharField(max_length=255)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Departamento', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('title', models.CharField(max_length=255)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='GrupoCliente', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('uuid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)), ('title', models.CharField(max_length=200)), ('clientes', models.ManyToManyField(related_name='cgroups', to='core.Cliente')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ('produtos', models.ManyToManyField(through='client.CatalogoGrupo', to='catalogo.Produto')), ('users', models.ManyToManyField(related_name='user_groups', to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='InfoAdd', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('title', models.CharField(max_length=255)), ('texto', models.TextField()), ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.GrupoCliente')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='StatusTrail', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('status', models.PositiveSmallIntegerField(choices=[ (0, 'não liberado'), (1, 'em produção'), (2, 'liberado'), (3, 'liberado produção'), (4, 'separação'), (5, 'finalizado') ], default=0, verbose_name='Status')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Ticket', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('uuid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)), ('ativo', models.BooleanField(default=True)), ('data_entrega', models.DateTimeField()), ('data_finalizado', models.DateTimeField(blank=True, null=True)), ('data_saida', models.DateField(blank=True, null=True)), ('cliente', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Cliente')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='TicketItem', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('quantidate', models.IntegerField()), ('valor', models.DecimalField(decimal_places=2, max_digits=10)), ('valor_total', models.DecimalField(decimal_places=2, max_digits=10)), ('desconto', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)), ('desc', models.TextField(blank=True, null=True)), ('obs', models.TextField(blank=True, null=True)), ('requisitante', models.CharField(blank=True, max_length=255, null=True)), ('setor', models.CharField(blank=True, max_length=255, null=True)), ('InfoAdd', models.ManyToManyField(to='client.InfoAdd')), ('classes', models.ManyToManyField(to='client.Classe')), ('departamento', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='client.Departamento')), ('produto', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogo.Produto')), ('ticket', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='tickets', to='client.Ticket')), ], ), migrations.CreateModel( name='Tipo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criado_em', models.DateField(auto_now_add=True, null=True)), ('modificado_em', models.DateTimeField(auto_now=True, null=True)), ('title', models.CharField(max_length=255)), ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='client.GrupoCliente')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), migrations.AddField( model_name='ticketitem', name='tipo', field=models.ManyToManyField(to='client.Tipo'), ), migrations.AddField( model_name='statustrail', name='ticket', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='ticket_trails', to='client.Ticket'), ), migrations.AddField( model_name='departamento', name='group', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='client.GrupoCliente'), ), migrations.AddField( model_name='departamento', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='classe', name='group', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='client.GrupoCliente'), ), migrations.AddField( model_name='classe', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='catalogogrupo', name='grupo', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='client.GrupoCliente'), ), migrations.AddField( model_name='catalogogrupo', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='catalogogrupo', name='produto', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='catalogo.Produto'), ), migrations.AddField( model_name='aquivo', name='ticket_item', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='client.TicketItem'), ), ]