Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ AS $function$
UPDATE OrleansStorage
SET
PayloadBinary = _PayloadBinary,
ModifiedOn = (now() at time zone 'utc'),
ModifiedOn = now(),
Comment thread
ReubenBond marked this conversation as resolved.
Resolved
Version = Version + 1

WHERE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CREATE TABLE OrleansStorage
grainidextensionstring character varying(512) ,
serviceid character varying(150) NOT NULL,
payloadbinary bytea,
modifiedon timestamp without time zone NOT NULL,
modifiedon timestamptz NOT NULL,
version integer
);

Expand Down Expand Up @@ -58,7 +58,7 @@ AS $function$
UPDATE OrleansStorage
SET
PayloadBinary = _PayloadBinary,
ModifiedOn = (now() at time zone 'utc'),
ModifiedOn = now(),
Version = Version + 1

WHERE
Expand Down Expand Up @@ -104,7 +104,7 @@ AS $function$
_GrainIdExtensionString,
_ServiceId,
_PayloadBinary,
(now() at time zone 'utc'),
now(),
1
WHERE NOT EXISTS
(
Expand Down
Loading