57 | | This migration appeared to work on mysql when I was developing locally, but it may be because I updated the random_string() function to provide a string that was longer after I ran the migration. It failed when I ran it against my prod Postgres 9.5.15 database. |
| 57 | This migration worked on mysql when I was developing locally, but it was because I updated the random_string() function to provide a string that was longer after I ran the migration. It failed when I ran it against my prod Postgres 9.5.15 database. |
| 58 | |
| 59 | I suggest including default_value functions in the migrations so that when old migrations are run against new code, you don't have issues. |