Migracje wymagane pola Laravela
$table->string('foo')->nullable(false)->change();
r00ster
$table->string('foo')->nullable(false)->change();
php artisan make:migration rename_author_id_in_posts_table --table=posts
Schema::rename('oldTablename', 'newTableName');
Schema::table('users', function (Blueprint $table) { $table->renameColumn('from', 'to');});