diff options
author | Joas Schilling <coding@schilljs.com> | 2021-10-18 17:17:11 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-18 17:17:11 +0300 |
commit | 9e8d94d58f4cf230e08fbca95393040c44acbd50 (patch) | |
tree | 6f9d9afa013e3a4c7a9d92ca5dc52d7e00ffb2f8 /lib/Migration | |
parent | 8c18fc16cb5ea5044f7f0d67b0693fe60b2e2eae (diff) |
Replace old type constants with new ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version2001Date20170707115443.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version2001Date20170707115443.php b/lib/Migration/Version2001Date20170707115443.php index 0fc990d21..69316cc02 100644 --- a/lib/Migration/Version2001Date20170707115443.php +++ b/lib/Migration/Version2001Date20170707115443.php @@ -99,7 +99,7 @@ class Version2001Date20170707115443 extends SimpleMigrationStep { $query->select('id') ->from('spreedme_rooms') - ->where($query->expr()->eq('type', $query->createNamedParameter(Room::ONE_TO_ONE_CALL))); + ->where($query->expr()->eq('type', $query->createNamedParameter(Room::TYPE_ONE_TO_ONE))); $result = $query->execute(); $one2oneRooms = []; |