laravel vytvoriť tabuľku db
php artisan make:migration create_users_table
ako vytvoriť migráciu v 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"
migrácia požadované pole laravel
$table->string('foo')->nullable(false)->change();
laravel urobiť migráciu
php artisan make:migration CreateUsersTable
vytvorenie migrácie pomocou modelu laravel
php artisan make:model Settings --migration