ezcDbSchemaAutoIncrementIndexValidator validates field definition types.
Source for this file: /DatabaseSchema/src/validators/auto_increment_index.php
Version: | //autogentag// |
Todo: | implement from an interface |
public static array(string) |
validate(
$schema
)
Validates if all the types used in the $schema are supported. |
Validates if all the types used in the $schema are supported.
This method loops over all the fields in a table and checks whether the type that is used for each field is supported. It will return an array containing error strings for each non-supported type that it finds.
Name | Type | Description |
---|---|---|
$schema |
ezcDbSchema |