зеркало из https://github.com/nextcloud/spreed.git
Also set a token when it is null
Appearantly some rooms had null as a token in the past Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
c572bad105
Коммит
9374a6ca2f
|
@ -79,7 +79,8 @@ class Version2000Date20171026140257 extends SimpleMigrationStep {
|
|||
$query = $this->connection->getQueryBuilder();
|
||||
$query->select('*')
|
||||
->from('spreedme_rooms')
|
||||
->where($query->expr()->emptyString('token'));
|
||||
->where($query->expr()->emptyString('token'))
|
||||
->orWhere($query->expr()->isNull('token'));
|
||||
$result = $query->execute();
|
||||
|
||||
$output->startProgress();
|
||||
|
|
Загрузка…
Ссылка в новой задаче