Skip to content

Commit f85e0ea

Browse files
Fix migration
1 parent fb85074 commit f85e0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2024_12_30_000001_create_user_settings_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public function up(): void
1313

1414
Schema::create('user_settings', function (Blueprint $table): void {
1515
$table->id();
16-
$table->string('user_type'); // customer, admin, etc.
16+
$table->string('user_type', 50); // customer, admin, etc.
1717
$table->unsignedBigInteger('user_id');
18-
$table->string('key'); // setting key like 'biometric_enabled', 'notifications', etc.
18+
$table->string('key', 100); // setting key like 'biometric_enabled', 'notifications', etc.
1919
$table->json('value'); // setting value stored as JSON
2020
$table->timestamps();
2121

0 commit comments

Comments
 (0)