Migration Utils
Utility functions that assist with generating the necessary SQL statements to migrate database schema objects.
Functions
Returns the SQL statements that drop any columns that exist in the database but are not defined in tables.
Returns the SQL statements that drop any indices that exist in the database but are not defined in tables.
Returns the SQL statements that drop any sequences that exist in the database but are not defined in tables.
This function simply generates the migration script without applying the migration. Its purpose is to show what the migration script will look like before applying the migration. If a migration script with the same name already exists, its content will be overwritten.
Returns the SQL statements that need to be executed to make the existing database schema compatible with the table objects defined using Exposed. Unlike SchemaUtils.statementsRequiredToActualizeScheme(), DROP/DELETE statements are included.