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

Issue 6 Enable schema support for enable_extension #12

Merged
merged 1 commit into from
Jul 18, 2015

Conversation

baburdick
Copy link
Contributor

Per #6

Unless I'm mistaken, any use of enable_extension in a migration would be dumped as a create_extension call.

# @option options [#to_s,nil] :old_version Alternative installation script name
# that absorbs the existing objects into the extension, instead of creating new objects
def enable_extension(extension_name, options = {})
options[:if_not_exists] = true
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not strictly necessary. This options is true by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

So we're essentially backporting it from 4.2. Got it.

@albertosaurus albertosaurus merged commit 68d605a into master Jul 18, 2015
@albertosaurus albertosaurus deleted the issue_6_make_enable_extension_schema_aware branch July 18, 2015 01:45
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