laravel 마이그레이션에서 열 추가
php artisan make:migration add_paid_to_users_table --table=users
기존 마이그레이션 laravel 을 변경하는 방법
php artisan make:migration update_user_guide_in_product_translations_table
마이그레이션 필수 필드 라라벨
$table->string('foo')->nullable(false)->change();
라라벨 롤백 마지막 마이그레이션
php artisan migrate:rollback --step=1
기존 마이그레이션 변경 laravel
php artisan make:migration update_description_in_products_table
laravel commad 의 기존 테이블로 마이그레이션
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}