Skip to content

Commit cae15f3

Browse files
geropljankeromnes
andcommitted
Typo in transformer.ts
Co-authored-by: Jan Keromnes <[email protected]>
1 parent 03eeaa5 commit cae15f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/gitpod-db/src/typeorm/transformer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export namespace Transformer {
2828
to(value: any): any {
2929
// DROP all input values as they are set by the DB 'ON UPDATE'/ as default value.
3030
// We're relying on the system variable explicit-defaults-for-timestamp here (link: https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp):
31-
// `undefined` get's converted to NULL, which on the DB is turned into the configured default value for the column.
31+
// `undefined` gets converted to NULL, which on the DB is turned into the configured default value for the column.
3232
// In our case, that's 100% CURRENT_TIMESTAMP.
3333
// This was done initially so we don't have to make fields like `creationTime` optional, or have to use two types for the same table.
3434
return undefined;
@@ -76,4 +76,4 @@ export class CompositeValueTransformer implements ValueTransformer {
7676
from(value: any): any {
7777
return this.upper.from(this.lower.from(value));
7878
}
79-
}
79+
}

0 commit comments

Comments
 (0)