From 83cc8d31f9e993854b114c4112b91696eacccf0b Mon Sep 17 00:00:00 2001 From: Alex Tugarev Date: Thu, 2 Sep 2021 07:16:42 +0000 Subject: [PATCH] [db-migration] fix timestamp of AddPrebuildInfo --- ...5471-AddPrebuildInfo.ts => 1630566926740-AddPrebuildInfo.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename components/gitpod-db/src/typeorm/migration/{1628160315471-AddPrebuildInfo.ts => 1630566926740-AddPrebuildInfo.ts} (92%) diff --git a/components/gitpod-db/src/typeorm/migration/1628160315471-AddPrebuildInfo.ts b/components/gitpod-db/src/typeorm/migration/1630566926740-AddPrebuildInfo.ts similarity index 92% rename from components/gitpod-db/src/typeorm/migration/1628160315471-AddPrebuildInfo.ts rename to components/gitpod-db/src/typeorm/migration/1630566926740-AddPrebuildInfo.ts index 051e10c77f3bb9..a2c95aa3e95c4f 100644 --- a/components/gitpod-db/src/typeorm/migration/1628160315471-AddPrebuildInfo.ts +++ b/components/gitpod-db/src/typeorm/migration/1630566926740-AddPrebuildInfo.ts @@ -6,7 +6,7 @@ import {MigrationInterface, QueryRunner} from "typeorm"; -export class AddPrebuildInfo1628160315471 implements MigrationInterface { +export class AddPrebuildInfo1630566926740 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { await queryRunner.query("CREATE TABLE IF NOT EXISTS `d_b_prebuild_info` ( `prebuildId` char(36) NOT NULL, `info` text NOT NULL, `deleted` tinyint(4) NOT NULL DEFAULT '0', `_lastModified` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6), PRIMARY KEY (`prebuildId`), KEY `ind_dbsync` (`_lastModified`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;");