mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Hacky to make VACUUM work
This commit is contained in:
parent
7533b9b014
commit
fac5b9c4f4
@ -250,7 +250,7 @@ createStackageDatabase fp = liftIO $ do
|
||||
Left _ -> putStrLn $ "Skipping: " ++ fpToText fp'
|
||||
Right _ -> action
|
||||
)
|
||||
flip runSqlPool pool $ rawExecute "VACUUM" []
|
||||
flip runSqlPool pool $ mapM_ (flip rawExecute []) ["COMMIT", "VACUUM", "BEGIN"]
|
||||
|
||||
getDeprecated' :: [Deprecation] -> Tar.Entry -> [Deprecation]
|
||||
getDeprecated' orig e =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user