(Quick Reference)

dbm-add-migration

Purpose

Adds a template migration file to your project and to the changelog file.

Description

This script provides a template in which to place your migration behaviour code, whether Grace code or raw SQL.

Usage:

grace <<environment>> dbm-add-migration <<migrationName>>

Required arguments:

  • migrationName - The name of the migration - will be used as a filename and the default migration id.

This script only supports .groovy-style migrations at the moment.