質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
+25 vendor frames 48 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))```
|
48
48
|
|
49
|
-
|
49
|
+
```
|
50
50
|
|
51
51
|
### 該当のソースコード
|
52
52
|
|
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
|
56
56
|
|
57
|
-
```
|
57
|
+
```
|
58
58
|
|
59
59
|
<?php
|
60
60
|
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,11 +18,9 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
-
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 near "(": syntax error
|
21
|
+
Doctrine\DBAL\Exception\SyntaxErrorException An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 near "(": syntax error
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
|
25
|
-
at vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:71
|
23
|
+
at vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:71
|
26
24
|
|
27
25
|
67▕ return new NonUniqueFieldNameException($exception, $query);
|
28
26
|
|
@@ -42,15 +40,11 @@
|
|
42
40
|
|
43
41
|
75▕ return new ReadOnlyException($exception, $query);
|
44
42
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
data
|
50
|
-
|
51
|
-
artisan:37
|
52
|
-
|
53
|
-
```
|
43
|
+
+21 vendor frames
|
44
|
+
|
45
|
+
22 database/migrations/2021_07_12_100400_change_quest_items_table_column_item_id.php:18 Illuminate\Support\Facades\Facade::__callStatic("table")
|
46
|
+
|
47
|
+
+25 vendor frames 48 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))```
|
54
48
|
|
55
49
|
|
56
50
|
|
1
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,27 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
at vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:71
|
26
|
+
|
27
|
+
67▕ return new NonUniqueFieldNameException($exception, $query);
|
28
|
+
|
25
|
-
|
29
|
+
68▕ }
|
30
|
+
|
31
|
+
69▕
|
32
|
+
|
33
|
+
70▕ if (strpos($exception->getMessage(), 'syntax error') !== false) {
|
34
|
+
|
35
|
+
➜ 71▕ return new SyntaxErrorException($exception, $query);
|
36
|
+
|
37
|
+
72▕ }
|
38
|
+
|
39
|
+
73▕
|
40
|
+
|
41
|
+
74▕ if (strpos($exception->getMessage(), 'attempt to write a readonly database') !== false) {
|
42
|
+
|
43
|
+
75▕ return new ReadOnlyException($exception, $query);
|
44
|
+
|
45
|
+
|
26
46
|
|
27
47
|
|
28
48
|
|