bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Run both apps on the same database #101

Closed pbastia closed 7 months ago

pbastia commented 8 months ago

User Story

As a developer, I want 2 separate Django apps using the same database so that both registration and reporting apps can live side by side

Description:

Django by default writes to tables in the public schema of the database. It is currently unknown if there are any side-effects to having 2 apps side by side using the same database.

This card is about exploring what the best way of doing this would be, and what are industry best practices around solving this issue.

Acceptance Criteria:

Given I am a developer When I deploy the reporting app's database in the same database as the registration app's Then there are no side-effects And everything works as intended

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

-

pbastia commented 8 months ago

@dleard tagging you here in case you have wisdom to share

pbastia commented 7 months ago

closing this, as we're deploying in the same database