Hướng dẫn thêm column(cột) và change type column cho table bằng command trong Laravel
1) add new column to table Link: https://stackoverflow.com/questions/16791613/add-a-new-column-to-existing-table-in-a-migration To create a migration, you may use the migrate:make command on the Artisan CLI. Use a specific name to avoid clashing with existing models for Laravel 3: php artisan migrate:make add_paid_to_users for Laravel 5+: You then need to use the Schema::table() method (as you’re accessing an existing table, not…
Read More “Hướng dẫn thêm column(cột) và change type column cho table bằng command trong Laravel” »