Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how create migration in laravel

//to create migration file in PHP use the artisan command "make"
php artisan make:migration create_users_table
// migration file must follow the naming convention "operation_tableName_table"
//Migration file to add column naming convention would be "add_tablename_table"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #migration #laravel
ADD COMMENT
Topic
Name
8+5 =