예제 #1
0
 /**
  * Is equals to another column?
  *
  * @param SchemaColumn $c
  * @return bool
  */
 public function equals(SchemaColumn $c)
 {
     return $this->getType() == $c->getType() && $this->getLength() == $c->getLength() && $this->getAutoIncrement() == $c->getAutoIncrement() && $this->getPrimary() == $c->getPrimary() && $this->getIndex() == $c->getIndex() && $this->getNull() == $c->getNull() && $this->getName() == $c->getName() && $this->equalsForeign($c);
 }