fixed user_dashboards table column name

This commit is contained in:
Cüneyt Şentürk 2022-03-02 14:59:38 +03:00
parent 39c93038dd
commit 1cfd8de275

View File

@ -27,8 +27,8 @@ return new class extends Migration
}); });
Schema::table('user_dashboards', function (Blueprint $table) { Schema::table('user_dashboards', function (Blueprint $table) {
$table->dropPrimary(['user_id', 'company_id', 'user_type']); $table->dropPrimary(['user_id', 'dashboard_id', 'user_type']);
$table->primary(['user_id', 'company_id']); $table->primary(['user_id', 'dashboard_id']);
}); });
Schema::table('user_dashboards', function (Blueprint $table) { Schema::table('user_dashboards', function (Blueprint $table) {