Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ErrorException] Undefined index: index_type #22

Closed
mhayta opened this issue Jan 28, 2017 · 0 comments
Closed

[ErrorException] Undefined index: index_type #22

mhayta opened this issue Jan 28, 2017 · 0 comments

Comments

@mhayta
Copy link

mhayta commented Jan 28, 2017

After php artisan migrate couse an error
local.ERROR: ErrorException: Undefined index: index_type in /var/www/html/laravelwork1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php:75
Stack trace:
#0 /var/www/html/laravelwork1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php(75): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/var/www/html/l...', 75, Array)
#1 /var/www/html/laravelwork1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php(193): Doctrine\DBAL\Schema\MySqlSchemaManager->_getPortableTableIndexesList(Array, 'settings')
#2 /var/www/html/laravelwork1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php(286): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableIndexes('settings')
#3 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Connection.php(926): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableDetails('settings')
#4 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Schema/Grammars/Grammar.php(41): Illuminate\Database\Connection->getDoctrineColumn('settings', 'key')
#5 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(107): Illuminate\Database\Schema\Grammars\Grammar->compileRenameColumn(Object(Illuminate\Database\Schema\Blueprint), Object(Illuminate\Support\Fluent), Object(Illuminate\Database\MySqlConnection))
#6 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(82): Illuminate\Database\Schema\Blueprint->toSql(Object(Illuminate\Database\MySqlConnection), Object(Illuminate\Database\Schema\Grammars\MySqlGrammar))
#7 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(229): Illuminate\Database\Schema\Blueprint->build(Object(Illuminate\Database\MySqlConnection), Object(Illuminate\Database\Schema\Grammars\MySqlGrammar))
#8 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(130): Illuminate\Database\Schema\Builder->build(Object(Illuminate\Database\Schema\Blueprint))
#9 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Database\Schema\Builder->table('settings', Object(Closure))
#10 /var/www/html/laravelwork1/database/migrations/2015_12_15_020453_alter_settings_table.php(17): Illuminate\Support\Facades\Facade::__callStatic('table', Array)
#11 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(373): AlterSettingsTable->up()
#12 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(380): Illuminate\Database\Migrations\Migrator->Illuminate\Database\Migrations{closure}()
#13 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(162): Illuminate\Database\Migrations\Migrator->runMigration(Object(AlterSettingsTable), 'up')
#14 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(130): Illuminate\Database\Migrations\Migrator->runUp('2015_12_15_0204...', 12, false)
#15 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(97): Illuminate\Database\Migrations\Migrator->runMigrationList(Array, Array)
#16 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(65): Illuminate\Database\Migrations\Migrator->run(Array, Array)
#17 [internal function]: Illuminate\Database\Console\Migrations\MigrateCommand->fire()
#18 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)
#19 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#20 /var/www/html/laravelwork1/vendor/symfony/console/Command/Command.php(261): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /var/www/html/laravelwork1/vendor/symfony/console/Application.php(817): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /var/www/html/laravelwork1/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Database\Console\Migrations\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /var/www/html/laravelwork1/vendor/symfony/console/Application.php(116): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /var/www/html/laravelwork1/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /var/www/html/laravelwork1/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 {main}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants