DDC-3014: [GH-973] Added index flags support in annotation, xml & yaml mapping drivers. #3781

doctrinebot opened this Issue Mar 6, 2014 · 3 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of adrianolek:

Url: #973


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
{ ... }
      <index name="0" columns="description" flags="fulltext"/>
      columns: [ description ]
      flags: [ fulltext ]
   'indexes' => array(
          'columns' => array('description'),
          'flags' => array('fulltext'),

Comment created by @doctrinebot:

A related Github Pull-Request [GH-973] was closed:


Comment created by @ocramius:

Merged: 3a1e24e


Issue was closed with resolution "Fixed"

@Ocramius Ocramius was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment