This commit is contained in:
dullbananas 2024-05-23 06:48:51 -07:00 committed by GitHub
parent 3f3b8e31ca
commit 0a02ceb294
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,7 +182,8 @@ pub fn run(options: Options) -> LemmyResult<Branch> {
.has_pending_migration(migrations()) .has_pending_migration(migrations())
.map_err(convert_err)? .map_err(convert_err)?
{ {
// The condition above implies that the migration that creates the previously_run_sql table was already run // The condition above implies that the migration that creates the previously_run_sql table was
// already run
let sql_unchanged = exists( let sql_unchanged = exists(
previously_run_sql::table.filter(previously_run_sql::content.eq(replaceable_schema())), previously_run_sql::table.filter(previously_run_sql::content.eq(replaceable_schema())),
); );