mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
11 lines
495 B
TypeScript
11 lines
495 B
TypeScript
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
|
|
export class ChangeReadOnDashboardColumnName1673424772525 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.renameColumn('app_group_permissions', 'read_on_dashboard', 'hide_from_dashboard');
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.renameColumn('app_group_permissions', 'hide_from_dashboard', 'read_on_dashboard');
|
|
}
|
|
}
|