Fakultas Ilmu Komputer UI

Commit c0838914 authored by Muhammad Fauzan Fikri's avatar Muhammad Fauzan Fikri
Browse files

add migration for alamat

parent c1ff0b30
Pipeline #24919 failed with stages
in 5 minutes and 39 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 04:06
# Generated by Django 1.11.17 on 2019-11-14 07:47
from __future__ import unicode_literals
import core.lib.validators
import core.models.accounts
from django.conf import settings
import django.core.validators
......@@ -22,6 +23,8 @@ class Migration(migrations.Migration):
name='Application',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('cover_letter', models.TextField(blank=True, null=True)),
('status', models.IntegerField(default=0)),
],
),
migrations.CreateModel(
......@@ -31,11 +34,28 @@ class Migration(migrations.Migration):
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('description', models.TextField()),
('verified', models.BooleanField(default=False)),
('logo', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_company_logo_file_path)),
('alamat', models.CharField(blank=True, max_length=1000, null=True)),
('status', models.IntegerField(default=0)),
('logo', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_company_logo_file_path, validators=[core.lib.validators.validate_image_file_extension])),
('address', models.CharField(blank=True, max_length=1000, null=True)),
('category', models.CharField(default='Belum ada kategori perusahaan', max_length=140)),
('website', models.CharField(default='Belum ada link website', max_length=100)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
options={
'ordering': ['-updated'],
},
),
migrations.CreateModel(
name='Feedback',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', models.DateTimeField(auto_now_add=True)),
('title', models.CharField(blank=True, default='', max_length=100)),
('content', models.TextField()),
],
options={
'ordering': ['created'],
},
),
migrations.CreateModel(
name='Student',
......@@ -43,10 +63,29 @@ class Migration(migrations.Migration):
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('npm', models.IntegerField(unique=True, validators=[django.core.validators.MinValueValidator(100000000), django.core.validators.MaxValueValidator(9999999999)])),
('resume', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_resume_file_path)),
('phone_number', models.CharField(blank=True, db_index=True, max_length=100, null=True)),
('npm', models.IntegerField(unique=True, validators=[core.lib.validators.validate_npm])),
('resume', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_resume_file_path, validators=[core.lib.validators.validate_document_file_extension])),
('phone_number', models.CharField(blank=True, db_index=True, max_length=12, null=True, validators=[django.core.validators.RegexValidator('^0\\d{1,11}$')])),
('birth_place', models.CharField(blank=True, max_length=30, null=True)),
('birth_date', models.DateField(blank=True, null=True)),
('major', models.CharField(blank=True, max_length=30, null=True)),
('batch', models.CharField(blank=True, max_length=4, null=True)),
('show_transcript', models.BooleanField(default=False)),
('photo', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_photo_file_path, validators=[core.lib.validators.validate_image_file_extension])),
('linkedin_url', models.URLField(blank=True, null=True)),
('website_url', models.URLField(blank=True, null=True)),
('region', models.CharField(blank=True, max_length=30, null=True)),
('recommendations', models.CharField(blank=True, max_length=500, null=True)),
('ui_ux_portofolio', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_ui_ux_portofolio_file_path, validators=[core.lib.validators.validate_document_file_extension])),
('latest_work', models.CharField(blank=True, max_length=100, null=True)),
('latest_work_desc', models.TextField(blank=True, null=True)),
('intro', models.CharField(blank=True, max_length=50, null=True)),
('volunteer', models.CharField(blank=True, max_length=100, null=True)),
('alamat', models.URLField(blank=True, null=True)),
],
options={
'ordering': ['-updated'],
},
),
migrations.CreateModel(
name='Supervisor',
......@@ -57,6 +96,9 @@ class Migration(migrations.Migration):
('nip', models.IntegerField(unique=True, validators=[django.core.validators.MinValueValidator(100000000), django.core.validators.MaxValueValidator(9999999999)])),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
options={
'ordering': ['-updated'],
},
),
migrations.CreateModel(
name='Vacancy',
......@@ -66,13 +108,37 @@ class Migration(migrations.Migration):
('open_time', models.DateTimeField()),
('description', models.TextField(blank=True)),
('close_time', models.DateTimeField()),
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('name', models.CharField(max_length=100)),
('amount', models.IntegerField(null=True)),
('salary', models.IntegerField(default=0)),
('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='vacancies', to='core.Company')),
],
options={
'ordering': ['-updated'],
},
),
migrations.CreateModel(
name='VacancyMilestone',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('detail', models.TextField()),
('expected_start', models.DateField()),
('expected_finish', models.DateField()),
('vacancy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='milestones', to='core.Vacancy')),
],
),
migrations.AddField(
model_name='student',
name='applied_vacancies',
field=models.ManyToManyField(blank=True, related_name='applied_vacancies', through='core.Application', to='core.Vacancy'),
),
migrations.AddField(
model_name='student',
name='bookmarked_vacancies',
field=models.ManyToManyField(blank=True, to='core.Vacancy'),
field=models.ManyToManyField(blank=True, related_name='bookmarked_vacancies', to='core.Vacancy'),
),
migrations.AddField(
model_name='student',
......@@ -81,12 +147,16 @@ class Migration(migrations.Migration):
),
migrations.AddField(
model_name='application',
name='student_npm',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='core.Student'),
name='student',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Student'),
),
migrations.AddField(
model_name='application',
name='vacancy_id',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='core.Vacancy'),
name='vacancy',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Vacancy'),
),
migrations.AlterUniqueTogether(
name='application',
unique_together=set([('student', 'vacancy')]),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 04:31
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='application',
name='student_npm',
),
migrations.RemoveField(
model_name='application',
name='vacancy_id',
),
migrations.AddField(
model_name='student',
name='applied_vacancies',
field=models.ManyToManyField(blank=True, related_name='applied_vacancies', to='core.Vacancy'),
),
migrations.AlterField(
model_name='student',
name='bookmarked_vacancies',
field=models.ManyToManyField(blank=True, related_name='bookmarked_vacancies', to='core.Vacancy'),
),
migrations.DeleteModel(
name='Application',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 07:00
from __future__ import unicode_literals
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('core', '0002_auto_20170328_1131'),
]
operations = [
migrations.AddField(
model_name='vacancy',
name='created',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='vacancy',
name='name',
field=models.CharField(default=django.utils.timezone.now, max_length=100),
preserve_default=False,
),
migrations.AddField(
model_name='vacancy',
name='updated',
field=models.DateTimeField(auto_now=True),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 07:17
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0003_auto_20170328_1400'),
]
operations = [
migrations.RenameField(
model_name='company',
old_name='alamat',
new_name='address',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 12:04
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0004_auto_20170328_1417'),
]
operations = [
migrations.CreateModel(
name='Application',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('cover_letter', models.TextField(blank=True, null=True)),
('allow_transcript', models.BooleanField(default=True)),
],
),
migrations.RemoveField(
model_name='student',
name='applied_vacancies',
),
migrations.AddField(
model_name='student',
name='applied_vacancies',
field=models.ManyToManyField(blank=True, related_name='applied_vacancies', through='core.Application', to='core.Vacancy'),
),
migrations.AddField(
model_name='application',
name='student',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Student'),
),
migrations.AddField(
model_name='application',
name='vacancy',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Vacancy'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 12:50
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0005_auto_20170328_1904'),
]
operations = [
migrations.AlterUniqueTogether(
name='application',
unique_together=set([('student', 'vacancy')]),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-24 07:20
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0006_auto_20170328_1950'),
]
operations = [
migrations.AddField(
model_name='student',
name='batch',
field=models.CharField(blank=True, max_length=4, null=True),
),
migrations.AddField(
model_name='student',
name='birth_date',
field=models.DateField(blank=True, null=True),
),
migrations.AddField(
model_name='student',
name='birth_place',
field=models.TextField(blank=True, max_length=100, null=True),
),
migrations.AddField(
model_name='student',
name='major',
field=models.CharField(blank=True, max_length=100, null=True),
),
migrations.AddField(
model_name='student',
name='show_resume',
field=models.BooleanField(default=False),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-25 15:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0006_auto_20170328_1950'),
]
operations = [
migrations.RemoveField(
model_name='application',
name='allow_transcript',
),
migrations.AddField(
model_name='application',
name='status',
field=models.IntegerField(default=0),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-24 07:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0007_auto_20170424_0720'),
]
operations = [
migrations.AlterField(
model_name='student',
name='birth_place',
field=models.CharField(blank=True, max_length=30, null=True),
),
migrations.AlterField(
model_name='student',
name='major',
field=models.CharField(blank=True, max_length=30, null=True),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-24 09:09
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0008_auto_20170424_0725'),
]
operations = [
migrations.RenameField(
model_name='student',
old_name='show_resume',
new_name='show_transcript',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-24 13:34
from __future__ import unicode_literals
import core.models.accounts
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0009_auto_20170424_0909'),
]
operations = [
migrations.AddField(
model_name='student',
name='photo',
field=models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_photo_file_path),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-25 22:14
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0010_student_photo'),
('core', '0007_auto_20170425_1550'),
]
operations = [
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-05-02 02:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0011_merge_20170425_2214'),
]
operations = [
migrations.AlterModelOptions(
name='company',
options={'ordering': ['-updated']},
),
migrations.AlterModelOptions(
name='student',
options={'ordering': ['-updated']},
),
migrations.AlterModelOptions(
name='supervisor',
options={'ordering': ['-updated']},
),
migrations.AlterModelOptions(
name='vacancy',
options={'ordering': ['-updated']},
),
migrations.RemoveField(
model_name='company',
name='verified',
),
migrations.AddField(
model_name='company',
name='status',
field=models.IntegerField(default=0),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-06-02 04:30
from __future__ import unicode_literals
import core.lib.validators
import core.models.accounts
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0012_auto_20170502_0925'),
]
operations = [
migrations.AlterField(
model_name='company',
name='logo',
field=models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_company_logo_file_path, validators=[core.lib.validators.validate_image_file_extension]),
),
migrations.AlterField(
model_name='student',
name='photo',
field=models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_photo_file_path, validators=[core.lib.validators.validate_image_file_extension]),
),
migrations.AlterField(
model_name='student',
name='resume',
field=models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_resume_file_path, validators=[core.lib.validators.validate_document_file_extension]),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2019-10-04 06:40
from __future__ import unicode_literals
import core.lib.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0013_auto_20170602_1130'),
]
operations = [
migrations.AlterField(
model_name='student',
name='npm',
field=models.IntegerField(unique=True, validators=[core.lib.validators.validate_npm]),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2019-10-05 04:52
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0013_auto_20170602_1130'),
]
operations = [
migrations.AddField(
model_name='company',
name='category',
field=models.CharField(default=b'Belum ada kategori perusahaan', max_length=140),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2019-10-03 13:39