maritimeconnectivity / IdentityRegistry

MCP (Maritime Connectivity Platform) Identity Registry API
http://maritimeconnectivity.net/#core_components
Apache License 2.0
16 stars 8 forks source link

Database setup documentation #13

Closed JinkiJung closed 4 years ago

JinkiJung commented 4 years ago

Quick summary of updates from the last pull request: 1) removing 'create-tables.sql' from 'setting up database' section 2) adding sentences as follows:

After that flywaydb will handles creation and migration of tables when the program starts, and will fail if the tables already exists. Importing the content from ‘create-mc-org.sql’ should only be done after the first execution as described in the section Putting everything together. For the case to remove the database and the user you can just execute ‘drop-db.sh’ or just ‘drop-db-and-user.sql’.

3) rollback 'setup-db.sh' file