Done ticket GEPAFINBE-52
This commit is contained in:
@@ -1052,4 +1052,35 @@
|
||||
path="db/dump/update_system_email_template_of_application_submission.sql" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="15-10-2024" author="Nisha Kashyap">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<tableExists tableName="login_attempt" />
|
||||
</not>
|
||||
</preConditions>
|
||||
<createTable tableName="login_attempt">
|
||||
<column autoIncrement="true" name="id" type="INTEGER">
|
||||
<constraints nullable="false" primaryKey="true"
|
||||
primaryKeyName="login_attempt_pkey" />
|
||||
</column>
|
||||
<column name="username" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="user_id" type="INTEGER" />
|
||||
<column name="attempt_date" type="TIMESTAMP WITHOUT TIME ZONE" >
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="ip_address" type="VARCHAR(100)" />
|
||||
<column name="user_agent" type="VARCHAR(255)" />
|
||||
<column name="result" type="VARCHAR(100)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="attempt_type" type="VARCHAR(100)" defaultValue="LOGIN">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="error_msg" type="VARCHAR(255)" />
|
||||
</createTable>
|
||||
</changeSet>
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
Reference in New Issue
Block a user