JSPM

liquilog

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q12446F
  • License ISC

cli tool for generating changelog for liquibase. It will help create a unique changeset inside a changelog with .sql format conforming to liquibase syntax.

Package Exports

  • liquilog
  • liquilog/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (liquilog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

liquilog

cli tool for generating changelog for liquibase. It will help create a unique changeset inside a changelog with .sql format conforming to liquibase syntax.

Installation

npm i -g liquilog

Usage

As of now this cli supports only creating a changelog.

At first, change directory to the folder where you want to track your database migration changelog files. Then run the following command for generating a changelog:

liquilog create -t add-column-name-in-test -d postgres

Sample Output:

1638534419531.add-column-name-in-test.postgres.sql

Inside file:

-- liquibase formatted sql

-- changeset Arafat Al Mahmud:1638534419531

-- rollback;

Here -t is for the title of your changelog. You shouldn't have any space in the title.

Options:

-t, --title Changelog title</p> <p>-d, --dbType <dbType> Mention the database type (choices: "h2", "oracle", "mysql", "postgres")</p> <p>-a, --author [author] Author name of the changelog (optional. If you don't provide an author name, liquilog will try to get the git author name.)</p> <p>-h, --help display help for command</p> </blockquote> </section></jspm-packages-readme></details></main></section><footer><section class="maintainers"><h3>Collaborators</h3><ul><li><a href="https://www.github.com/arafat.almahmud"><figure><img loading="lazy" alt="arafat.almahmud" src="https://unavatar.io/arafat.almahmud89@gmail.com" width="75" height="75" /></figure></a></li></ul></section><section class="keywords"><h3>Keywords</h3><ul><li><a href="/search?keyword=liquibase">#liquibase</a></li><li><a href="/search?keyword=migration">#migration</a></li><li><a href="/search?keyword=database">#database</a></li><li><a href="/search?keyword=sql">#sql</a></li><li><a href="/search?keyword=cli">#cli</a></li><li><a href="/search?keyword=changelog">#changelog</a></li><li><a href="/search?keyword=changeset">#changeset</a></li><li><a href="/search?keyword=postgresql">#postgresql</a></li></ul></section><section><h3>Dependencies</h3><ul><li><a href="/package/chalk">chalk</a></li><li><a href="/package/commander">commander</a></li><li><a href="/package/git-user-name">git-user-name</a></li></ul></section></footer></section></jspm-packages-package> </jspm-packages> <script type="module"> import '@jspm/packages/package-dom'; </script> </body> </html>