Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand All @@ -9,8 +9,8 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('globals', '0001_initial'),
('programme_curriculum', '0001_initial'),
('globals', '0001_initial'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand All @@ -11,9 +11,9 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('programme_curriculum', '0001_initial'),
('globals', '0001_initial'),
('academic_information', '0001_initial'),
('programme_curriculum', '0001_initial'),
]

operations = [
Expand Down
16 changes: 15 additions & 1 deletion FusionIIIT/applications/central_mess/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import applications.central_mess.models
import datetime
Expand Down Expand Up @@ -203,6 +203,20 @@ class Migration(migrations.Migration):
('student_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='academic_information.student')),
],
),
migrations.CreateModel(
name='Payments',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('amount_paid', models.IntegerField(default=0)),
('payment_month', models.CharField(default=applications.central_mess.models.current_month, max_length=20)),
('payment_year', models.IntegerField(default=applications.central_mess.models.current_year)),
('payment_date', models.DateField(default=datetime.date(2024, 7, 16))),
('student_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='academic_information.student')),
],
options={
'unique_together': {('student_id', 'payment_date')},
},
),
migrations.CreateModel(
name='Monthly_bill',
fields=[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/eis/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.conf import settings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/feeds/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models

Expand Down
34 changes: 4 additions & 30 deletions FusionIIIT/applications/globals/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import applications.globals.models
import datetime
Expand Down Expand Up @@ -39,7 +39,7 @@ class Migration(migrations.Migration):
('title', models.CharField(choices=[('Mr.', 'Mr.'), ('Mrs.', 'Mrs.'), ('Ms.', 'Ms.'), ('Dr.', 'Dr.'), ('Professor', 'Prof.'), ('Shreemati', 'Shreemati'), ('Shree', 'Shree')], default='Dr.', max_length=20)),
('sex', models.CharField(choices=[('M', 'Male'), ('F', 'Female'), ('O', 'Other')], default='M', max_length=2)),
('date_of_birth', models.DateField(default=datetime.date(1970, 1, 1))),
('user_status', models.CharField(choices=[('PRESENT', 'PRESENT'), ('NEW', 'NEW')], default='PRESENT', max_length=50)),
('user_status', models.CharField(choices=[('NEW', 'NEW'), ('PRESENT', 'PRESENT')], default='PRESENT', max_length=50)),
('address', models.TextField(default='', max_length=1000)),
('phone_no', models.BigIntegerField(default=9999999999, null=True)),
('user_type', models.CharField(choices=[('student', 'student'), ('staff', 'staff'), ('compounder', 'compounder'), ('faculty', 'faculty')], max_length=20)),
Expand All @@ -50,32 +50,6 @@ class Migration(migrations.Migration):
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.CreateModel(
name='ModuleAccess',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('designation', models.CharField(max_length=155)),
('program_and_curriculum', models.BooleanField(default=False)),
('course_registration', models.BooleanField(default=False)),
('course_management', models.BooleanField(default=False)),
('other_academics', models.BooleanField(default=False)),
('spacs', models.BooleanField(default=False)),
('department', models.BooleanField(default=False)),
('examinations', models.BooleanField(default=False)),
('hr', models.BooleanField(default=False)),
('iwd', models.BooleanField(default=False)),
('complaint_management', models.BooleanField(default=False)),
('fts', models.BooleanField(default=False)),
('purchase_and_store', models.BooleanField(default=False)),
('rspc', models.BooleanField(default=False)),
('hostel_management', models.BooleanField(default=False)),
('mess_management', models.BooleanField(default=False)),
('gymkhana', models.BooleanField(default=False)),
('placement_cell', models.BooleanField(default=False)),
('visitor_hostel', models.BooleanField(default=False)),
('phc', models.BooleanField(default=False)),
],
),
migrations.CreateModel(
name='Faculty',
fields=[
Expand Down Expand Up @@ -132,7 +106,7 @@ class Migration(migrations.Migration):
('working', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='current_designation', to=settings.AUTH_USER_MODEL)),
],
options={
'unique_together': {('working', 'designation'), ('user', 'designation')},
'unique_together': {('user', 'designation'), ('working', 'designation')},
},
),
]
]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/hr2/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
import django.core.validators
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/leave/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
6 changes: 3 additions & 3 deletions FusionIIIT/applications/online_cms/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand All @@ -9,9 +9,9 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('academic_information', '0001_initial'),
('globals', '0001_initial'),
('programme_curriculum', '0001_initial'),
('globals', '0001_initial'),
('academic_information', '0001_initial'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
import django.core.validators
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/ps1/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.db import migrations, models
import django.db.models.deletion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.conf import settings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.conf import settings
Expand Down Expand Up @@ -56,7 +56,7 @@ class Migration(migrations.Migration):
('year', models.IntegerField()),
('stipend', models.IntegerField()),
('staff_type', models.CharField(default='research', max_length=100)),
('start_date', models.DateField(default=datetime.date(2024, 6, 19))),
('start_date', models.DateField(default=datetime.date(2024, 7, 16))),
('end_date', models.DateField(blank=True, null=True)),
('project_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='research_procedures.projects')),
('staff_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

import datetime
from django.db import migrations, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.5 on 2024-06-19 22:14
# Generated by Django 3.1.5 on 2024-07-16 15:44

from django.conf import settings
from django.db import migrations, models
Expand Down