Skip to content

remove duplicate execute_ddl, @impl true, table prefixes - #103

Merged
warmwaffles merged 5 commits into
elixir-sqlite:mainfrom
ruslandoga:cleanup-connection
Feb 20, 2023
Merged

warmwaffles merged 5 commits into
elixir-sqlite:mainfrom
ruslandoga:cleanup-connection

Conversation

@ruslandoga

Copy link
Copy Markdown
Contributor

closes #102

"""
CREATE INDEX "posts_category_id_permalink_index" \
ON "foo"."posts" ("category_id", "permalink")\
ON "posts" ("category_id", "permalink")\

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Since the test is about comments, I just removed the prefix option here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's good

@ruslandoga
ruslandoga marked this pull request as ready for review February 17, 2023 15:18
@ruslandoga ruslandoga changed the title Cleanup connection cleanup connection (remove duplicate execute_ddl, @impl true, table prefixes) Feb 17, 2023
@ruslandoga ruslandoga changed the title cleanup connection (remove duplicate execute_ddl, @impl true, table prefixes) remove duplicate execute_ddl, @impl true, table prefixes Feb 17, 2023

@warmwaffles warmwaffles left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Less code to maintain. I'll do another pass at this when it is ready.

"""
CREATE INDEX "posts_category_id_permalink_index" \
ON "foo"."posts" ("category_id", "permalink")\
ON "posts" ("category_id", "permalink")\

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's good

@warmwaffles warmwaffles left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ruslandoga can you add an entry to the changelog as well about this change? We have an unreleased section with some breaking changes that I'll roll this into a 1.0 release as well.

@warmwaffles
warmwaffles merged commit 7882a01 into elixir-sqlite:main Feb 20, 2023
@ruslandoga
ruslandoga deleted the cleanup-connection branch February 20, 2023 03:04
mochaaP added a commit to mcha-forks/ecto_sqlite3 that referenced this pull request Sep 30, 2026
mochaaP added a commit to mcha-forks/ecto_sqlite3 that referenced this pull request Sep 30, 2026
mochaaP added a commit to mcha-forks/ecto_sqlite3 that referenced this pull request Sep 30, 2026
mochaaP added a commit to mcha-forks/ecto_sqlite3 that referenced this pull request Sep 30, 2026
mochaaP added a commit to mcha-forks/ecto_sqlite3 that referenced this pull request Sep 30, 2026
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.

some ddl callback clauses are duplicated

2 participants