diff --git a/database/migrations/2021_03_29_120402_add_custom_field_custom_fieldset_pk.php b/database/migrations/2021_03_29_120402_add_custom_field_custom_fieldset_pk.php new file mode 100644 index 000000000000..b8b3c9151d7e --- /dev/null +++ b/database/migrations/2021_03_29_120402_add_custom_field_custom_fieldset_pk.php @@ -0,0 +1,32 @@ +primary(['custom_field_id', 'custom_fieldset_id'], 'custom_field_custom_fieldset_primary'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('custom_field_custom_fieldset', function (Blueprint $table) { + $table->dropPrimary('custom_field_custom_fieldset_primary'); + }); + } +} diff --git a/database/migrations/2021_03_29_124623_add_migrations_pk.php b/database/migrations/2021_03_29_124623_add_migrations_pk.php new file mode 100644 index 000000000000..f36d5100c21e --- /dev/null +++ b/database/migrations/2021_03_29_124623_add_migrations_pk.php @@ -0,0 +1,33 @@ +increments('id'); + } + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + } +} diff --git a/database/migrations/2021_03_30_090246_add_password_resets_pk.php b/database/migrations/2021_03_30_090246_add_password_resets_pk.php new file mode 100644 index 000000000000..b3eb2802fb2d --- /dev/null +++ b/database/migrations/2021_03_30_090246_add_password_resets_pk.php @@ -0,0 +1,32 @@ +increments('id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('password_resets', function (Blueprint $table) { + $table->dropColumn('id'); + }); + } +}