[postgresql] raise error if migration table does not exist