Behavior/CroppableBehavior.php
public function modifyTable()
    {
        $table = $this->getTable();

        foreach ($this->getColumns() as $image_column => $coordinates_column) {
            if (!$table->hasColumn($image_column)) {
                $table->addColumn(array(
                    'name' => $image_column,
                    'type' => 'VARCHAR',
                    'size' => 255
                ));
            }

            if (!$table->hasColumn($coordinates_column)) {
                $table->addColumn(array(
                    'name' => $coordinates_column,
                    'type' => 'OBJECT'
                ));
            }
        }

        $this->modifyUploadableBehavior();
    }
public function modifyTable()
    {
        $table = $this->getTable();

        foreach ($this->getColumns() as $image_column => $coordinates_column) {
            if (!$table->hasColumn($image_column)) {
                $table->addColumn(array(
                    'name' => $image_column,
                    'type' => 'VARCHAR',
                    'size' => 255
                ));
            }

            if (!$table->hasColumn($coordinates_column)) {
                $table->addColumn(array(
                    'name' => $coordinates_column,
                    'type' => 'OBJECT'
                ));
            }
        }

        $this->modifyUploadableBehavior();
    }
{@inheritdoc}