Answers for "add column in table laravel migrat"

PHP
2

add new column in laravel migration

Schema::table('table_name', function (Blueprint $table) {
            $table->string('column_name', 255)->nullable()->after('previous_column_name');
        });
Posted by: Guest on September-29-2020

Code answers related to "add column in table laravel migrat"

Browse Popular Code Answers by Language