# Generated by Django 3.0.2 on 2020-01-14 15:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('primary', '0002_auto_20200114_1542'), ] operations = [ migrations.CreateModel( name='Akses', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('StatusAkses', models.BooleanField()), ], ), migrations.CreateModel( name='Item', fields=[ ('ItemID', models.AutoField(primary_key=True, serialize=False)), ('NamaItem', models.CharField(max_length=100)), ('StatusItem', models.BooleanField()), ('Pengguna', models.ManyToManyField(through='primary.Akses', to='primary.User')), ('Ruang', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='primary.Ruang')), ], ), migrations.AddField( model_name='akses', name='Item', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='primary.Item'), ), migrations.AddField( model_name='akses', name='User', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='primary.User'), ), ]