From c32cad16c783bbbbae67b24c9027cb796d550915 Mon Sep 17 00:00:00 2001 From: Ishan Anand Date: Sun, 6 Oct 2024 23:53:29 +0530 Subject: [PATCH] rename app database index (#126) This PR renames the index name for the transactions-output tables in the Application database. This will also unlock using the same database as app and system database for DBOS, even if ill-advised. --- dbos/schemas/application_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbos/schemas/application_database.py b/dbos/schemas/application_database.py index 57ab215c..697e5f29 100644 --- a/dbos/schemas/application_database.py +++ b/dbos/schemas/application_database.py @@ -31,6 +31,6 @@ class ApplicationSchema: nullable=False, server_default=text("(EXTRACT(epoch FROM now()) * 1000::numeric)::bigint"), ), - Index("workflow_status_created_at_index", "created_at"), + Index("transaction_outputs_created_at_index", "created_at"), PrimaryKeyConstraint("workflow_uuid", "function_id"), )