Return to v2.1 docs

changeTable()


Migrator Migration Functions TableDefinition migration


Creates a table definition object to store modifications to table properties Only available in a migration CFC

Name Type Required Default Description
name string Yes Name of the table to set change properties on
t = changeTable(name='employees');
t.string(columnNames="fullName", default="", null=true, limit="255");
t.change();

Related Functions

Migration Functions