Answers for "how to add filed in laravel migration"

PHP
1

pip install urllib

pip install urllib3
Posted by: Guest on February-10-2021
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 "how to add filed in laravel migration"

Browse Popular Code Answers by Language