diff --git a/database/migrations/2022_12_05_064156_add_key_id_index_to_profiles_table.php b/database/migrations/2022_12_05_064156_add_key_id_index_to_profiles_table.php new file mode 100644 index 000000000..32cf0af65 --- /dev/null +++ b/database/migrations/2022_12_05_064156_add_key_id_index_to_profiles_table.php @@ -0,0 +1,34 @@ +index('key_id'); + $table->index('remote_url'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('profiles', function (Blueprint $table) { + $table->dropIndex('profiles_key_id_index'); + $table->dropIndex('profiles_remote_url_index'); + }); + } +};