How to get databasechangelog table in json format

Hai,

Please help me out , How to get databasechangelog table in Json format or any rest api available.

Thanks in advance.

Please help on this.

Hi @kishor ,

An idea would be to:

  1. make a clone of the databasechangelog table into your existent database (name the clone as databasechangelog1 for example).
  2. run generateChangeLog command (name the output changelog .json or any file type you need) and point to the call to the db containing the databasechangelog1 table.
  3. After the changelog containing databasechangelog1 was generated, take this and rename back to databasechangelog.

Hope this helps,
Eduard