diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-06-22 00:12:12 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-06-22 00:12:12 -0100 |
commit | ee7c0a613edb3765b788768563ced8caf5c271d3 (patch) | |
tree | 0d5748a08a1e3343627f806d95fd266df681ff27 | |
parent | e6842a5b6ce41bdfadc07d521be52d0faff63534 (diff) |
0.2.5v0.2.5
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Migration/Version0002Date20190622000001.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/Migration/Version0002Date20190622000001.php b/lib/Migration/Version0002Date20190622000001.php index a713215c..48ce46d2 100644 --- a/lib/Migration/Version0002Date20190622000001.php +++ b/lib/Migration/Version0002Date20190622000001.php @@ -87,13 +87,6 @@ class Version0002Date20190622000001 extends SimpleMigrationStep { ); } - $qb = $this->connection->getQueryBuilder(); - $qb->delete('social_a2_stream'); - $expr = $qb->expr(); - $qb->where($expr->eq('type', $qb->createNamedParameter('Announce'))); - - $qb->execute(); - return $schema; } @@ -110,6 +103,12 @@ class Version0002Date20190622000001 extends SimpleMigrationStep { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); + $qb = $this->connection->getQueryBuilder(); + $qb->delete('social_a2_stream'); + $expr = $qb->expr(); + $qb->where($expr->eq('type', $qb->createNamedParameter('Announce'))); + + $qb->execute(); $this->check( $schema, 'id', 'social_server_follows', 'social_a2_follows', 'accepted', 'boolean' |