Closed ubergesundheit closed 9 years ago
I was experiencing the following error with PostgreSQL 9.4.1:
ERROR: function lpad(integer, integer, unknown) does not exist at character 8
The lpad function is lpad(string text, length int [, fill text]) and the version field is of type integer.
lpad
lpad(string text, length int [, fill text])
version
integer
This seems to fix the error for me. I tested with two migration files, 999999999-test1.sql and 1000000000-test2.sql which seems to work as intended.
999999999-test1.sql
1000000000-test2.sql
Looks good, thanks!
I was experiencing the following error with PostgreSQL 9.4.1:
The
lpad
function islpad(string text, length int [, fill text])
and theversion
field is of typeinteger
.This seems to fix the error for me. I tested with two migration files,
999999999-test1.sql
and1000000000-test2.sql
which seems to work as intended.