Package liquibase.change.core
package liquibase.change.core
Technically, a Change expresses an intention for alter the structure of the Database. An example would be:
"Drop all foreign keys from a table". However, it abstracts from the way this is actually archieved: While one
DBMS might provide a syntax for that (maybe something like "ALTER TABLE myTable DROP ALL FOREIGN KEYS"), others
do not have a 1:1 translation and need to perform the change in several steps (e.g. enumerating all foreign keys
and then dropping them one-by-one).
This package contains all the possible basic Changes that should be possible with every DBMS supported by
Liquibase. Most classes here extend the AbstractChange
class that provides the general
frame for the Change.
-
ClassDescriptionEncapsulates common fields for update and delete changes.Makes an existing column into an auto-increment column.Adds a column to an existing table.Sets a new default value to an existing column.Adds a foreign key constraint to an existing column.Extracts data from an existing column to create a lookup table.Adds a NOT NULL constraint to an existing column.Creates a primary key out of an existing column or set of columns.Adds a unique constraint to an existing column.Modifies properties of an existing sequence.Creates an index on an existing column.Creates a new sequence.Creates a new table.Creates a new view.Drops an existing column from a table.Removes the default value from an existing column.Drops an existing foreign key constraint.Drops an existing index.Drops a not-null constraint from an existing column.Removes an existing primary key.Drops an existing sequence.Drops an existing table.Removes an existing unique constraint.Drops an existing view.Executes a given shell executable.Inserts data into an existing table.Combines data from two existing columns into a new column and drops the original columns.Allows execution of arbitrary SQL.Renames an existing column.Renames an existing table.Renames an existing table.Renames an existing view.Represents a Change for custom SQL stored in a File.