Expand description
Perform a “database migration” (upgrade the base
module)
Service: db
Method: migrate_databases
Request: MigrateDatabases
Response: MigrateDatabasesResponse
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<'de> Deserialize<'de> for MigrateDatabases
impl<'de> Deserialize<'de> for MigrateDatabases
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl OdooApiMethod for MigrateDatabases
impl OdooApiMethod for MigrateDatabases
§type Response = MigrateDatabasesResponse
type Response = MigrateDatabasesResponse
The response type (e.g., the
ExecuteResponse
for Execute
)source§fn describe_odoo_api_method(&self) -> (&'static str, &'static str)
fn describe_odoo_api_method(&self) -> (&'static str, &'static str)
Describes the Odoo API method (including the service) Read more
source§fn parse_json_response(&self, json_data: &str) -> Result<OdooApiResponse<Self>>
fn parse_json_response(&self, json_data: &str) -> Result<OdooApiResponse<Self>>
Parse some JSON string data into an
OdooApiResponse
object Read moresource§impl PartialEq<MigrateDatabases> for MigrateDatabases
impl PartialEq<MigrateDatabases> for MigrateDatabases
source§fn eq(&self, other: &MigrateDatabases) -> bool
fn eq(&self, other: &MigrateDatabases) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.