Answers for "add column in exitsing tabele migration in laravel"

PHP
0

add new column in existing table in laravel migration

public function up()
{
    Schema::table('users', function($table) {
        $table->integer('paid');
    });
}
Posted by: Guest on August-19-2020

Code answers related to "add column in exitsing tabele migration in laravel"

Browse Popular Code Answers by Language