Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

migrationFirebird

Firebird migration tool

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Migration for Firebird database

Firebird Migration

Getting started

Installation:

  • Download setup
  • Just type migration help in cmd

Available Commands

> Init

This command initialize a new migration project

pascal
migration init

> Init Migration

This command initialize a new migration to your project

pascal
migration init migration
migration init migration -d "Description"

> Migrate

This command upgrade your database configured in your migration project

pascal
migration migrate

> revert -to <number> | -all

This command revert your database to a point of time that you define

pascal
 migration revert -to 10
 migration revert -all
<number> that's an ID that you find on History_Migration table inside your database

> Help

This is a helper for migration. Use migration <command> help for more information about a command.

pascal
migration help