diff --git a/database/migrations/2024_06_10_104752_revamp_api_keys_permissions.php b/database/migrations/2024_06_10_104752_revamp_api_keys_permissions.php index bed712b0cb..ee8b649746 100644 --- a/database/migrations/2024_06_10_104752_revamp_api_keys_permissions.php +++ b/database/migrations/2024_06_10_104752_revamp_api_keys_permissions.php @@ -22,7 +22,7 @@ public function up(): void { Schema::table('api_keys', function (Blueprint $table) { - $table->text('permissions'); + $table->json('permissions'); }); foreach (ApiKey::query() as $apiKey) {