HookModel
Bases: PumCustomBaseModel
HookModel represents a migration hook configuration.
Attributes:
Name | Type | Description |
---|---|---|
file |
Optional[str]
|
Optional path to a SQL file to execute as a hook. |
code |
Optional[str]
|
Optional Python code to execute as a hook. |