laravel migration remove relationship from table

41

Schema::table('admins', function (Blueprint $table) {
    $table->dropForeign('admins_post_id_foreign');
    $table->dropColumn('post_id');
});

Comments

Submit
0 Comments