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

bin/kong migrate" should be embedded into kong/start #67

Closed
subnetmarco opened this issue Mar 11, 2015 · 1 comment
Closed

bin/kong migrate" should be embedded into kong/start #67

subnetmarco opened this issue Mar 11, 2015 · 1 comment

Comments

@subnetmarco
Copy link
Member

The kong/migrate command should be embedded into kong/start and it should try to migrate the database to the latest version.

If a database already exists, then kong start should alert the user asking him to migrate with a message like:

Kong cannot start because your database needs to be migrate. Would you like to start a migration to a new schema (y/n)?

In this way we're making the first execution less painful, and we're also alerting the user when a newer version of Kong is running against and older schema.

@subnetmarco
Copy link
Member Author

The browser played tricks on me. Duplicate of #68

gszr pushed a commit that referenced this issue Jun 10, 2021
gszr pushed a commit that referenced this issue Aug 6, 2021
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

No branches or pull requests

1 participant