You've already forked AstralRinth
forked from didirus/AstralRinth
only run migrations on prod instances
This commit is contained in:
@@ -66,11 +66,11 @@ async fn main() -> std::io::Result<()> {
|
||||
"Starting Labrinth on {}",
|
||||
dotenvy::var("BIND_ADDR").unwrap()
|
||||
);
|
||||
}
|
||||
|
||||
database::check_for_migrations()
|
||||
.await
|
||||
.expect("An error occurred while running migrations.");
|
||||
database::check_for_migrations()
|
||||
.await
|
||||
.expect("An error occurred while running migrations.");
|
||||
}
|
||||
|
||||
// Database Connector
|
||||
let pool = database::connect()
|
||||
|
||||
Reference in New Issue
Block a user