Skip to content

Tag: artisan-migrate

Laravel 9.x Terminal can not migrate table

Trying to migrate a users table. Already have 1 table at DB. It’s Contacts for contact form. Trying to migrate a users table. Created my table with terminal $ php artisan make:migration create_users_table Had the following code in it. When I tried to migrate the table terminal returns an error. I run ph…

Safely remove migration In Laravel

In Laravel, there appears to be a command for creating a migration, but not removing. Create migration command: If I want to delete the migration, can I just safely delete the corresponding migrations file within the database/migrations folder? Migrations file: Answer I accidentally created a migration with a…