Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how remove column in migration laravel

          Schema::table('articles', function($table) {
             $table->dropColumn('comment_count');
             $table->dropColumn('view_count');
          });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #column #migration #laravel
ADD COMMENT
Topic
Name
5+1 =