database/migrations/2016_11_10_075644_modifyColumnsEventTickets.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('eventTickets', function ($table){
            $table->string('eventId')->change();
            $table->string('userId')->change();
            $table->string('isUsed')->change();
        });
        Schema::table('events', function ($table){
            $table->string('price')->change();
            $table->string('clientId')->change();
        });
    }
public function down ( ) { Schema :: table ( 'eventTickets' , function ( $ table ) { $ table -> string ( 'eventId' ) -> change ( ) ; $ table -> string ( 'userId' ) -> change ( ) ; $ table -> string ( 'isUsed' ) -> change ( ) ; } ) ; Schema :: table ( 'events' , function ( $ table ) { $ table -> string ( 'price' ) -> change ( ) ; $ table -> string ( 'clientId' ) -> change ( ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .
//