· 7 years ago · Feb 19, 2019, 11:20 AM
1Migrating: 0000_00_00_000000_zero_migration
2
3 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'tariffs' already exists (SQL: create table `tariffs` (`id` bigint unsigned not null auto_increment primary key, `name` varchar(255) null, `prepaid_percent` int unsigned null default '0', `fullpaid_percent` int unsigned null default '0', `reservation_price` int unsigned null default '0', `click_price` int unsigned null default '0', `payment_interval` varchar(255) not null default '', `is_announces_enabled` tinyint(1) not null default '0', `is_replies_enabled` tinyint(1) not null default '0', `is_stats_enabled` tinyint(1) not null default '0', `is_promo_enabled` tinyint(1) not null default '0', `is_google_enabled` tinyint(1) null default '0', `min_balance` int unsigned not null default '0', `is_orders` tinyint(1) null default '1', `is_order_bookings` tinyint(1) null default '0', `is_order_calendar` tinyint(1) null default '0', `amount` int null default '0') default character set utf8mb4 collate 'utf8mb4_unicode_ci')
4
5 at /home/ugoloc/ugoloc_server/laravel-web-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
6 660| // If an exception occurs when attempting to run a query, we'll format the error
7 661| // message to include the bindings with SQL, which will make this exception a
8 662| // lot more helpful to the developer instead of just the database's errors.
9 663| catch (Exception $e) {
10 > 664| throw new QueryException(
11 665| $query, $this->prepareBindings($bindings), $e
12 666| );
13 667| }
14 668|
15
16 Exception trace:
17
18 1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'tariffs' already exists")
19 /home/ugoloc/ugoloc_server/laravel-web-app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:144
20
21 2 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'tariffs' already exists")
22 /home/ugoloc/ugoloc_server/laravel-web-app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:142
23
24 Please use the argument -v to see more details.