Skip to content

Commit

Permalink
fixed error in readSqlStatements
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Nov 19, 2024
1 parent 7a4c95f commit 5174b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ihp-ide/IHP/IDE/SchemaDesigner/Controller/Migrations.hs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ instance Controller MigrationsController where
readSqlStatements :: SchemaMigration.Migration -> IO Text
readSqlStatements migration = do
migrationFilePath <- (SchemaMigration.migrationPath migration)
pure Text.readFile (migrationFilePath)
Text.readFile (cs migrationFilePath)

findRecentMigrations :: IO [SchemaMigration.Migration]
findRecentMigrations = take 20 . reverse <$> SchemaMigration.findAllMigrations
Expand Down

0 comments on commit 5174b90

Please sign in to comment.