Browse Source

main: comment out advanced_migrations

feature/settings-cleanup
eiknat 2 years ago
parent
commit
497a7135fc
  1. 5
      server/src/main.rs

5
server/src/main.rs

@ -25,7 +25,7 @@ use diesel::{
use lemmy_db::get_database_url_from_env;
use lemmy_server::{
blocking,
code_migrations::run_advanced_migrations,
// code_migrations::run_advanced_migrations,
rate_limit::{rate_limiter::RateLimiter, RateLimit},
routes::*,
websocket::server::*,
@ -62,7 +62,8 @@ async fn main() -> Result<(), LemmyError> {
// Run the migrations from code
blocking(&pool, move |conn| {
embedded_migrations::run(conn)?;
run_advanced_migrations(conn)?;
// uncomment if there's an advanced migration we need to run
// run_advanced_migrations(conn)?;
Ok(()) as Result<(), LemmyError>
})
.await??;

Loading…
Cancel
Save