We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Store::migrate
1 parent f54ad78 commit f2a808dCopy full SHA for f2a808d
src/async_store.rs
@@ -53,8 +53,8 @@ impl Store {
53
Ok(store)
54
}
55
56
- /// Migrate.
57
- pub(crate) async fn migrate(&self) -> Result<(), Error> {
+ /// Runs pending migrations against the database.
+ pub async fn migrate(&self) -> Result<(), Error> {
58
Ok(sqlx::migrate!().run(&self.pool).await?)
59
60
0 commit comments