Skip to main content

handle_migrate_command

Function handle_migrate_command 

Source
pub fn handle_migrate_command(
    config: &ServeConfig,
) -> Result<String, &'static str>
Expand description

Handles the migration command using the resolved app configuration.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::handle_migrate_command or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::handle_migrate_command cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::handle_migrate_command(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.