altermethod off of the
SchemaBuilder. This method takes a callback as the second parameter that is passed a
Blueprintobject, much like the
Calling multiple methods inside a single
altercallback creates multiple SQL statements to be executed. qb takes care of this execution for you by default.
Blueprintlet you modify the table inside the callback:
Columninstance as the only argument.
Columninstance is required as the second argument for Grammars that need to redeclare the column definition when renaming.