Skip to content

Commit

Permalink
Remove custom path from migrations again.
Browse files Browse the repository at this point in the history
  • Loading branch information
ISibboI committed Aug 24, 2023
1 parent 5b4079b commit 9142f1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/rvoc-backend/src/database/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use crate::{
error::{RVocError, RVocResult},
};

const MIGRATIONS: diesel_migrations::EmbeddedMigrations =
diesel_migrations::embed_migrations!("migrations/");
const MIGRATIONS: diesel_migrations::EmbeddedMigrations = diesel_migrations::embed_migrations!();

/// Synchronously check if there are missing database migrations.
pub fn has_missing_migrations(configuration: &Configuration) -> RVocResult<bool> {
Expand Down

0 comments on commit 9142f1d

Please sign in to comment.