Feature: Dynamic Migration Execution #3
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
psycodepath/hrp#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
As new tenants are added dynamically, their SQLite database files will be created from scratch and need all tables migrated to the latest schema version.
Description
Modify the startup migration execution so that
MigrationRunneris executed dynamically on the tenant's database when the database is initialized or when a tenant is first accessed.User Story
As a host, I want new tenant databases to be automatically migrated to the latest schema so that I do not need to run manual setup commands.
Gherkin Feature
Acceptance Criteria
MigrationRunnerruns dynamically for the resolved tenant database on demand.