Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Setting Up the Database

Sumit Rawal answered on May 23, 2023 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • export database cli
  • where does your database run
  • Using CREATE DATABASE
  • add to firebase database
  • export database with data sql server
  • sql export all databases command
  • local database sql
  • creating custom database
  • set db environment to development
  • Database connection configuration
  • server setup- with database
  • how to open database
  • how to Activate the database

  • Setting Up the Database

    0

    Learn how to set up the database layer for the impure service using Flyway.

    We'll cover the following...

    Migrations

    The database layer should provide programmatic access to the database and also manage changes in the database. The latter is called migrations or evolutions. We will use Flyway as the tool to manage our database schema.

    Flyway uses raw SQL scripts that have to be put into a certain location and follow certain naming conventions. This is the /db/migration (under the resources folder) in our case. The files also have to be named following the convention VXX__some_name.sql, where XX is the version number. Please note that there are two underscores between the version prefix and the rest of the name.

    Because our database schema is straightforward, we get done quickly. 

    Popularity 7/10 Helpfulness 1/10 Language sql
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 23 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.