Struct odoo_api::service::db::MigrateDatabases
source · Expand description
Perform a “database migration” (upgrade the base
module)
Note that this method doesn’t actually perform any upgrades - instead, it
force-update the base
module, which has the effect of triggering an update
on all Odoo modules that depend on base
(which is all of them).
This method is probably used internally by Odoo’s upgrade service, and likely
isn’t useful on its own. If you need to upgrade a module, the Execute
is probably more suitable.
Docs TBC
Reference: odoo/service/db.py
Fields§
§passwd: String
§databases: Vec<String>
Trait Implementations§
source§impl Debug for MigrateDatabases
impl Debug for MigrateDatabases
source§impl JsonRpcParams for MigrateDatabases
impl JsonRpcParams for MigrateDatabases
type Container<T> = OdooApiContainer<MigrateDatabases>
type Response = MigrateDatabasesResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for MigrateDatabases
impl OdooApiMethod for MigrateDatabases
source§fn describe(&self) -> (&'static str, &'static str)
fn describe(&self) -> (&'static str, &'static str)
Describe the JSON-RPC service and method for this type
source§fn _build(self) -> JsonRpcRequest<Self>
fn _build(self) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest