Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Feb 27, 2024
1 parent ec32b34 commit a692b5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow/connectors/postgres/qrep_sql_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ func (s *QRepStagingTableSync) SyncQRepRecords(
newColumns = append(newColumns, fmt.Sprintf("%s %s", QuoteIdentifier(field.Name),
qValueKindToPostgresType(string(field.Type))))
}
newColumns = append(newColumns, fmt.Sprintf("%s TIMESTAMP DEFAULT CURRENT_TIMESTAMP",
QuoteIdentifier(syncedAtCol)))
newColumns = append(newColumns, QuoteIdentifier(syncedAtCol)+" TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
_, err := tx.Exec(ctx, fmt.Sprintf("CREATE UNLOGGED TABLE %s (%s);",
overwriteTempTableIdentifier,
strings.Join(newColumns, ", "),
Expand Down

0 comments on commit a692b5a

Please sign in to comment.