Skip to content

Commit 551b555

Browse files
author
Andrew Farries
committed
Change length of applicationCluster field
1 parent 52c2b83 commit 551b555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/gitpod-db/src/typeorm/entity/db-workspace-cluster.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class DBWorkspaceCluster implements WorkspaceCluster {
8787

8888
@Column({
8989
type: "varchar",
90-
length: 255,
90+
length: 60,
9191
})
9292
applicationCluster: string;
9393
}

components/gitpod-db/src/typeorm/migration/1665071320428-AddColumnToWorkspaceClusterTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class AddColumnToWorkspaceClusterTable1665071320428 implements MigrationI
1111
const installationShortname = process.env.GITPOD_INSTALLATION_SHORTNAME;
1212

1313
await queryRunner.query(
14-
`ALTER TABLE d_b_workspace_cluster ADD COLUMN applicationCluster varchar(255) NOT NULL DEFAULT ''`,
14+
`ALTER TABLE d_b_workspace_cluster ADD COLUMN applicationCluster varchar(60) NOT NULL DEFAULT ''`,
1515
);
1616

1717
await queryRunner.query(`UPDATE d_b_workspace_cluster SET applicationCluster = '${installationShortname}'`);

0 commit comments

Comments
 (0)