PG function overloading is type-strict: integer→bigint isn't implicit. The prior signature (integer, date) didn't match callers passing vehicle_id directly. Also prepends a DROP for the integer-signature in case the previous migration ran and left a now-orphan function around. |
||
|---|---|---|
| .. | ||
| migrations | ||