Fakultas Ilmu Komputer UI

Commit 8317328d authored by Ryan Karyadiputera's avatar Ryan Karyadiputera
Browse files

test

parent 3c74b75f
Pipeline #73894 passed with stage
in 2 minutes and 19 seconds
# Generated by Django 3.0.3 on 2020-06-03 12:43
from django.conf import settings
import django.contrib.auth.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
('lembaga', '0001_initial'),
('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')),
('full_name', models.CharField(max_length=150, verbose_name='full name')),
('role', models.CharField(max_length=50, verbose_name='role')),
('email', models.EmailField(error_messages={'unique': 'A user with that email already exists.'}, max_length=254, unique=True, 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')),
('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',
},
),
migrations.CreateModel(
name='Periode',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nama', models.CharField(max_length=50, verbose_name='nama')),
],
options={
'verbose_name': 'periode',
'verbose_name_plural': 'periode',
},
),
migrations.CreateModel(
name='SupervisorSekolah',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nip', models.CharField(blank=True, max_length=12, verbose_name='nip')),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_sekolah', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'supervisor_sekolah',
'verbose_name_plural': 'supervisor_sekolah',
},
),
migrations.CreateModel(
name='SupervisorLembaga',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('jabatan', models.CharField(max_length=150, verbose_name='jabatan')),
('lembaga', models.ForeignKey(default='Tidak ada lembaga', on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_lembaga', to='lembaga.Lembaga')),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_lembaga', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'supervisor_lembaga',
'verbose_name_plural': 'supervisor_lembaga',
},
),
migrations.CreateModel(
name='Mahasiswa',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('org_code', models.CharField(blank=True, max_length=11, verbose_name='organization_code')),
('npm', models.CharField(blank=True, max_length=10, verbose_name='npm')),
('faculty', models.CharField(blank=True, max_length=128, verbose_name='faculty')),
('major', models.CharField(blank=True, max_length=128, verbose_name='major')),
('program', models.CharField(blank=True, max_length=128, verbose_name='program')),
('periode', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='periode', to='authentication.Periode')),
('supervisor_lembaga', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mahasiswa', to='authentication.SupervisorLembaga', to_field='user')),
('supervisor_sekolah', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mahasiswa', to='authentication.SupervisorSekolah', to_field='user')),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='mahasiswa', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'mahasiswa',
'verbose_name_plural': 'mahasiswa',
},
),
migrations.CreateModel(
name='KoordinatorKuliah',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nip', models.CharField(max_length=12, verbose_name='nip')),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='koordinator_kuliah', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'koordinator_kuliah',
'verbose_name_plural': 'koordinator_kuliah',
},
),
migrations.CreateModel(
name='Administrator',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nip', models.CharField(max_length=12, verbose_name='nip')),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='administrator', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'administrator',
'verbose_name_plural': 'administrator',
},
),
]
# Generated by Django 3.0.3 on 2020-06-07 21:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('authentication', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Config',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.CharField(max_length=200, verbose_name='key')),
('value', models.CharField(max_length=200, verbose_name='key')),
],
options={
'verbose_name': 'config',
'verbose_name_plural': 'configs',
},
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:49
import django.contrib.auth.models
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0002_config'),
]
operations = [
migrations.AlterModelManagers(
name='user',
managers=[
('objects', django.contrib.auth.models.UserManager()),
],
),
]
# Generated by Django 3.1.3 on 2020-11-13 10:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0003_auto_20201113_0949'),
]
operations = [
migrations.DeleteModel(
name='User',
),
]
# Generated by Django 3.0.3 on 2020-06-03 12:43
from django.db import migrations, models
import django.db.models.deletion
import laporan_praktikum.models
class Migration(migrations.Migration):
initial = True
dependencies = [
('authentication', '0001_initial'),
('lembaga', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Praktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('jenis_praktikum', models.CharField(default='Praktikum 1', max_length=255, unique=True)),
],
),
migrations.CreateModel(
name='TemplateBorangPenilaianPraktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('t_borang_supv_sekolah', models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang)),
('t_borang_supv_lembaga', models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang)),
('t_borang_supv_perkuliahan', models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang)),
('supervisor_sekolah', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='template_borang', to='authentication.SupervisorSekolah', to_field='user')),
],
),
migrations.CreateModel(
name='MahasiswaPraktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('status', models.BooleanField(default=False)),
('list_praktikum', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='mahasiswa_praktikum', to='laporan_praktikum.Praktikum', to_field='jenis_praktikum')),
('mahasiswa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='mahasiswa_praktikum', to='authentication.Mahasiswa', to_field='user')),
],
),
migrations.CreateModel(
name='LaporanBorangPraktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nama_laporan', models.CharField(max_length=255)),
('waktu_deadline', models.DateTimeField(blank=True, null=True)),
('waktu_submisi', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_sekolah', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_lembaga', models.DateTimeField(blank=True, null=True)),
('status_publikasi', models.BooleanField(default=False)),
('status_submisi', models.BooleanField(default=False)),
('skor_laporan_sekolah', models.IntegerField(default=-1)),
('skor_laporan_lembaga', models.IntegerField(default=-1)),
('borang_supv_sekolah', models.FileField(blank=True, null=True, upload_to='')),
('borang_supv_lembaga', models.FileField(blank=True, null=True, upload_to='')),
('borang_supv_perkuliahan', models.FileField(blank=True, null=True, upload_to='')),
('jenis_praktikum', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='laporan_borang', to='laporan_praktikum.Praktikum', to_field='jenis_praktikum')),
('mahasiswa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='laporan_borang', to='authentication.Mahasiswa', to_field='user')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='LaporanAkhirPraktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nama_laporan', models.CharField(max_length=255)),
('waktu_deadline', models.DateTimeField(blank=True, null=True)),
('waktu_submisi', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_sekolah', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_lembaga', models.DateTimeField(blank=True, null=True)),
('status_publikasi', models.BooleanField(default=False)),
('status_submisi', models.BooleanField(default=False)),
('skor_laporan_sekolah', models.IntegerField(default=-1)),
('skor_laporan_lembaga', models.IntegerField(default=-1)),
('periode_praktikum', models.CharField(blank=True, default=' ', max_length=50)),
('laporan_akhir', models.FileField(blank=True, null=True, upload_to='')),
('profil_lembaga', models.FileField(blank=True, null=True, upload_to='')),
('umpan_balik', models.CharField(blank=True, default=' ', max_length=255)),
('jenis_praktikum', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='laporan_akhir', to='laporan_praktikum.Praktikum', to_field='jenis_praktikum')),
('lembaga', models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='laporan_akhir_set_lembaga', to='lembaga.Lembaga')),
('mahasiswa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='laporan_akhir', to='authentication.Mahasiswa', to_field='user')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='KelolaLaporanPraktikum',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nama_laporan', models.CharField(max_length=255)),
('waktu_deadline', models.DateTimeField(blank=True, null=True)),
('waktu_submisi', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_sekolah', models.DateTimeField(blank=True, null=True)),
('waktu_nilai_supv_lembaga', models.DateTimeField(blank=True, null=True)),
('status_publikasi', models.BooleanField(default=False)),
('status_submisi', models.BooleanField(default=False)),
('skor_laporan_sekolah', models.IntegerField(default=-1)),
('skor_laporan_lembaga', models.IntegerField(default=-1)),
('link_submisi', models.URLField(blank=True, max_length=255, null=True)),
('jenis_praktikum', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='kelola_laporan', to='laporan_praktikum.Praktikum', to_field='jenis_praktikum')),
('mahasiswa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='kelola_laporan', to='authentication.Mahasiswa', to_field='user')),
],
options={
'abstract': False,
},
),
]
# Generated by Django 3.0.3 on 2020-06-03 14:50
from django.db import migrations, models
import laporan_praktikum.models
class Migration(migrations.Migration):
dependencies = [
('laporan_praktikum', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_lembaga',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage, upload_to=''),
),
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_perkuliahan',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage, upload_to=''),
),
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_sekolah',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage, upload_to=''),
),
]
# Generated by Django 3.0.3 on 2020-06-03 14:51
from django.db import migrations, models
import laporan_praktikum.models
class Migration(migrations.Migration):
dependencies = [
('laporan_praktikum', '0002_auto_20200603_1450'),
]
operations = [
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_lembaga',
field=models.FileField(blank=True, null=True, upload_to=''),
),
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_perkuliahan',
field=models.FileField(blank=True, null=True, upload_to=''),
),
migrations.AlterField(
model_name='laporanborangpraktikum',
name='borang_supv_sekolah',
field=models.FileField(blank=True, null=True, upload_to=''),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_lembaga',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage,
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_perkuliahan',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage,
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_sekolah',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage,
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
]
# Generated by Django 3.0.3 on 2020-06-03 14:55
from django.db import migrations, models
import laporan_praktikum.models
class Migration(migrations.Migration):
dependencies = [
('laporan_praktikum', '0003_auto_20200603_1451'),
]
operations = [
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_lembaga',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage(),
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_perkuliahan',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage(),
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_sekolah',
field=models.FileField(blank=True, null=True, storage=laporan_praktikum.models.OverwriteStorage(),
upload_to=laporan_praktikum.models.dir_path_template_borang),
),
]
# Generated by Django 3.0.3 on 2020-06-03 19:44
from django.db import migrations, models
import laporan_praktikum.models
class Migration(migrations.Migration):
dependencies = [
('laporan_praktikum', '0004_auto_20200603_1455'),
]
operations = [
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_lembaga',
field=models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_perkuliahan',
field=models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang),
),
migrations.AlterField(
model_name='templateborangpenilaianpraktikum',
name='t_borang_supv_sekolah',
field=models.FileField(blank=True, null=True, upload_to=laporan_praktikum.models.dir_path_template_borang),
),
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment