aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/migration/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/migration/mod.rs b/src/db/migration/mod.rs
index e6b3266..61cdcf9 100644
--- a/src/db/migration/mod.rs
+++ b/src/db/migration/mod.rs
@@ -1,5 +1,3 @@
-pub use tosin_macros::gather_migrations as gather;
-
use diesel::{result::Error as DieselError, Connection as _};
use crate::db::backend::Connection;
@@ -20,6 +18,7 @@ impl Migration {
// TODO prevent double-applying
connection
.transaction::<_, DieselError, _>(|| {
+ println!("{}:\tapplying {} (id {})", app_name, self.name, self.id);
for change in self.changes {
change.apply(app_name, connection);
}