-
Notifications
You must be signed in to change notification settings - Fork 47
remove duplicate execute_ddl, @impl true, table prefixes #103
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
remove duplicate execute_ddl, @impl true, table prefixes #103
Conversation
|
||
assert execute_ddl(create) == [ | ||
""" | ||
CREATE INDEX "posts_category_id_permalink_index" \ | ||
ON "foo"."posts" ("category_id", "permalink")\ | ||
ON "posts" ("category_id", "permalink")\ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's good
There was a problem hiding this comment.
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.
|
||
assert execute_ddl(create) == [ | ||
""" | ||
CREATE INDEX "posts_category_id_permalink_index" \ | ||
ON "foo"."posts" ("category_id", "permalink")\ | ||
ON "posts" ("category_id", "permalink")\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's good
There was a problem hiding this comment.
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.
closes #102