· 6 years ago · Jan 07, 2020, 02:38 PM
1Migration created:
22020_01_07_142011_create_customers_table.php
3
4Model created:
5Customers.php
6
7Repository created:
8CustomersRepository.php
9
10Factory created:
11CustomersFactory.php
12
13Create Request created:
14CreateCustomersRequest.php
15
16Update Request created:
17UpdateCustomersRequest.php
18
19Controller created:
20CustomersController.php
21
22Generating Views...
23table.blade.php created
24index.blade.php created
25field.blade.php created
26create.blade.php created
27edit.blade.php created
28show_fields.blade.php created
29show.blade.php created
30Views created:
31Route Customers is already exists, Skipping Adjustment.
32Menu Customers is already exists, Skipping Adjustment.
33
34 Customers.json already exists. Do you want to overwrite it? [y|N] (yes/no) [no]:
35 > yes
36
37
38Schema File saved:
39Customers.json
40
41
42Do you want to migrate database? [y|N] (yes/no) [no]:
43 > yes
44
45Migrating: 2014_10_12_000000_create_users_table
46
47 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' a
48lready exists (SQL: create table `users` (`id` bigint unsigned not null auto_increment primary key, `name` varcha
49r(255) not null, `email` varchar(255) not null, `email_verified_at` timestamp null, `password` varchar(255) not n
50ull, `remember_token` varchar(100) null, `created_at` timestamp null, `updated_at` timestamp null) default charac
51ter set utf8mb4 collate 'utf8mb4_unicode_ci')
52
53 at C:\xampp\htdocs\credit-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
54 665| // If an exception occurs when attempting to run a query, we'll format the error
55 666| // message to include the bindings with SQL, which will make this exception a
56 667| // lot more helpful to the developer instead of just the database's errors.
57 668| catch (Exception $e) {
58 > 669| throw new QueryException(
59 670| $query, $this->prepareBindings($bindings), $e
60 671| );
61 672| }
62 673|
63
64 Exception trace:
65
66 1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users'
67 already exists")
68 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:123
69
70 2 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists")
71 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:121
72
73 Please use the argument -v to see more details.
74
75 Whoops\Exception\ErrorException : Module 'openssl' already loaded
76
77 at Unknown:0
78 1|
79
80 Exception trace:
81
82 1 Whoops\Run::handleError("Module 'openssl' already loaded", "Unknown")
83 C:\xampp\htdocs\credit-app\vendor\filp\whoops\src\Whoops\Run.php:408
84
85 2 Whoops\Run::handleShutdown()
86 [internal]:0
87
88C:\xampp\htdocs\credit-app>php artisan migrate
89PHP Warning: Module 'openssl' already loaded in Unknown on line 0
90
91Warning: Module 'openssl' already loaded in Unknown on line 0
92Migrating: 2014_10_12_000000_create_users_table
93
94 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' a
95lready exists (SQL: create table `users` (`id` bigint unsigned not null auto_increment primary key, `name` varcha
96r(255) not null, `email` varchar(255) not null, `email_verified_at` timestamp null, `password` varchar(255) not n
97ull, `remember_token` varchar(100) null, `created_at` timestamp null, `updated_at` timestamp null) default charac
98ter set utf8mb4 collate 'utf8mb4_unicode_ci')
99
100 at C:\xampp\htdocs\credit-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
101 665| // If an exception occurs when attempting to run a query, we'll format the error
102 666| // message to include the bindings with SQL, which will make this exception a
103 667| // lot more helpful to the developer instead of just the database's errors.
104 668| catch (Exception $e) {
105 > 669| throw new QueryException(
106 670| $query, $this->prepareBindings($bindings), $e
107 671| );
108 672| }
109 673|
110
111 Exception trace:
112
113 1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users'
114 already exists")
115 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:123
116
117 2 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists")
118 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:121
119
120 Please use the argument -v to see more details.
121
122 Whoops\Exception\ErrorException : Module 'openssl' already loaded
123
124 at Unknown:0
125 1|
126
127 Exception trace:
128
129 1 Whoops\Run::handleError("Module 'openssl' already loaded", "Unknown")
130 C:\xampp\htdocs\credit-app\vendor\filp\whoops\src\Whoops\Run.php:408
131
132 2 Whoops\Run::handleShutdown()
133 [internal]:0
134
135C:\xampp\htdocs\credit-app>php artisan migrate
136PHP Warning: Module 'openssl' already loaded in Unknown on line 0
137
138Warning: Module 'openssl' already loaded in Unknown on line 0
139Migration table created successfully.
140Migrating: 2014_10_12_000000_create_users_table
141
142 Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key wa
143s too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
144
145 at C:\xampp\htdocs\credit-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
146 665| // If an exception occurs when attempting to run a query, we'll format the error
147 666| // message to include the bindings with SQL, which will make this exception a
148 667| // lot more helpful to the developer instead of just the database's errors.
149 668| catch (Exception $e) {
150 > 669| throw new QueryException(
151 670| $query, $this->prepareBindings($bindings), $e
152 671| );
153 672| }
154 673|
155
156 Exception trace:
157
158 1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key
159was too long; max key length is 767 bytes")
160 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:123
161
162 2 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key
163 length is 767 bytes")
164 C:\xampp\htdocs\credit-app\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:121
165
166 Please use the argument -v to see more details.
167
168 Whoops\Exception\ErrorException : Module 'openssl' already loaded
169
170 at Unknown:0
171 1|
172
173 Exception trace:
174
175 1 Whoops\Run::handleError("Module 'openssl' already loaded", "Unknown")
176 C:\xampp\htdocs\credit-app\vendor\filp\whoops\src\Whoops\Run.php:408
177
178 2 Whoops\Run::handleShutdown()
179 [internal]:0
180
181C:\xampp\htdocs\credit-app>