This function is only called after fetching the schema out of the database.
If you wish to provide your own schema to this table without touching the
database, you can override schema() or inject the definitions though that
method.
### Example:
protected function _initializeSchema(\Cake\Database\Schema\Table $table) {
$table->columnType('preferences', 'json');
return $table;
}
protected _initializeSchema ( Cake\Database\Schema\Table $table ) : Cake\Database\Schema\Table | ||
$table | Cake\Database\Schema\Table | The table definition fetched from database. |
return | Cake\Database\Schema\Table | the altered schema |