forked from wallabag/wallabag
Some cleanup
Also, do not run the hashed_url migration into a Doctrine migration
This commit is contained in:
@ -24,11 +24,6 @@ class Version20190401105353 extends WallabagMigration
|
||||
'notnull' => false,
|
||||
]);
|
||||
|
||||
// sqlite doesn't have the MD5 function by default
|
||||
if ('sqlite' !== $this->connection->getDatabasePlatform()->getName()) {
|
||||
$this->addSql('UPDATE ' . $this->getTable('entry') . ' SET hashed_url = MD5(url)');
|
||||
}
|
||||
|
||||
$entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user