質問編集履歴
1
エラー内容を追記させていただきました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,4 +20,70 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
+
エラー内容は以下の通りです。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
『exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1166 Incorrect column name ''' in /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:167
|
28
|
+
|
29
|
+
Stack trace:
|
30
|
+
|
31
|
+
#0 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php(167): PDO->exec('CREATE TABLE `c...')
|
32
|
+
|
33
|
+
#1 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php(299): Phinx\Db\Adapter\PdoAdapter->execute('CREATE TABLE `c...')
|
34
|
+
|
35
|
+
#2 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(369): Phinx\Db\Adapter\MysqlAdapter->createTable(Object(Phinx\Db\Table\Table), Array, Array)
|
36
|
+
|
37
|
+
#3 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/TimedOutputAdapter.php(138): Phinx\Db\Adapter\AdapterWrapper->createTable(Object(Phinx\Db\Table\Table), Array, Array)
|
38
|
+
|
39
|
+
#4 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(369): Phinx\Db\Adapter\TimedOutputAdapter->createTable(Object(Phinx\Db\Table\Table), Array, Array)
|
40
|
+
|
41
|
+
#5 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Plan/Plan.php(140): Phinx\Db\Adapter\AdapterWrapper->createTable(Object(Phinx\Db\Table\Table), Array, Array)
|
42
|
+
|
43
|
+
#6 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(719): Phinx\Db\Plan\Plan->execute(Object(Migrations\CakeAdapter))
|
44
|
+
|
45
|
+
#7 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(613): Phinx\Db\Table->executeActions(false)
|
46
|
+
|
47
|
+
#8 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/migrations/src/Table.php(118): Phinx\Db\Table->create()
|
48
|
+
|
49
|
+
#9 /home/vagrant/cakephp_lessons/myblog/config/Migrations/20190820110010_CreateComments.php(39): Migrations\Table->create()
|
50
|
+
|
51
|
+
#10 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Migration/Manager/Environment.php(125): CreateComments->change()
|
52
|
+
|
53
|
+
#11 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(391): Phinx\Migration\Manager\Environment->executeMigration(Object(CreateComments), 'up', false)
|
54
|
+
|
55
|
+
#12 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(365): Phinx\Migration\Manager->executeMigration('default', Object(CreateComments), 'up', false)
|
56
|
+
|
57
|
+
#13 /home/vagrant/cakephp_lessons/myblog/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(122): Phinx\Migration\Manager->migrate('default', '20190820110010', false)
|
58
|
+
|
59
|
+
#14 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/migrations/src/Command/CommandTrait.php(35): Phinx\Console\Command\Migrate->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
60
|
+
|
61
|
+
#15 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/migrations/src/Command/Migrate.php(67): Migrations\Command\Migrate->parentExecute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
62
|
+
|
63
|
+
#16 /home/vagrant/cakephp_lessons/myblog/vendor/symfony/console/Command/Command.php(255): Migrations\Command\Migrate->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
64
|
+
|
65
|
+
#17 /home/vagrant/cakephp_lessons/myblog/vendor/symfony/console/Application.php(969): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
66
|
+
|
67
|
+
#18 /home/vagrant/cakephp_lessons/myblog/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Migrations\Command\Migrate), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
68
|
+
|
69
|
+
#19 /home/vagrant/cakephp_lessons/myblog/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
70
|
+
|
71
|
+
#20 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/migrations/src/Shell/MigrationsShell.php(109): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
|
72
|
+
|
73
|
+
#21 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/cakephp/src/Console/Shell.php(532): Migrations\Shell\MigrationsShell->main('migrations', 'migrate')
|
74
|
+
|
75
|
+
#22 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/migrations/src/Shell/MigrationsShell.php(165): Cake\Console\Shell->runCommand(Array, true, Array)
|
76
|
+
|
77
|
+
#23 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/cakephp/src/Console/CommandRunner.php(384): Migrations\Shell\MigrationsShell->runCommand(Array, true)
|
78
|
+
|
79
|
+
#24 /home/vagrant/cakephp_lessons/myblog/vendor/cakephp/cakephp/src/Console/CommandRunner.php(162): Cake\Console\CommandRunner->runShell(Object(Migrations\Shell\MigrationsShell), Array)
|
80
|
+
|
81
|
+
#25 /home/vagrant/cakephp_lessons/myblog/bin/cake.php(12): Cake\Console\CommandRunner->run(Array)
|
82
|
+
|
83
|
+
#26 {main}
|
84
|
+
|
85
|
+
』
|
86
|
+
|
87
|
+
|
88
|
+
|
23
89
|
何か少しでも手掛かりがわかる方、アドレスよろしくお願いします。
|