Done ticket GEPAFINBE-52

This commit is contained in:
nisha
2024-10-15 18:05:14 +05:30
parent b3f654540b
commit e896c6ab1b
25 changed files with 510 additions and 101 deletions

View File

@@ -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>

View File

@@ -248,5 +248,7 @@ application.signed.document.not.found=Signed document for the application not fo
delete.signed.document.file.success=Signed document deleted successfully.
dashboard.widget.fetched.successfully=Dasboard widget fetched sucessfully.
login_attempt_successfully_created = Login attempt successfully created.
get_login_attempt_se_msg=Login attempts fetched successfully.

View File

@@ -244,4 +244,6 @@ application.signed.document.not.found=Documento firmato per l'applicazione non t
delete.signed.document.file.success=Documento firmato eliminato con successo.
dashboard.widget.fetched.successfully=Widget dashboard recuperato correttamente.
login_attempt_successfully_created= Tentativo di login creato con successo.
get_login_attempt_se_msg=Lista dei tentativi di accesso recuperata correttamente.