mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-29 17:38:07 +00:00
* [ADD] enable pgcrypto extension * [ADD] pg_crypto migration * [REM] additional line breaks * [REM] additional line breaks Co-authored-by: vimox-shah-genea <vshah@getgenea.com>
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
|
|
export class MaybeCreateExtension1625814801415 implements MigrationInterface {
|
|
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query('CREATE EXTENSION IF NOT EXISTS pgcrypto;')
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
}
|
|
|
|
}
|