The admin must be able to assign a submitted application to a pre-instructor user

This commit is contained in:
Anisha Gokhru
2024-10-21 18:46:58 +05:30
parent c0e1dee4c7
commit 3424921f3b
19 changed files with 561 additions and 10 deletions

View File

@@ -1108,4 +1108,36 @@
</column>
</addColumn>
</changeSet>
<changeSet id="21-10-2024_1" author="Harish Bagora">
<createTable tableName="assigned_applications">
<column autoIncrement="true" name="id" type="INTEGER">
<constraints nullable="false" primaryKey="true"
primaryKeyName="pk_assigned_applications"/>
</column>
<column name="user_id" type="INTEGER">
<constraints nullable="false"/>
</column>
<column name="assigned_by" type="INTEGER">
<constraints nullable="false"/>
</column>
<column name="application_id" type="INTEGER">
<constraints nullable="false" foreignKeyName="fk_application_assigned_applications" references="application(id)"/>
</column>
<column name="STATUS" type="VARCHAR(50)" />
<column name="note" type="TEXT"></column>
<column name="is_deleted" type="BOOLEAN" defaultValueBoolean="false">
<constraints nullable="false"/>
</column>
<column name="assigned_at" type="TIMESTAMP WITHOUT TIME ZONE">
<constraints nullable="false"/>
</column>
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE">
<constraints nullable="true"/>
</column>
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE">
<constraints nullable="true"/>
</column>
</createTable>
</changeSet>
</databaseChangeLog>