Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add MSSQL support for :cascade option in drop_column #518
I think it's probably best to not require a separate :cascade option. Anytime you are dropping the column, you are going to want to drop the constraint. On all other databases, dropping a column with default does not require a separate option, so I don't think it should require one on MSSQL.
This is going to conflict with one of my local patches that I'm currently testing, but I'll merge it and fix the conflicts.
Thanks for the help!
These lines use Symbol#. That is part of the core extensions, which should not be used internally. Even then, it only works on ruby 1.8 (as ruby 1.9 adds Symbol# and Sequel doesn't override it).
I've made some post 3.37.0 changes so that the specs aren't run with the core extensions, which will make it easier to catch internal usage.