add role column in laravel migration code example
Example 1: add new column in existing table in laravel migration
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}
Example 2: schema add column laravel
Schema::table('users', function($table) {
$table->string("title");
$table->text("description");
$table->timestamps();
});