File tree Expand file tree Collapse file tree 5 files changed +52
-523
lines changed
packages/world-postgres/src/drizzle/migrations Expand file tree Collapse file tree 5 files changed +52
-523
lines changed Original file line number Diff line number Diff line change 1+ -- Drop deprecated error columns from workflow_runs table
2+ -- Error data is now stored as JSON in the error column
3+ ALTER TABLE " workflow_runs" DROP COLUMN IF EXISTS " error_code" ;
4+ -- > statement-breakpoint
5+
6+ -- Drop deprecated error columns from workflow_steps table
7+ ALTER TABLE " workflow_steps" DROP COLUMN IF EXISTS " error_code" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
2- "id" : " a1cbf36d-8801-4509-80c4-8bab67191377 " ,
2+ "id" : " f77ab195-d6cd-4b67-8411-14161b64275f " ,
33 "prevId" : " fbf17a09-4b7e-4939-9ee9-89ada6e197b1" ,
44 "version" : " 7" ,
55 "dialect" : " postgresql" ,
4444 "type" : " jsonb" ,
4545 "primaryKey" : false ,
4646 "notNull" : false
47+ },
48+ "payload_cbor" : {
49+ "name" : " payload_cbor" ,
50+ "type" : " bytea" ,
51+ "primaryKey" : false ,
52+ "notNull" : false
4753 }
4854 },
4955 "indexes" : {
137143 "type" : " jsonb" ,
138144 "primaryKey" : false ,
139145 "notNull" : false
146+ },
147+ "metadata_cbor" : {
148+ "name" : " metadata_cbor" ,
149+ "type" : " bytea" ,
150+ "primaryKey" : false ,
151+ "notNull" : false
140152 }
141153 },
142154 "indexes" : {
194206 "primaryKey" : false ,
195207 "notNull" : false
196208 },
209+ "output_cbor" : {
210+ "name" : " output_cbor" ,
211+ "type" : " bytea" ,
212+ "primaryKey" : false ,
213+ "notNull" : false
214+ },
197215 "deployment_id" : {
198216 "name" : " deployment_id" ,
199217 "type" : " varchar" ,
219237 "primaryKey" : false ,
220238 "notNull" : false
221239 },
240+ "execution_context_cbor" : {
241+ "name" : " execution_context_cbor" ,
242+ "type" : " bytea" ,
243+ "primaryKey" : false ,
244+ "notNull" : false
245+ },
222246 "input" : {
223247 "name" : " input" ,
224248 "type" : " jsonb" ,
225249 "primaryKey" : false ,
226- "notNull" : true
250+ "notNull" : false
251+ },
252+ "input_cbor" : {
253+ "name" : " input_cbor" ,
254+ "type" : " bytea" ,
255+ "primaryKey" : false ,
256+ "notNull" : false
227257 },
228258 "error" : {
229259 "name" : " error" ,
330360 "name" : " input" ,
331361 "type" : " jsonb" ,
332362 "primaryKey" : false ,
333- "notNull" : true
363+ "notNull" : false
364+ },
365+ "input_cbor" : {
366+ "name" : " input_cbor" ,
367+ "type" : " bytea" ,
368+ "primaryKey" : false ,
369+ "notNull" : false
334370 },
335371 "output" : {
336372 "name" : " output" ,
337373 "type" : " jsonb" ,
338374 "primaryKey" : false ,
339375 "notNull" : false
340376 },
377+ "output_cbor" : {
378+ "name" : " output_cbor" ,
379+ "type" : " bytea" ,
380+ "primaryKey" : false ,
381+ "notNull" : false
382+ },
341383 "error" : {
342384 "name" : " error" ,
343385 "type" : " text" ,
You can’t perform that action at this time.
0 commit comments