matthuhiggins/foreigner — pull request #154 by jenseng (2014-09-28 03:14:24+00:00)
Title: preserve db-specific options in schema.rb, fixes #148

basically any valid db-specific thing that you can already specify via
`options: "..."` will be preserved on the way back out.

for mysql that's:
* `ON UPDATE `

for postgres that's:
* `ON UPDATE `
* `ON DELETE SET DEFAULT` (doesn't map to a `:dependent` value)
* `DEFERRABLE` (`NOT DEFERRABLE` is the default)
* `INITIALLY DEFERRED` (`INITIALLY IMMEDIATE` is the default)
* `NOT VALID`

postgres' `MATCH ` is not supported, but that's already problematic
for `:options` since it is incompatible with `:dependent` (due to where it
appears in the statement), so ¯\_(ツ)_/¯