diff --git a/database/migrations/2024_10_20_115222_update_entity_id_to_big_int_in_filesystem_entities.php b/database/migrations/2024_10_20_115222_update_entity_id_to_big_int_in_filesystem_entities.php new file mode 100644 index 000000000..1e79e243d --- /dev/null +++ b/database/migrations/2024_10_20_115222_update_entity_id_to_big_int_in_filesystem_entities.php @@ -0,0 +1,29 @@ +unsignedBigInteger('entity_id')->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('filesystem_entities', function (Blueprint $table) { + // Reverse back to CHAR(36) if needed + $table->char('entity_id', 36)->change(); + }); + } +};