diff --git a/database/migrations/2023_07_03_212841_add_index_to_project_task_users_table.php b/database/migrations/2023_07_03_212841_add_index_to_project_task_users_table.php new file mode 100644 index 000000000..211c96895 --- /dev/null +++ b/database/migrations/2023_07_03_212841_add_index_to_project_task_users_table.php @@ -0,0 +1,34 @@ +index('userid'); + } + }); + } + + /** + * Reverse the migrations. + * + * @return voidw + */ + public function down() + { + Schema::table('project_task_users', function (Blueprint $table) { + $table->dropIndex(['userid']); + }); + } +}