Skip to main content

MetaDbDiff

MetaDbDiff (v2.0.0) is a lightweight database metadata comparison and DDL migration script generation engine for Delphi and Lazarus.

What it does

CapabilityDescription
Model → DatabaseCompare decorated Delphi Pascal entity classes against a physical database schema and emit surgical DDL to close the gap.
Database → DatabaseCompare two live databases (source vs. target) and emit DDL to bring the target in line with the source.
DDL GenerationGenerates CREATE TABLE, DROP TABLE, ADD/DROP COLUMN, ALTER COLUMN, ADD/DROP PRIMARY KEY, ADD/DROP FOREIGN KEY, CREATE/DROP INDEX, CREATE/DROP SEQUENCE, CREATE/DROP VIEW, CREATE/DROP TRIGGER, and CHECK constraint statements.
Multi-dialectFirebird 2.x, Firebird 3, Interbase, PostgreSQL, MySQL, MSSQL, Oracle, SQLite, AbsoluteDB.
DecoupledZero transactional/CRUD code — purely structural comparison and DDL emission.

Compatibility

EnvironmentPlatformModel→DBDB→DB
Delphi XE or higherVCL, FMX, Console (Win/Linux/macOS/iOS/Android)YesYes
Lazarus / FreePascalLCL, Console (cross-platform)YesYes