use Symfony\Component\DependencyInjection\ContainerInterface;
/**
- * Added index on wallabag_entry.uuid
+ * Added index on wallabag_entry.uid.
*/
class Version20161214094403 extends AbstractMigration implements ContainerAwareInterface
{
*/
private $container;
- private $indexName = 'IDX_entry_uiid';
+ private $indexName = 'IDX_entry_uid';
public function setContainer(ContainerInterface $container = null)
{
$entryTable = $schema->getTable($this->getTable('entry'));
$this->skipIf($entryTable->hasIndex($this->indexName), 'It seems that you already played this migration.');
- $entryTable->addIndex(['uuid'], $this->indexName);
+ $entryTable->addIndex(['uid'], $this->indexName);
}
/**