Skip to content

Commit 0ed1106

Browse files
authored
Merge branch 'main' into devhawk/dynamic-queues
2 parents b27edd6 + 4b031c8 commit 0ed1106

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

transact/src/main/java/dev/dbos/transact/migrations/MigrationManager.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,16 +675,16 @@ created_at BIGINT NOT NULL DEFAULT (EXTRACT(epoch FROM now()) * 1000.0)::bigint
675675
timeout_ms BIGINT DEFAULT NULL,
676676
deadline_epoch_ms BIGINT DEFAULT NULL,
677677
deduplication_id TEXT DEFAULT NULL,
678-
priority INTEGER DEFAULT NULL,
678+
priority INT4 DEFAULT NULL,
679679
queue_partition_key TEXT DEFAULT NULL
680680
) RETURNS TEXT AS $$
681681
DECLARE
682682
v_workflow_id TEXT;
683683
v_serialized_inputs TEXT;
684684
v_owner_xid TEXT;
685685
v_now BIGINT;
686-
v_recovery_attempts INTEGER := 0;
687-
v_priority INTEGER;
686+
v_recovery_attempts INT4 := 0;
687+
v_priority INT4;
688688
BEGIN
689689
690690
-- Validate required parameters
@@ -799,7 +799,7 @@ static String migration20(boolean useListenNotify, boolean isCockroach) {
799799
var m =
800800
"""
801801
ALTER FUNCTION "%1$s".enqueue_workflow(
802-
TEXT, TEXT, JSON[], JSON, TEXT, TEXT, TEXT, TEXT, BIGINT, BIGINT, TEXT, INTEGER, TEXT
802+
TEXT, TEXT, JSON[], JSON, TEXT, TEXT, TEXT, TEXT, BIGINT, BIGINT, TEXT, INT4, TEXT
803803
) SET search_path = pg_catalog, pg_temp;
804804
805805
ALTER FUNCTION "%1$s".send_message(

0 commit comments

Comments
 (0)