· 6 years ago · Mar 07, 2019, 05:38 PM
1Zapmaster14@Zeus MINGW64 /f/Development/laragon/www/birdboard (master)
2$ php artisan migrate:refresh
3Nothing to rollback.
4Migrating: 2014_10_12_000000_create_users_table
5Migrated: 2014_10_12_000000_create_users_table
6Migrating: 2014_10_12_100000_create_password_resets_table
7Migrated: 2014_10_12_100000_create_password_resets_table
8Migrating: 2019_03_03_222941_create_projects_table
9
10 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'projects' already exists (SQL: create table `projects` (`id` int unsigned not null auto_increment primary key, `owner_id` int unsigned not null, `title` varchar(255)
11not null, `description` text not null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
12
13 at F:\Development\laragon\www\birdboard\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
14 660| // If an exception occurs when attempting to run a query, we'll format the error
15 661| // message to include the bindings with SQL, which will make this exception a
16 662| // lot more helpful to the developer instead of just the database's errors.
17 663| catch (Exception $e) {
18 > 664| throw new QueryException(
19 665| $query, $this->prepareBindings($bindings), $e
20 666| );
21 667| }
22 668|
23
24 Exception trace:
25
26 1 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'projects' already exists")
27 F:\Development\laragon\www\birdboard\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458
28
29 2 PDOStatement::execute()
30 F:\Development\laragon\www\birdboard\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458
31
32 Please use the argument -v to see more details