AddEntityAccessControls::down PHP Method

down() public method

Reverse the migrations.
public down ( ) : void
return void
    public function down()
    {
        Schema::table('images', function (Blueprint $table) {
            $table->dropColumn('uploaded_to');
        });
        Schema::table('books', function (Blueprint $table) {
            $table->dropColumn('restricted');
        });
        Schema::table('chapters', function (Blueprint $table) {
            $table->dropColumn('restricted');
        });
        Schema::table('pages', function (Blueprint $table) {
            $table->dropColumn('restricted');
        });
        Schema::drop('restrictions');
    }
AddEntityAccessControls