/** * Create/get table index associated with this column. Index type will be forced as UNIQUE. * * @return AbstractIndex * @throws SchemaException */ public function unique() { return $this->table->unique($this->name); }
/** * Create/get table index associated with this column. Index type will be forced as UNIQUE. * * @return AbstractIndex * @throws SchemaException */ public function unique() { return $this->table->unique($this->name); }