Database — DataSource & Migrations

application.yml (example)

datasources:
  dataSource:
    pooled: true
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://localhost:5432/bookstore
    username: bookstore
    password: secret

Liquibase

Use Liquibase for schema migrations. Add the plugin and create changelogs under grails-app/migrations.