Skip to content

Commit f37f8d3

Browse files
committed
fix: missed unsigned migration for application_image_proofs
Fixes missed column in #5197.
1 parent 5e2a17d commit f37f8d3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

database/migrations/2026_01_07_040502_mark_columns_as_unsigned.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
*/
2626
public function up(): void
2727
{
28+
Schema::table('application_image_proofs', function (Blueprint $table): void {
29+
$table->unsignedInteger('application_id')->change();
30+
});
31+
2832
Schema::table('application_url_proofs', function (Blueprint $table): void {
2933
$table->unsignedInteger('application_id')->change();
3034
});

database/schema/mysql-schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ DROP TABLE IF EXISTS `application_image_proofs`;
8080
/*!50503 SET character_set_client = utf8mb4 */;
8181
CREATE TABLE `application_image_proofs` (
8282
`id` int unsigned NOT NULL AUTO_INCREMENT,
83-
`application_id` int NOT NULL,
83+
`application_id` int unsigned NOT NULL,
8484
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
8585
`created_at` timestamp NULL DEFAULT NULL,
8686
`updated_at` timestamp NULL DEFAULT NULL,

0 commit comments

Comments
 (0)