You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not just on ALTER TABLE, it also exists for for CREATE TABLE too. This doesn't necessarily need to be in for 1.0 milestone. But I think I'd like to explore getting this in and tested to ensure that sqlite does support it.
Looked at this one. We can easily support this in a similar manner to how we support :collate for text-insensitive columns. The beauty of ecto/ecto_sql is that we are not limited to the list of documented options shown in Ecto.Migration#add/3
https://github.com/warmwaffles/exqlite/blob/cbd1e9c6eef74355c025158c341ccc678fe7446f/lib/ecto/adapters/exqlite/connection.ex#L510-L513
If you drill into the column definition you'll see that
CHECKis allowed https://sqlite.org/lang_altertable.htmlIt doesn't support, exclude although if you can just negate the statement it might suffice.