ezcDbSchemaUniqueIndexNameValidator checks for duplicate index names.
Source for this file: /DatabaseSchema/src/validators/unique_index_name.php
Version: | //autogentag// |
Todo: | implement from an interface |
public static array(string) |
validate(
$schema
)
Validates if all the index names used are unique accross the schema. |
Validates if all the index names used are unique accross the schema.
This method loops over all the indexes in all tables and checks whether they have been used before.
Name | Type | Description |
---|---|---|
$schema |
ezcDbSchema |