fix: fixes migration execution
This commit is contained in:
@@ -2,7 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|||||||
|
|
||||||
export class AddsBaseTriggers1775011588385 implements MigrationInterface {
|
export class AddsBaseTriggers1775011588385 implements MigrationInterface {
|
||||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
queryRunner.query(`
|
await queryRunner.query(`
|
||||||
CREATE OR REPLACE FUNCTION set_updated_at()
|
CREATE OR REPLACE FUNCTION set_updated_at()
|
||||||
RETURNS TRIGGER AS $$
|
RETURNS TRIGGER AS $$
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|||||||
Reference in New Issue
Block a user