Commit 4b78d28 1 parent 654bc3f commit 4b78d28 Copy full SHA for 4b78d28
File tree 1 file changed +2
-0
lines changed
common/persistence/sql/sqlplugin/postgresql
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ func (pdb *db) InsertIntoVisibility(
137
137
row * sqlplugin.VisibilityRow ,
138
138
) (sql.Result , error ) {
139
139
row .StartTime = pdb .converter .ToPostgreSQLDateTime (row .StartTime )
140
+ row .ExecutionTime = pdb .converter .ToPostgreSQLDateTime (row .ExecutionTime )
140
141
return pdb .conn .ExecContext (ctx ,
141
142
templateCreateWorkflowExecutionStarted ,
142
143
row .NamespaceID ,
@@ -160,6 +161,7 @@ func (pdb *db) ReplaceIntoVisibility(
160
161
switch {
161
162
case row .CloseTime != nil && row .HistoryLength != nil :
162
163
row .StartTime = pdb .converter .ToPostgreSQLDateTime (row .StartTime )
164
+ row .ExecutionTime = pdb .converter .ToPostgreSQLDateTime (row .ExecutionTime )
163
165
closeTime := pdb .converter .ToPostgreSQLDateTime (* row .CloseTime )
164
166
return pdb .conn .ExecContext (ctx ,
165
167
templateCreateWorkflowExecutionClosed ,
You can’t perform that action at this time.
0 commit comments