{"repo":"YRashid/actual-schema-gradle-plugin","free":true,"listed":false,"github":"https://github.com/YRashid/actual-schema-gradle-plugin","clone":"git clone https://github.com/YRashid/actual-schema-gradle-plugin.git","description":"Gradle plugin that generates the actual db schema after applying Liquibase migrations","language":"Kotlin","stars":18,"topics":["database","gradle-plugin","java","liquibase","migration","postgresql","schema","spring-boot"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Actual Schema Gradle Plugin English Русский io.github.yrashid.actual-schema generates the final PostgreSQL DDL produced by your Liquibase migrations. You do not need an existing database, a PostgreSQL installation, pg dump , or the Liquibase CLI. The plugin starts a disposable PostgreSQL container, applies the changelog, exports the resulting schema, and removes the container when the task finishes. This is useful when you want to: - keep a reviewable schema.sql snapshot in Git; - detect migrations that changed the final schema without updating that snapshot; - provide the current DDL to code generators, documentation tools, or reviewers; - inspect the final database state instead of the individual migration statements. Unlike liquibase update-sql , which describes migration steps, this plugin captures the state of a real PostgreSQL database after those steps have been executed. Requirements - Gradle 8.5 or newer. - Gradle running on Java 17 or newer. - A running Docker-compatible daemon accessible to the current user. - A Liquibase changelog in your project. The PostgreSQL image is downloaded automatically by Testcontainers when it is not already available locally. No PostgreSQL server or client tools need to be installed on the host. Quick start 1. Apply the plugin Kotlin DSL: Published versions are listed on the Gradle Plugin Portal. 2. Point the plugin to your changelog The default resource root is src/main/resources . The generated file is written to build/generated/actu","default_branch":null,"files":null,"tree":[],"storefront":"/r/YRashid","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YRashid/actual-schema-gradle-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}