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

Add support for :if_not_exists and :force options to create_schema #51790

Merged

Conversation

fatkodima
Copy link
Member

Recently rediscovered, that create_schema for PostgreSQL does not support convenient :force and :if_not_exists options. While drop_schema supports :if_exists.

@carlosantoniodasilva carlosantoniodasilva merged commit 77f0822 into rails:main May 11, 2024
4 checks passed
@fatkodima fatkodima deleted the create_schema-if_not_exists branch May 13, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants