aggiungi colonna nella migrazione di laravel
php artisan make:migration add_paid_to_users_table --table=users
come modificare la migrazione esistente laravel
php artisan make:migration update_user_guide_in_product_translations_table
migrazioni campo obbligatorio laravel
$table->string('foo')->nullable(false)->change();
laravel rollback ultima migrazione
php artisan migrate:rollback --step=1
modifica migrazione esistente laravel
php artisan make:migration update_description_in_products_table
migrazione a una tabella esistente in laravel commad
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}