Skip to content

Commit 6d3fa07

Browse files
committed
fix: 🐛 🔧 Widen DB field uids for federated sharing - initial setup for new installs
Uids in several fields are not long enough for names, this shifts length 64 >>>255
1 parent 920b9ec commit 6d3fa07

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/Migration/Version2060Date20200302131958.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
6060
]);
6161
$table->addColumn('owner_uid', 'string', [
6262
'notnull' => false,
63-
'length' => 64,
63+
'length' => 255,
6464
]);
6565
$table->addColumn('editor_uid', 'string', [
6666
'notnull' => false,
67-
'length' => 64,
67+
'length' => 255,
6868
]);
6969
$table->addColumn('guest_displayname', 'string', [
7070
'notnull' => false,
@@ -151,7 +151,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
151151
]);
152152
$table->addColumn('uid', 'string', [
153153
'notnull' => false,
154-
'length' => 64,
154+
'length' => 255,
155155
]);
156156
$table->addColumn('fileid', 'bigint', [
157157
'notnull' => true,
@@ -187,7 +187,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
187187
]);
188188
$table->addColumn('uid', 'string', [
189189
'notnull' => false,
190-
'length' => 64,
190+
'length' => 255,
191191
]);
192192
$table->addColumn('fileid', 'bigint', [
193193
'notnull' => true,

0 commit comments

Comments
 (0)