32 const COLUMNS_KEY =
'columns';
33 const TYPE_KEY =
'type';
42 return ZendDbSchema_Db_Schema_Table::INDEXES_KEY;
50 return $this->
getTable()->getGenerator()->dropIndex($this);
58 return $this->
getTable()->getGenerator()->alterIndex($this);
66 return $this->
getTable()->getGenerator()->createIndex($this);
77 $this->
__set(self::COLUMNS_KEY, array_unique($columns));
89 return in_array($columnName, $this->
getColumns());
102 $columns[] = $columnName;
115 $columns = $this->
__get(self::COLUMNS_KEY);
116 return is_array($columns) ? $columns : array();
129 unset($columns[$columnName]);