lithium\data\Schema::append()

public method

Appends additional fields to the schema. Will not overwrite existing fields if any conflicts arise.

Parameters

  • array $fields

    New schema data.

Returns

void

Source

	public function append(array $fields) {
		if ($this->_locked) {
			throw new RuntimeException("Schema cannot be modified.");
		}
		$this->_fields += $fields;
	}