postgres migration script is almost exactly like hsqldb