diff --git a/database/migrations/2023_02_02_193726_add_index_to_modules_table.php b/database/migrations/2023_02_02_193726_add_index_to_modules_table.php new file mode 100644 index 0000000..1750003 --- /dev/null +++ b/database/migrations/2023_02_02_193726_add_index_to_modules_table.php @@ -0,0 +1,32 @@ +index('balance'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down(): void + { + Schema::table('modules', function (Blueprint $table) { + $table->dropIndex('balance'); + }); + } +};