We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of adrianolek:
Url: #973
Message:
It allows specifying eg. fulltext index for MysqlPlatform (the platform already supports it - https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L714 , but it couldn't be used in annotations/xml/yaml/php schemas). And also other platforms use flags for indexes (virtual, clustered etc.).
So now flags can be used like:
/**** * @Table(...,indexes={@Index(columns={"description"},flags={"fulltext"})}) */ class Foo { ... }
... <indexes> <index name="0" columns="description" flags="fulltext"/> </indexes> ...
Foo: ... indexes: - columns: [ description ] flags: [ fulltext ]
$metadata->setPrimaryTable(array( ... 'indexes' => array( array( 'columns' => array('description'), 'flags' => array('fulltext'), ) ), ... ));
The text was updated successfully, but these errors were encountered:
Comment created by @doctrinebot:
A related Github Pull-Request [GH-973] was closed: #973
Sorry, something went wrong.
Comment created by @Ocramius:
Merged: 3a1e24e
Issue was closed with resolution "Fixed"
Ocramius
No branches or pull requests
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of adrianolek:
Url: #973
Message:
It allows specifying eg. fulltext index for MysqlPlatform (the platform already supports it - https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L714 , but it couldn't be used in annotations/xml/yaml/php schemas). And also other platforms use flags for indexes (virtual, clustered etc.).
So now flags can be used like:
The text was updated successfully, but these errors were encountered: