Differential D3584 Diff 10355 src/database/migrations/2021_10_27_120000_extend_openvidu_rooms_session_id.php
Changeset View
Changeset View
Standalone View
Standalone View
src/database/migrations/2021_10_27_120000_extend_openvidu_rooms_session_id.php
Show All 26 Lines | class ExtendOpenviduRoomsSessionId extends Migration | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function down() | public function down() | ||||
{ | { | ||||
Schema::table( | Schema::table( | ||||
'openvidu_rooms', | 'openvidu_rooms', | ||||
function (Blueprint $table) { | function (Blueprint $table) { | ||||
$table->string('session_id', 16)->change(); | // $table->string('session_id', 16)->change(); | ||||
mollekopf: Why is this removed? | |||||
machniakAuthorUnsubmitted Done Inline ActionsIt hit me (as I use artisan migrate:refresh sometimes). It does not work if you have long session identifiers in the table. It throws an error. I think it is not that important, so we can have it to stay at 36. Or we need to set session_id to null first. machniak: It hit me (as I use artisan migrate:refresh sometimes). It does not work if you have long… | |||||
} | } | ||||
); | ); | ||||
} | } | ||||
} | } |
Why is this removed?