diff --git a/components/gitpod-db/src/typeorm/migration/1695810605786-TeamDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695810605786-TeamDropDeleted.ts index 2842215ae0a7b1..fab031a85d1b1e 100644 --- a/components/gitpod-db/src/typeorm/migration/1695810605786-TeamDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695810605786-TeamDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class TeamDropDeleted1695810605786 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695817445588-ProjectDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695817445588-ProjectDropDeleted.ts index 6a6903a9b5f35c..88a8c6a0b382f4 100644 --- a/components/gitpod-db/src/typeorm/migration/1695817445588-ProjectDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695817445588-ProjectDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class ProjectDropDeleted1695817445588 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695820427730-TokenEntryDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695820427730-TokenEntryDropDeleted.ts index c09840b6d69c11..9c719ee14ec5fb 100644 --- a/components/gitpod-db/src/typeorm/migration/1695820427730-TokenEntryDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695820427730-TokenEntryDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class TokenEntryDropDeleted1695820427730 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695820658574-AuthProviderEntryDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695820658574-AuthProviderEntryDropDeleted.ts index 6c9ff6e30fafaa..f189589c82274d 100644 --- a/components/gitpod-db/src/typeorm/migration/1695820658574-AuthProviderEntryDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695820658574-AuthProviderEntryDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class AuthProviderEntryDropDeleted1695820658574 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695821079717-GitpodTokenDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695821079717-GitpodTokenDropDeleted.ts index c7ea7528e9c928..9c6b169f723eed 100644 --- a/components/gitpod-db/src/typeorm/migration/1695821079717-GitpodTokenDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695821079717-GitpodTokenDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class GitpodTokenDropDeleted1695821079717 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695821464987-TeamMembershipDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695821464987-TeamMembershipDropDeleted.ts index e3c35bd7238378..b441f5556424a4 100644 --- a/components/gitpod-db/src/typeorm/migration/1695821464987-TeamMembershipDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695821464987-TeamMembershipDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class TeamMembershipDropDeleted1695821464987 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695821957148-ProjectUsageDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695821957148-ProjectUsageDropDeleted.ts index e183ddb62d30cd..fa17df8750e32c 100644 --- a/components/gitpod-db/src/typeorm/migration/1695821957148-ProjectUsageDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695821957148-ProjectUsageDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class ProjectUsageDropDeleted1695821957148 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } } diff --git a/components/gitpod-db/src/typeorm/migration/1695822248160-UserSshPublicKeyDropDeleted.ts b/components/gitpod-db/src/typeorm/migration/1695822248160-UserSshPublicKeyDropDeleted.ts index f633c3e1f48537..b01c1593221bba 100644 --- a/components/gitpod-db/src/typeorm/migration/1695822248160-UserSshPublicKeyDropDeleted.ts +++ b/components/gitpod-db/src/typeorm/migration/1695822248160-UserSshPublicKeyDropDeleted.ts @@ -13,14 +13,14 @@ const COLUMN_NAME = "deleted"; export class UserSshPublicKeyDropDeleted1695822248160 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { if (await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME)) { - await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\`, ALGORITHM=INSTANT`); + await queryRunner.query(`ALTER TABLE \`${TABLE_NAME}\` DROP COLUMN \`${COLUMN_NAME}\``); } } public async down(queryRunner: QueryRunner): Promise { if (!(await columnExists(queryRunner, TABLE_NAME, COLUMN_NAME))) { await queryRunner.query( - `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0', ALGORITHM=INSTANT`, + `ALTER TABLE \`${TABLE_NAME}\` ADD COLUMN \`${COLUMN_NAME}\` tinyint(4) NOT NULL DEFAULT '0'`, ); } }