Skip to content

Commit 355ff7e

Browse files
JaBistDuNarrischJaBistDuNarrisch
authored andcommitted
Minor change
1 parent 2f98da0 commit 355ff7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Migrator/Providers/Impl/PostgreSQL/PostgreSQLTransformationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,12 @@ public override Column[] GetColumns(string table)
427427

428428
if (!match.Success)
429429
{
430-
throw new Exception("Postgre default value for date time: We expected single quotes around the date time string.");
430+
throw new Exception("Postgre default value for date time: We expect single quotes around the date time string.");
431431
}
432432

433433
var timeString = match.Value;
434434

435-
// We convert to UTC since we restrict to UTC on default value definition.
435+
// We convert to UTC since we restrict date time default values to UTC on default value definition.
436436
var dateTimeExtracted = DateTime.ParseExact(timeString, "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal);
437437

438438
column.DefaultValue = dateTimeExtracted;

0 commit comments

Comments
 (0)