diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-30 17:06:02 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-30 17:06:02 -0600 |
commit | 85d53a3358819d15788e1196d110fb6fd7199c67 (patch) | |
tree | 6d8a8ea21ed967c13fafa5fa90e133e6e75f8f84 /src/db/migration | |
parent | bc874c9d1363d3bf8865ea7a629eb976e23386b3 (diff) | |
download | tosin-85d53a3358819d15788e1196d110fb6fd7199c67.tar.gz tosin-85d53a3358819d15788e1196d110fb6fd7199c67.zip |
delete gather_migrations since it gets miscached
Diffstat (limited to 'src/db/migration')
-rw-r--r-- | src/db/migration/mod.rs | 3 |
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); } |