private static function checkColumn(DBColumn $column) { $type = $column->getType(); Assert::isTrue(($type->getId() == DataType::BIGINT || $type->getId() == DataType::INTEGER) && $column->isPrimaryKey()); }
private static function checkColumn(DBColumn $column) { $type = $column->getType(); Assert::isTrue(($type->getId() == DataType::BIGINT || $type->getId() == DataType::INTEGER) && $column->isPrimaryKey()); }