Top "Artisan-migrate" questions

Safely remove migration In Laravel

In Laravel, there appears to be a command for creating a migration, but not removing. Create migration command: php artisan …

php database laravel artisan-migrate
Laravel migration (errno: 150 "Foreign key constraint is incorrectly formed")

I have an orders table and a have a sell_shipping_labels which references orders.id as a foreign. However …

mysql laravel laravel-5 laravel-artisan artisan-migrate
php artisan migrate:make create_mytable fails: "migrate:make" is not defined

When running the following command at the root of my Laravel 5 application, php artisan migrate:make create_mytable I get …

laravel laravel-5 laravel-artisan artisan-migrate
Laravel 5 + PostgreSQL: "Database [postgres] not configured." Error

I'm trying to get started with Laravel + PostgreSQL and been following the database tutorial. Unfortunately, after updating the database configuration …

php postgresql laravel laravel-5 artisan-migrate
PHP artisan migrate not creating new table

I am new to Laravel and I'm following Laravel Documentations as well as few Tutorial Videos. However, I am running …

php laravel laravel-artisan artisan-migrate
problems with database connection in laravel 5

I use the command php artisan migrate to migrate my database connection but I still get the same error and …

laravel-5 laravel-artisan artisan-migrate
php artisan migrate : [PDOException] could not find driver

My system config is Ubuntu 14.04 + XAMPP + Laravel 4 installed mysql driver is configured on /opt/lampp/htdocs/larva/app/config/database.…

laravel laravel-4 laravel-artisan artisan-migrate
php artisan migrate: Class Schema not found

When doing a migration, in the Windows console I execute the command: php artisan migrate When I run the command, …

php database laravel web-applications artisan-migrate
Call to undefined method Illuminate\Database\Schema\MySqlBuilder::defaultStringLength()

Firstly i was getting an error in php artisan migrate as SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was …

php laravel-5 laravel-artisan artisan-migrate
Refresh laravel migration for specific table

Can I run php artisan migrate:refresh for specific table? Or can I refresh specific table migration in general? I …

laravel migration migrate laravel-5.5 artisan-migrate