@@ -71,8 +71,10 @@ private function createConfiguredInstancesTable(): void
7171 $ table ->string ('business_key ' , 191 )->nullable ();
7272 $ table ->json ('visibility_labels ' )->nullable ();
7373 $ table ->json ('memo ' )->nullable ();
74+ $ table ->unsignedInteger ('execution_timeout_seconds ' )->nullable ();
7475 $ table ->string ('current_run_id ' , 26 )->nullable ()->index ();
7576 $ table ->unsignedInteger ('run_count ' )->default (0 );
77+ $ table ->unsignedInteger ('last_message_sequence ' )->default (0 );
7678 $ table ->timestamp ('reserved_at ' , 6 )->nullable ();
7779 $ table ->timestamp ('started_at ' , 6 )->nullable ();
7880 $ table ->timestamps (6 );
@@ -90,6 +92,7 @@ private function createConfiguredRunsTable(): void
9092 $ table ->string ('business_key ' , 191 )->nullable ();
9193 $ table ->json ('visibility_labels ' )->nullable ();
9294 $ table ->json ('memo ' )->nullable ();
95+ $ table ->json ('search_attributes ' )->nullable ();
9396 $ table ->string ('status ' );
9497 $ table ->string ('closed_reason ' )->nullable ();
9598 $ table ->string ('compatibility ' )->nullable ();
@@ -98,6 +101,10 @@ private function createConfiguredRunsTable(): void
98101 $ table ->longText ('output ' )->nullable ();
99102 $ table ->string ('connection ' )->nullable ();
100103 $ table ->string ('queue ' )->nullable ();
104+ $ table ->unsignedInteger ('message_cursor_position ' )->default (0 );
105+ $ table ->unsignedInteger ('run_timeout_seconds ' )->nullable ();
106+ $ table ->timestamp ('execution_deadline_at ' , 6 )->nullable ();
107+ $ table ->timestamp ('run_deadline_at ' , 6 )->nullable ();
101108 $ table ->unsignedInteger ('last_history_sequence ' )->default (0 );
102109 $ table ->unsignedInteger ('last_command_sequence ' )->default (0 );
103110 $ table ->timestamp ('started_at ' , 6 )->nullable ();
@@ -117,6 +124,7 @@ private function createConfiguredTasksTable(): void
117124 Schema::create ('configured_waterline_workflow_tasks ' , static function (Blueprint $ table ): void {
118125 $ table ->string ('id ' , 26 )->primary ();
119126 $ table ->string ('workflow_run_id ' , 26 )->index ();
127+ $ table ->string ('namespace ' )->nullable ()->index ();
120128 $ table ->string ('task_type ' );
121129 $ table ->string ('status ' );
122130 $ table ->json ('payload ' )->nullable ();
0 commit comments