ToolJet/server/migrations/1747923859030-AddEnabledColumnProviderTable.ts
Rohan Lahori e6dcc241e0
Feature edit git pulled apps/pre release (#13003)
* init

* ee git-sync

* dependancies

* added octokit depedencies to server directory

* module fixes

* fixes

* fixes

* pull app changes fix

* ability factory fixes

* code restructuring changes

* added gitlab backend changes

* app git module fixes

* module file changes

* added logo images

* migration

* migration

* migration changes

* added migration to remove enabledflag from parent table

* provider and migration fixes

* removed comments

* revert appimport export changes

* Revert "revert appimport export changes"

This reverts commit b139db811e.

* fixed version rename api calls

* app/version rename commit fixes

* added builder permissions

* review comment changes

* module file and service fixes

* module fixes

* fixes

* fixed module file changes

* added git-sync repository

* fixed app-git imports

* removed injected ssh,https, gitlab repositories

* added app git sync repository (dev testing pending)

* removed more modules

* removed type orm completley (dev testing pending)

* fixed module file

* removed unused dto's

* working

* fixes

* removed comments

* migration changes

* removed node git package

* changed default branch to main

* ssh

* removed apps ability factory dependencies

* minor changes

* migration fixes

* fixes

* added events for app and version rename

* removed comments

* added license checks

* listener fixes

* removed unused files

* fixed db:reset and server issues

* fixed ce and ee migration

* submoudle commits

* migration and entity changes

* module changes

* backend changes for edit app functionality

* ui changes

* added app canvas banner

* api-fix for freeze-editor apis

* header changes

* fix for delete version failing

* minor ui fix

* minor changes

* reverts

* reverts

* fixes

* fixed imports

* removed consoles

* added separate data migration for migrating provider column values

* fix

* fixes

* fixed ui breaking

* fix

* added app canvas banner in ce

---------

Co-authored-by: Rudra deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: rohan <rohan@gmail.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2025-06-25 12:06:04 +05:30

19 lines
703 B
TypeScript

import { MigrationInterface, QueryRunner } from 'typeorm';
export class AddEnabledColumnProviderTable1747923859030 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
ALTER TABLE "organization_git_ssh" ADD COLUMN IF NOT EXISTS "is_enabled" boolean DEFAULT FALSE;
`);
await queryRunner.query(`
ALTER TABLE "organization_git_https" ADD COLUMN IF NOT EXISTS "is_enabled" boolean DEFAULT FALSE;
`);
await queryRunner.query(`
ALTER TABLE "organization_gitlab" ADD COLUMN IF NOT EXISTS "is_enabled" boolean DEFAULT FALSE;
`);
}
public async down(queryRunner: QueryRunner): Promise<void> {}
}