Standardized the upsert and delete pattern across the repo.

This commit is contained in:
2026-10-09 15:09:04 +02:00
parent 4a84c8330a
commit 66984567f8
30 changed files with 776 additions and 386 deletions
@@ -0,0 +1,88 @@
{
"db_name": "PostgreSQL",
"query": "\n DELETE FROM transactions\n WHERE id = $1\n RETURNING id, account_id, amount_cents, direction, date, description\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "transactions",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "account_id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "transactions",
"name": "account_id"
}
}
},
{
"ordinal": 2,
"name": "amount_cents",
"type_info": "Int8",
"origin": {
"Table": {
"table": "transactions",
"name": "amount_cents"
}
}
},
{
"ordinal": 3,
"name": "direction",
"type_info": "Text",
"origin": {
"Table": {
"table": "transactions",
"name": "direction"
}
}
},
{
"ordinal": 4,
"name": "date",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "transactions",
"name": "date"
}
}
},
{
"ordinal": 5,
"name": "description",
"type_info": "Text",
"origin": {
"Table": {
"table": "transactions",
"name": "description"
}
}
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false,
false
]
},
"hash": "0c75096fe78c303e4676880840fc768b4150dfb9a0654229bf6581bd67494eb3"
}
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO user_app_secrets (id, app_id, secret_hash, expires_at)\n VALUES ($1, $2, $3, $4)\n ON CONFLICT (id, app_id) DO UPDATE SET\n secret_hash = EXCLUDED.secret_hash,\n expires_at = EXCLUDED.expires_at\n RETURNING WITH (OLD AS old_row, NEW AS new_row)\n old_row.id AS \"old_id?\",\n new_row.id AS \"id!\",\n new_row.app_id AS \"app_id!\",\n new_row.secret_hash AS \"secret_hash!\",\n new_row.expires_at AS \"expires_at!\",\n new_row.created_at AS \"created_at!\"\n ",
"query": "\n INSERT INTO user_app_secrets (id, app_id, secret_hash, expires_at)\n VALUES ($1, $2, $3, $4)\n ON CONFLICT (id, app_id) DO UPDATE SET\n secret_hash = EXCLUDED.secret_hash,\n expires_at = EXCLUDED.expires_at\n RETURNING WITH (OLD AS old_row, NEW AS new_row)\n old_row.id AS \"old_id?\",\n COALESCE(old_row.app_id, new_row.app_id) AS \"old_app_id!\",\n COALESCE(old_row.secret_hash, new_row.secret_hash) AS \"old_secret_hash!\",\n COALESCE(old_row.expires_at, new_row.expires_at) AS \"old_expires_at!\",\n COALESCE(old_row.created_at, new_row.created_at) AS \"old_created_at!\",\n new_row.id AS \"id!\",\n new_row.app_id AS \"app_id!\",\n new_row.secret_hash AS \"secret_hash!\",\n new_row.expires_at AS \"expires_at!\",\n new_row.created_at AS \"created_at!\"\n ",
"describe": {
"columns": [
{
@@ -16,6 +16,30 @@
},
{
"ordinal": 1,
"name": "old_app_id!",
"type_info": "Uuid",
"origin": "Expression"
},
{
"ordinal": 2,
"name": "old_secret_hash!",
"type_info": "Bytea",
"origin": "Expression"
},
{
"ordinal": 3,
"name": "old_expires_at!",
"type_info": "Timestamptz",
"origin": "Expression"
},
{
"ordinal": 4,
"name": "old_created_at!",
"type_info": "Timestamptz",
"origin": "Expression"
},
{
"ordinal": 5,
"name": "id!",
"type_info": "Uuid",
"origin": {
@@ -26,7 +50,7 @@
}
},
{
"ordinal": 2,
"ordinal": 6,
"name": "app_id!",
"type_info": "Uuid",
"origin": {
@@ -37,7 +61,7 @@
}
},
{
"ordinal": 3,
"ordinal": 7,
"name": "secret_hash!",
"type_info": "Bytea",
"origin": {
@@ -48,7 +72,7 @@
}
},
{
"ordinal": 4,
"ordinal": 8,
"name": "expires_at!",
"type_info": "Timestamptz",
"origin": {
@@ -59,7 +83,7 @@
}
},
{
"ordinal": 5,
"ordinal": 9,
"name": "created_at!",
"type_info": "Timestamptz",
"origin": {
@@ -80,6 +104,10 @@
},
"nullable": [
false,
null,
null,
null,
null,
false,
false,
false,
@@ -87,5 +115,5 @@
false
]
},
"hash": "594090231079a7874dbe6d8b9696c92e30ca688f496cc02c79f265f870540153"
"hash": "18f30fc05dd48c2c65659cf16f167207303707d544f8bede6407790d97c8b927"
}
@@ -0,0 +1,77 @@
{
"db_name": "PostgreSQL",
"query": "\n DELETE FROM user_app_secrets\n WHERE app_id = $1 AND id = $2\n RETURNING id, app_id, secret_hash, expires_at, created_at\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "app_id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "app_id"
}
}
},
{
"ordinal": 2,
"name": "secret_hash",
"type_info": "Bytea",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "secret_hash"
}
}
},
{
"ordinal": 3,
"name": "expires_at",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "expires_at"
}
}
},
{
"ordinal": 4,
"name": "created_at",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "created_at"
}
}
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "209942ca0122a766d9170ceb6e53171788ff889717615205cbc6f8bde9a2fe63"
}
@@ -1,28 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM recurring_transactions WHERE id = $1 RETURNING id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "id"
}
}
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "20f1027f06ea416d4f0d0a5b231ec8dde2291c3c49a937a8fa4612646e191420"
}
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO transactions (id, account_id, amount_cents, direction, date, description)\n VALUES ($1, $2, $3, $4, $5, $6)\n\t\tON CONFLICT (id) DO UPDATE SET\n account_id = EXCLUDED.account_id,\n\t\t\tamount_cents = EXCLUDED.amount_cents,\n\t\t\tdirection = EXCLUDED.direction,\n\t\t\tdate = EXCLUDED.date,\n\t\t\tdescription = EXCLUDED.description\n\t\tRETURNING WITH (OLD AS old_row, NEW AS new_row)\n\t\t\told_row.id AS \"old_id?\",\n\t\t\tnew_row.id AS \"id!\",\n new_row.account_id AS \"account_id!\",\n\t\t\tnew_row.amount_cents AS \"amount_cents!\",\n\t\t\tnew_row.direction AS \"direction!\",\n\t\t\tnew_row.date AS \"date!\",\n\t\t\tnew_row.description AS \"description!\"\n\t\t",
"query": "\n INSERT INTO transactions (id, account_id, amount_cents, direction, date, description)\n VALUES ($1, $2, $3, $4, $5, $6)\n\t\tON CONFLICT (id) DO UPDATE SET\n account_id = EXCLUDED.account_id,\n\t\t\tamount_cents = EXCLUDED.amount_cents,\n\t\t\tdirection = EXCLUDED.direction,\n\t\t\tdate = EXCLUDED.date,\n\t\t\tdescription = EXCLUDED.description\n\t\tRETURNING WITH (OLD AS old_row, NEW AS new_row)\n\t\t\told_row.id AS \"old_id?\",\n\t\t\tCOALESCE(old_row.account_id, new_row.account_id) AS \"old_account_id!\",\n\t\t\tCOALESCE(old_row.amount_cents, new_row.amount_cents) AS \"old_amount_cents!\",\n\t\t\tCOALESCE(old_row.direction, new_row.direction) AS \"old_direction!\",\n\t\t\tCOALESCE(old_row.date, new_row.date) AS \"old_date!\",\n\t\t\tCOALESCE(old_row.description, new_row.description) AS \"old_description!\",\n\t\t\tnew_row.id AS \"id!\",\n new_row.account_id AS \"account_id!\",\n\t\t\tnew_row.amount_cents AS \"amount_cents!\",\n\t\t\tnew_row.direction AS \"direction!\",\n\t\t\tnew_row.date AS \"date!\",\n\t\t\tnew_row.description AS \"description!\"\n\t\t",
"describe": {
"columns": [
{
@@ -16,6 +16,36 @@
},
{
"ordinal": 1,
"name": "old_account_id!",
"type_info": "Uuid",
"origin": "Expression"
},
{
"ordinal": 2,
"name": "old_amount_cents!",
"type_info": "Int8",
"origin": "Expression"
},
{
"ordinal": 3,
"name": "old_direction!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 4,
"name": "old_date!",
"type_info": "Timestamptz",
"origin": "Expression"
},
{
"ordinal": 5,
"name": "old_description!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 6,
"name": "id!",
"type_info": "Uuid",
"origin": {
@@ -26,7 +56,7 @@
}
},
{
"ordinal": 2,
"ordinal": 7,
"name": "account_id!",
"type_info": "Uuid",
"origin": {
@@ -37,7 +67,7 @@
}
},
{
"ordinal": 3,
"ordinal": 8,
"name": "amount_cents!",
"type_info": "Int8",
"origin": {
@@ -48,7 +78,7 @@
}
},
{
"ordinal": 4,
"ordinal": 9,
"name": "direction!",
"type_info": "Text",
"origin": {
@@ -59,7 +89,7 @@
}
},
{
"ordinal": 5,
"ordinal": 10,
"name": "date!",
"type_info": "Timestamptz",
"origin": {
@@ -70,7 +100,7 @@
}
},
{
"ordinal": 6,
"ordinal": 11,
"name": "description!",
"type_info": "Text",
"origin": {
@@ -93,6 +123,11 @@
},
"nullable": [
false,
null,
null,
null,
null,
null,
false,
false,
false,
@@ -101,5 +136,5 @@
false
]
},
"hash": "8999f47eebb460120538c7d2bdbb40dadf634e98977ae59d2398579f9be82d6f"
"hash": "26a5b764d38ca78508087d1e793ae81530064a3ae661ff3c73c7cd686097aa81"
}
@@ -1,29 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM user_app_secrets WHERE app_id = $1 AND id = $2 RETURNING id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "user_app_secrets",
"name": "id"
}
}
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "28650c14def0b3089a1c6f10d9947581bbc02bdac145f58d3c97d1d11671f949"
}
@@ -1,28 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM transactions WHERE id = $1 RETURNING id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "transactions",
"name": "id"
}
}
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "3093183e1ab856c510b7a6a32c05210f18f845cb70fc3e5882dd38db4f23ec14"
}
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n\t\tINSERT INTO accounts (id, name)\n\t\tVALUES ($1, $2)\n\t\tON CONFLICT (id) DO UPDATE SET\n\t\t\tname = EXCLUDED.name\n\t\tRETURNING WITH (OLD AS old_row, NEW AS new_row)\n\t\t\told_row.id AS \"old_id?\",\n\t\t\tnew_row.id AS \"id!\",\n\t\t\tnew_row.name AS \"name!\"\n\t\t",
"query": "\n\t\tINSERT INTO accounts (id, name)\n\t\tVALUES ($1, $2)\n\t\tON CONFLICT (id) DO UPDATE SET\n\t\t\tname = EXCLUDED.name\n\t\tRETURNING WITH (OLD AS old_row, NEW AS new_row)\n\t\t\told_row.id AS \"old_id?\",\n\t\t\tCOALESCE(old_row.name, new_row.name) AS \"old_name!\",\n\t\t\tnew_row.id AS \"id!\",\n\t\t\tnew_row.name AS \"name!\"\n\t\t",
"describe": {
"columns": [
{
@@ -16,6 +16,12 @@
},
{
"ordinal": 1,
"name": "old_name!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 2,
"name": "id!",
"type_info": "Uuid",
"origin": {
@@ -26,7 +32,7 @@
}
},
{
"ordinal": 2,
"ordinal": 3,
"name": "name!",
"type_info": "Text",
"origin": {
@@ -45,9 +51,10 @@
},
"nullable": [
false,
null,
false,
false
]
},
"hash": "ab6330c86c647fc7b8085152087066269b95eab3d60ad9d97219e93686a85a55"
"hash": "3b4b5bac598a8ef53be0c31ae751fb7e69f2e0b2ee18d628035fc198dadb4b9c"
}
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO recurring_transactions (\n id,\n name,\n account_id,\n amount_cents,\n direction,\n starts_at,\n ends_at,\n recurrence_every,\n recurrence_unit,\n weekend_adjustment\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)\n ON CONFLICT (id) DO UPDATE SET\n name = EXCLUDED.name,\n account_id = EXCLUDED.account_id,\n amount_cents = EXCLUDED.amount_cents,\n direction = EXCLUDED.direction,\n starts_at = EXCLUDED.starts_at,\n ends_at = EXCLUDED.ends_at,\n recurrence_every = EXCLUDED.recurrence_every,\n recurrence_unit = EXCLUDED.recurrence_unit,\n weekend_adjustment = EXCLUDED.weekend_adjustment\n RETURNING WITH (OLD AS old_row, NEW AS new_row)\n old_row.id AS \"old_id?\",\n new_row.id AS \"id!\",\n new_row.name AS \"name!\",\n new_row.account_id AS \"account_id!\",\n new_row.amount_cents AS \"amount_cents!\",\n new_row.direction AS \"direction!\",\n new_row.starts_at AS \"starts_at!\",\n new_row.ends_at AS \"ends_at?\",\n new_row.recurrence_every AS \"recurrence_every!\",\n new_row.recurrence_unit AS \"recurrence_unit!\",\n new_row.weekend_adjustment AS \"weekend_adjustment?\"\n ",
"query": "\n INSERT INTO recurring_transactions (\n id,\n name,\n account_id,\n amount_cents,\n direction,\n starts_at,\n ends_at,\n recurrence_every,\n recurrence_unit,\n weekend_adjustment\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)\n ON CONFLICT (id) DO UPDATE SET\n name = EXCLUDED.name,\n account_id = EXCLUDED.account_id,\n amount_cents = EXCLUDED.amount_cents,\n direction = EXCLUDED.direction,\n starts_at = EXCLUDED.starts_at,\n ends_at = EXCLUDED.ends_at,\n recurrence_every = EXCLUDED.recurrence_every,\n recurrence_unit = EXCLUDED.recurrence_unit,\n weekend_adjustment = EXCLUDED.weekend_adjustment\n RETURNING WITH (OLD AS old_row, NEW AS new_row)\n old_row.id AS \"old_id?\",\n COALESCE(old_row.name, new_row.name) AS \"old_name!\",\n COALESCE(old_row.account_id, new_row.account_id) AS \"old_account_id!\",\n COALESCE(old_row.amount_cents, new_row.amount_cents) AS \"old_amount_cents!\",\n COALESCE(old_row.direction, new_row.direction) AS \"old_direction!\",\n COALESCE(old_row.starts_at, new_row.starts_at) AS \"old_starts_at!\",\n old_row.ends_at AS \"old_ends_at?\",\n COALESCE(old_row.recurrence_every, new_row.recurrence_every) AS \"old_recurrence_every!\",\n COALESCE(old_row.recurrence_unit, new_row.recurrence_unit) AS \"old_recurrence_unit!\",\n old_row.weekend_adjustment AS \"old_weekend_adjustment?\",\n new_row.id AS \"id!\",\n new_row.name AS \"name!\",\n new_row.account_id AS \"account_id!\",\n new_row.amount_cents AS \"amount_cents!\",\n new_row.direction AS \"direction!\",\n new_row.starts_at AS \"starts_at!\",\n new_row.ends_at AS \"ends_at?\",\n new_row.recurrence_every AS \"recurrence_every!\",\n new_row.recurrence_unit AS \"recurrence_unit!\",\n new_row.weekend_adjustment AS \"weekend_adjustment?\"\n ",
"describe": {
"columns": [
{
@@ -16,6 +16,70 @@
},
{
"ordinal": 1,
"name": "old_name!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 2,
"name": "old_account_id!",
"type_info": "Uuid",
"origin": "Expression"
},
{
"ordinal": 3,
"name": "old_amount_cents!",
"type_info": "Int8",
"origin": "Expression"
},
{
"ordinal": 4,
"name": "old_direction!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 5,
"name": "old_starts_at!",
"type_info": "Timestamptz",
"origin": "Expression"
},
{
"ordinal": 6,
"name": "old_ends_at?",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "ends_at"
}
}
},
{
"ordinal": 7,
"name": "old_recurrence_every!",
"type_info": "Int4",
"origin": "Expression"
},
{
"ordinal": 8,
"name": "old_recurrence_unit!",
"type_info": "Text",
"origin": "Expression"
},
{
"ordinal": 9,
"name": "old_weekend_adjustment?",
"type_info": "Text",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "weekend_adjustment"
}
}
},
{
"ordinal": 10,
"name": "id!",
"type_info": "Uuid",
"origin": {
@@ -26,7 +90,7 @@
}
},
{
"ordinal": 2,
"ordinal": 11,
"name": "name!",
"type_info": "Text",
"origin": {
@@ -37,7 +101,7 @@
}
},
{
"ordinal": 3,
"ordinal": 12,
"name": "account_id!",
"type_info": "Uuid",
"origin": {
@@ -48,7 +112,7 @@
}
},
{
"ordinal": 4,
"ordinal": 13,
"name": "amount_cents!",
"type_info": "Int8",
"origin": {
@@ -59,7 +123,7 @@
}
},
{
"ordinal": 5,
"ordinal": 14,
"name": "direction!",
"type_info": "Text",
"origin": {
@@ -70,7 +134,7 @@
}
},
{
"ordinal": 6,
"ordinal": 15,
"name": "starts_at!",
"type_info": "Timestamptz",
"origin": {
@@ -81,7 +145,7 @@
}
},
{
"ordinal": 7,
"ordinal": 16,
"name": "ends_at?",
"type_info": "Timestamptz",
"origin": {
@@ -92,7 +156,7 @@
}
},
{
"ordinal": 8,
"ordinal": 17,
"name": "recurrence_every!",
"type_info": "Int4",
"origin": {
@@ -103,7 +167,7 @@
}
},
{
"ordinal": 9,
"ordinal": 18,
"name": "recurrence_unit!",
"type_info": "Text",
"origin": {
@@ -114,7 +178,7 @@
}
},
{
"ordinal": 10,
"ordinal": 19,
"name": "weekend_adjustment?",
"type_info": "Text",
"origin": {
@@ -141,6 +205,15 @@
},
"nullable": [
false,
null,
null,
null,
null,
null,
true,
null,
null,
true,
false,
false,
false,
@@ -153,5 +226,5 @@
true
]
},
"hash": "7d7363a1746170ceec82763cadcf2e0803753901e73a2a8e04c87eb061bb724e"
"hash": "8bc3dbca6ff74e9775321d64337db88dfab2bf30f8128fcb81a8c980337da483"
}
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM accounts WHERE id = $1 RETURNING id",
"query": "DELETE FROM accounts WHERE id = $1 RETURNING id, name",
"describe": {
"columns": [
{
@@ -13,6 +13,17 @@
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "name",
"type_info": "Text",
"origin": {
"Table": {
"table": "accounts",
"name": "name"
}
}
}
],
"parameters": {
@@ -21,8 +32,9 @@
]
},
"nullable": [
false,
false
]
},
"hash": "b755bf49d60419830ddaf5855268dd31e1f82bef6b4fd0046a4c5cbffb3e877a"
"hash": "910c19f1022dcf5923c64f43cd3c55b6cf7a41a4907fc70d09b0b4770209acc3"
}
@@ -0,0 +1,136 @@
{
"db_name": "PostgreSQL",
"query": "\n DELETE FROM recurring_transactions\n WHERE id = $1\n RETURNING\n id,\n name,\n account_id,\n amount_cents,\n direction,\n starts_at,\n ends_at,\n recurrence_every,\n recurrence_unit,\n weekend_adjustment\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "name",
"type_info": "Text",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "name"
}
}
},
{
"ordinal": 2,
"name": "account_id",
"type_info": "Uuid",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "account_id"
}
}
},
{
"ordinal": 3,
"name": "amount_cents",
"type_info": "Int8",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "amount_cents"
}
}
},
{
"ordinal": 4,
"name": "direction",
"type_info": "Text",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "direction"
}
}
},
{
"ordinal": 5,
"name": "starts_at",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "starts_at"
}
}
},
{
"ordinal": 6,
"name": "ends_at",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "ends_at"
}
}
},
{
"ordinal": 7,
"name": "recurrence_every",
"type_info": "Int4",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "recurrence_every"
}
}
},
{
"ordinal": 8,
"name": "recurrence_unit",
"type_info": "Text",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "recurrence_unit"
}
}
},
{
"ordinal": 9,
"name": "weekend_adjustment",
"type_info": "Text",
"origin": {
"Table": {
"table": "recurring_transactions",
"name": "weekend_adjustment"
}
}
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
true,
false,
false,
true
]
},
"hash": "be72d1cc51b27ae37afd44d85fe29e9226bcf428701dd931f9d03673729f11a2"
}