Skip to content

Commit

Permalink
rename app database index (#126)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ananis25 authored Oct 6, 2024
1 parent 346e5fc commit c32cad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbos/schemas/application_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)

0 comments on commit c32cad1

Please sign in to comment.