diff options
Diffstat (limited to 'apps/dav/lib/Migration/Version1006Date20180619154313.php')
-rw-r--r-- | apps/dav/lib/Migration/Version1006Date20180619154313.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/lib/Migration/Version1006Date20180619154313.php b/apps/dav/lib/Migration/Version1006Date20180619154313.php index 8fb82ffed67..91d4826c277 100644 --- a/apps/dav/lib/Migration/Version1006Date20180619154313.php +++ b/apps/dav/lib/Migration/Version1006Date20180619154313.php @@ -22,8 +22,8 @@ class Version1006Date20180619154313 extends SimpleMigrationStep { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); - if (!$schema->hasTable('calendar_invitation_tokens')) { - $table = $schema->createTable('calendar_invitation_tokens'); + if (!$schema->hasTable('calendar_invitations')) { + $table = $schema->createTable('calendar_invitations'); $table->addColumn('id', Type::BIGINT, [ 'autoincrement' => true, @@ -62,8 +62,8 @@ class Version1006Date20180619154313 extends SimpleMigrationStep { 'unsigned' => true, ]); - $table->setPrimaryKey(['id'], 'calendar_invitation_tokens_id_idx'); - $table->addIndex(['token'], 'calendar_invitation_tokens_token_idx'); + $table->setPrimaryKey(['id']); + $table->addIndex(['token'], 'calendar_invitation_tokens'); return $schema; } |