# Generated by Django 3.2.6 on 2021-11-08 02:54

import ckeditor.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

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

    operations = [
        migrations.CreateModel(
            name='PegawaiAktif',
            fields=[
                ('nipbaru', models.CharField(db_column='NIPBARU', max_length=20, primary_key=True, serialize=False)),
                ('nip', models.CharField(db_column='NIP', max_length=20)),
                ('niplama', models.CharField(db_column='NIPLAMA', max_length=20, null=True)),
                ('nama', models.CharField(db_column='NAMA', max_length=200)),
                ('gelardepan', models.CharField(blank=True, db_column='GELARDEPAN', max_length=50, null=True)),
                ('gelarbelakang', models.CharField(blank=True, db_column='GELARBELAKANG', max_length=50, null=True)),
                ('tempatlahir', models.CharField(db_column='TEMPATLAHIR', max_length=50)),
                ('tanggallahir', models.CharField(db_column='TANGGALLAHIR', max_length=50)),
                ('usia', models.IntegerField(db_column='USIA')),
                ('kawin', models.CharField(blank=True, db_column='KAWIN', max_length=50, null=True)),
                ('kodekelamin', models.CharField(db_column='KODEKELAMIN', max_length=50)),
                ('kodeagama', models.IntegerField(db_column='KODEAGAMA')),
                ('nomorkartupegawai', models.CharField(blank=True, db_column='NOMORKARTUPEGAWAI', max_length=50, null=True)),
                ('npwp', models.CharField(blank=True, db_column='NPWP', max_length=50, null=True)),
                ('tanggalmulaijabatan', models.CharField(blank=True, db_column='TANGGALMULAIJABATAN', max_length=50, null=True)),
                ('kodejabatan', models.CharField(blank=True, db_column='KODEJABATAN', max_length=50, null=True)),
                ('esl1', models.CharField(db_column='ESL1', max_length=50)),
                ('esl2', models.CharField(db_column='ESL2', max_length=50)),
                ('esl3', models.CharField(db_column='ESL3', max_length=50)),
                ('esl4', models.CharField(db_column='ESL4', max_length=50)),
                ('esl5', models.CharField(db_column='ESL5', max_length=50)),
                ('tanggalskjabatan', models.CharField(blank=True, db_column='TANGGALSKJABATAN', max_length=50, null=True)),
                ('tanggalpelantikan', models.CharField(blank=True, db_column='TANGGALPELANTIKAN', max_length=50, null=True)),
                ('noskjabatan', models.CharField(blank=True, db_column='NOSKJABATAN', max_length=50, null=True)),
                ('namajabatan', models.CharField(blank=True, db_column='NAMAJABATAN', max_length=50, null=True)),
                ('kode_eselonisasi', models.FloatField(blank=True, db_column='KODE ESELONISASI', null=True)),
                ('peringkat', models.IntegerField(blank=True, db_column='PERINGKAT', null=True)),
                ('tanggalmulaipangkat', models.CharField(blank=True, db_column='TANGGALMULAIPANGKAT', max_length=50, null=True)),
                ('pangkatgolongan', models.CharField(blank=True, db_column='PANGKATGOLONGAN', max_length=50, null=True)),
                ('noskpangkat', models.CharField(blank=True, db_column='NOSKPANGKAT', max_length=50, null=True)),
                ('tanggalskpangkat', models.CharField(blank=True, db_column='TANGGALSKPANGKAT', max_length=50, null=True)),
                ('masakerjatahun', models.IntegerField(blank=True, db_column='MASAKERJATAHUN', null=True)),
                ('masakerjabulan', models.IntegerField(blank=True, db_column='MASAKERJABULAN', null=True)),
                ('angka_kredit', models.IntegerField(blank=True, db_column='ANGKA KREDIT', null=True)),
                ('tanggalijazah', models.CharField(blank=True, db_column='TANGGALIJAZAH', max_length=50, null=True)),
                ('nomorijazah', models.CharField(blank=True, db_column='NOMORIJAZAH', max_length=50, null=True)),
                ('jenjang', models.CharField(blank=True, db_column='JENJANG', max_length=50, null=True)),
                ('uraianpendidikan', models.CharField(blank=True, db_column='URAIANPENDIDIKAN', max_length=50, null=True)),
                ('namalembagapendidikan', models.CharField(blank=True, db_column='NAMALEMBAGAPENDIDIKAN', max_length=50, null=True)),
            ],
            options={
                'db_table': 'pegawai_aktif',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', ckeditor.fields.RichTextField()),
                ('title', models.CharField(max_length=255)),
                ('body', models.TextField(null=True)),
                ('slug', models.SlugField(unique=True)),
            ],
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('bio', models.TextField(blank=True, max_length=100)),
                ('location', models.CharField(blank=True, max_length=30)),
                ('birth_date', models.DateField(blank=True, null=True)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
