# Generated by Django 3.2.6 on 2021-11-15 03:53

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('layanan', '0002_organisasi'),
    ]

    operations = [
        migrations.CreateModel(
            name='Stakeholder',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('stakeholders', models.CharField(db_column='stakeholders', max_length=50)),
                ('ttg_dok', models.CharField(db_column='ttg_dok', max_length=100)),
                ('output', models.CharField(db_column='output', max_length=100)),
            ],
            options={
                'verbose_name_plural': 'Stakeholder',
                'db_table': 'layanan_stakeholder',
            },
        ),
        migrations.CreateModel(
            name='Dokumen',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('jns_dok', models.CharField(db_column='jns_dok', max_length=100)),
                ('no_dok', models.CharField(db_column='no_dok', max_length=100)),
                ('output', models.CharField(db_column='output', max_length=100)),
                ('tgl_mulai', models.DateField(db_column='tgl_mulai')),
                ('tgl_selesai', models.DateField(db_column='tgl_selesai')),
                ('stakeholders', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='layanan.stakeholder')),
            ],
            options={
                'verbose_name_plural': 'Dokumen',
                'db_table': 'layanan_dok_perjanjian',
            },
        ),
    ]
