diff --git a/.manage.py.swp b/.manage.py.swp new file mode 100644 index 0000000..b3dc27c Binary files /dev/null and b/.manage.py.swp differ diff --git a/backend/migrations/0003_mainuser.py b/backend/migrations/0003_mainuser.py new file mode 100644 index 0000000..19807e3 --- /dev/null +++ b/backend/migrations/0003_mainuser.py @@ -0,0 +1,25 @@ +# Generated by Django 4.1.2 on 2023-08-12 03:17 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('backend', '0002_student'), + ] + + operations = [ + migrations.CreateModel( + name='Mainuser', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('fullname', models.CharField(max_length=100)), + ('username', models.CharField(max_length=50)), + ('password', models.CharField(max_length=255)), + ('email', models.EmailField(max_length=254)), + ('j_number', models.IntegerField()), + ('role', models.CharField(max_length=50)), + ], + ), + ]