Skip to content

Commit 55ed8b0

Browse files
committed
fixup! Rename collaborator.source to .type
1 parent 43316a6 commit 55ed8b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Migration/Version20001Date20220830131446.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
5858
'notnull' => true,
5959
'length' => 64,
6060
]);
61-
$table->addColumn('collaborator_source', Types::INTEGER, [
61+
$table->addColumn('collaborator_type', Types::INTEGER, [
6262
'notnull' => true,
6363
]);
6464

65-
$table->addUniqueConstraint(['album_id', 'collaborator_id', 'collaborator_source'], 'collaborators_unique_idx');
65+
$table->addUniqueConstraint(['album_id', 'collaborator_id', 'collaborator_type'], 'collaborators_unique_idx');
6666
}
6767

6868
if (!$schema->getTable("photos_albums_files")->hasColumn("owner")) {

0 commit comments

Comments
 (0)