Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

create new column in Laravel migrations

public function up()
{
    Schema::table('users', function($table) {
        $table->integer('paid');
    });
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #column #Laravel #migrations
ADD COMMENT
Topic
Name
4+8 =