mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-18 07:01:55 +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'
|
Left _ -> putStrLn $ "Skipping: " ++ fpToText fp'
|
||||||
Right _ -> action
|
Right _ -> action
|
||||||
)
|
)
|
||||||
flip runSqlPool pool $ rawExecute "VACUUM" []
|
flip runSqlPool pool $ mapM_ (flip rawExecute []) ["COMMIT", "VACUUM", "BEGIN"]
|
||||||
|
|
||||||
getDeprecated' :: [Deprecation] -> Tar.Entry -> [Deprecation]
|
getDeprecated' :: [Deprecation] -> Tar.Entry -> [Deprecation]
|
||||||
getDeprecated' orig e =
|
getDeprecated' orig e =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user