lookup_by
lookup_by copied to clipboard
MySQL support
- [ ] Gemfile
pg, jdbc-postgresql-adapter
- [ ] uuid primary key
Thanks for writing this, Erik! I used and enjoyed this gem on an earlier project that used Postgres. I recently dropped it into a MySQL project with several existing lookup tables, and everything seemed to work. (I didn't use the migration macro to create the tables—they were already there).
If you have more info on the checklist above, I'd be happy to take a crack at this. What else needs to change?
I got the specs running against MySQL this weekend...looks like the only changes necessary are in the migration options ('smallserial'
needs to become 'smallint'
and index columns need a length option).