Ralph::Schema::SchemaComparator
Compares model schemas against database schema
Constants
DEFAULT_SKIP_TABLES = ["schema_migrations", "adonis_schema", "adonis_schema_versions", "ar_internal_metadata", "knex_migrations", "knex_migrations_lock", "typeorm_metadata", "_prisma_migrations"]
Tables that are always skipped (ORM migration tracking tables from various frameworks)
Constructors
new(model_schemas : Hash(String, Ralph::Schema::ModelSchema), db_schema : Ralph::Schema::DatabaseSchema, dialect : Symbol = :sqlite, skip_tables : Array(String) = [] of String)
SourceInstance methods
compare
Source