error in migration script
This commit is contained in:
parent
7e52a12226
commit
2d2e12a109
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ main = do
|
|||
setImageCompressionQuality w 95
|
||||
writeImage w (Just (decodeString newPath))
|
||||
return w2
|
||||
return [SqlByteString (B.pack newPath), SqlInteger (fromIntegral pWidth), theId]
|
||||
return [SqlByteString (B.pack $ '/':newPath), SqlInteger (fromIntegral pWidth), theId]
|
||||
_ ->
|
||||
error "malformed entry"
|
||||
) rows
|
||||
|
|
Loading…
Reference in a new issue