hasPrimaryKey()) { $values = array(); foreach ($table->getPrimaryKey() as $column) { $values[] = "`" . $column->getName() . "`"; } ?> PRIMARY KEY(),