Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
db/transfer/migrations/000003_trace_context.up.sql · Payments Backend: Go Microservices | Codewise
Payments Backend: Go Microservices
payments
/
db
/
transfer
/
migrations
/
000003_trace_context.up.sql
main
000003_trace_context.up.sql
8 lines, 273 B
Raw
1
BEGIN
;
2
3
-- The trace each transfer, and each event, was written in: the saga's steps
4
-- and the relay carry it on.
5
ALTER
TABLE
transfers
ADD
COLUMN trace_context jsonb
NOT NULL
DEFAULT
'{}'
;
6
ALTER
TABLE
outbox
ADD
COLUMN trace_context jsonb
NOT NULL
DEFAULT
'{}'
;
7
8
COMMIT
;