RunMigrations
Applies all pending cache service migrations.
def RunMigrations(
ctx: context.Context,
db: *sqlx.DB
) - > error
Applies all pending cache service migrations.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, allowing cancellation and timeouts. |
| db | *sqlx.DB | The database connection pool to apply migrations to. |
Returns
| Type | Description |
|---|---|
error | An error if the migration fails, otherwise nil. |