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

Where are table creation scripts? #1

Open
vishforyou opened this issue May 22, 2018 · 1 comment
Open

Where are table creation scripts? #1

vishforyou opened this issue May 22, 2018 · 1 comment

Comments

@vishforyou
Copy link

I checked in all paths, but there's no presence of scripts to create the tables where the data can be inserted.
Please look into it and advose

@burcakulug
Copy link
Contributor

Hi @vishforyou,

We consistently use Flyway across the microservices for database migration. Once you create the schema and start up the application with correct database connection configuration, the microservice should create the tables for the very first time. If you try to manually create the tables, Flyway would probably error out due to some missing migration related tables and hash values. In each service, you can find the Flyway migration scripts at src/main/resources/db/migration

e.g. https://github.com/bhits/vss/tree/master/vss/src/main/resources/db/migration

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

2 participants