migruj do istniejącej tabeli w Laravel Commad
php artisan make:migration add_paid_to_users_table --table=users
Blushing Bear
php artisan make:migration add_paid_to_users_table --table=users
Schema::table('table_name', function (Blueprint $table) {
$table->string('column_name', 255)->nullable()->after('previous_column_name');
});
To Generate Laravel Migrations from an existing database.
Use the following package.
https://github.com/Xethron/migrations-generator