kopia lustrzana https://github.com/nextcloud/social
rodzic
ee7c0a613e
commit
e499140035
|
@ -103,12 +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();
|
||||
// $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'
|
||||
|
|
Ładowanie…
Reference in New Issue