*/
class Version20190601125843 extends WallabagMigration
{
- /**
- * @param Schema $schema
- */
public function up(Schema $schema)
{
$entryTable = $schema->getTable($this->getTable('entry'));
$entryTable->addIndex(['user_id', 'hashed_given_url'], 'hashed_given_url_user_id', [], ['lengths' => [null, 40]]);
}
- /**
- * @param Schema $schema
- */
public function down(Schema $schema)
{
$entryTable = $schema->getTable($this->getTable('entry'));