Skip to content

Commit f2a808d

Browse files
committed
feat: Make Store::migrate pub
1 parent f54ad78 commit f2a808d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/async_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ impl Store {
5353
Ok(store)
5454
}
5555

56-
/// Migrate.
57-
pub(crate) async fn migrate(&self) -> Result<(), Error> {
56+
/// Runs pending migrations against the database.
57+
pub async fn migrate(&self) -> Result<(), Error> {
5858
Ok(sqlx::migrate!().run(&self.pool).await?)
5959
}
6060
}

0 commit comments

Comments
 (0)