Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/create table options list guard #69

Merged

Conversation

Blond11516
Copy link
Contributor

When creating a table in a migration with a string passed to the :options option, ecto_sqlite3 raises an ArgumentError because execute_ddl raises on any non-nil value. Considering that the options_expr uses an is_list guard (as do ecto_sql's Postgres and MySQL adapters), this feels like an error.

@warmwaffles warmwaffles self-requested a review May 15, 2022 01:52
Copy link
Member

@warmwaffles warmwaffles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good change.

@warmwaffles
Copy link
Member

I need to figure out how to make it so PRs that come in, auto have the CI run.

@warmwaffles warmwaffles merged commit 95d4d8c into elixir-sqlite:main May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants