mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* password retry limit * minor change in doc * test cases * fixes * lint issue * doc changes Co-authored-by: Shubhendra <withshubh@gmail.com>
17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
import { MigrationInterface, QueryRunner, TableColumn } from 'typeorm';
|
|
|
|
export class PasswordPolicyRetryCount1655320273619 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.addColumn(
|
|
'users',
|
|
new TableColumn({
|
|
name: 'password_retry_count',
|
|
type: 'smallint',
|
|
isNullable: false,
|
|
default: 0,
|
|
})
|
|
);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {}
|
|
}
|