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