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

Liquibase does not support creation of database that not all exist #4020

Open
1 of 2 tasks
brundabharadwaj opened this issue Mar 25, 2023 · 1 comment
Open
1 of 2 tasks

Comments

@brundabharadwaj
Copy link

Search first

  • I searched and no similar issues were found

Description

I did a little research while setting up Liquibase to my spring boot app and found that db cannot be created through scripts if it does not exist .
It would a useful feature to have this automated.
Attaching the link that I referred : https://stackoverflow.com/questions/50118310/postgres-database-creation-with-liquibase

Steps To Reproduce

Unable to create database using Liquibase

Expected/Desired Behavior

Should be able to create db on running of sql scripts.

Liquibase Version

4.17.2

Database Vendor & Version

Postgres sql 14

Liquibase Integration

maven

Liquibase Extensions

liquibase-core

OS and/or Infrastructure Type/Provider

Windows 11

Additional Context

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@nvoxland
Copy link
Contributor

It's something that wasn't originally implemented because the database setup is often different per system and/or managed through a different process than the schema updates that Liquibase does.

However, I can see where it would be helpful at times and would be a nice feature to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants