public function getTableSchema() { $table = parent::getTableSchema(); $table->columns['are_postcode']->isForeignKey = true; $table->foreignKeys['are_postcode'] = array('LinkOfficeToPostcode', 'postcode'); return $table; }
public function getTableSchema() { $res = parent::getTableSchema(); $res->primaryKey = 'ip'; return $res; }