i try to create to change the database but same thing
Migrating Flarum...
In Connection.php line 664:
[Illuminate\Database\QueryException (HY000)]
SQLSTATE[HY000]: General error: 1005 Can't create table lespro_flarum
.#sql-8b8_4d291
(errno: 150 "Foreign key constraint i
s incorrectly formed") (SQL: alter table mast_posts
add constraint mast_posts_user_id_foreign
foreign key (user_id
) refe
rences mast_users
(id
) on delete set null)
Exception trace:
() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:664
Illuminate\Database\Connection->runQueryCallback() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:624
Illuminate\Database\Connection->run() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:459
Illuminate\Database\Connection->statement() at /home/lespro/public_html/vendor/illuminate/database/Schema/Blueprint.php:97
Illuminate\Database\Schema\Blueprint->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:264
Illuminate\Database\Schema\Builder->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:149
Illuminate\Database\Schema\Builder->table() at /home/lespro/public_html/vendor/flarum/core/migrations/2018_01_18_135100_change_posts_add_foreign_keys.php:38
Illuminate\Filesystem\Filesystem->{closure}() at n/a:n/a
call_user_func() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:199
Flarum\Database\Migrator->runClosureMigration() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:130
Flarum\Database\Migrator->runUp() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:113
Flarum\Database\Migrator->runMigrationList() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:87
Flarum\Database\Migrator->run() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:65
Flarum\Database\Console\MigrateCommand->upgrade() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:51
Flarum\Database\Console\MigrateCommand->fire() at /home/lespro/public_html/vendor/flarum/core/src/Console/AbstractCommand.php:39
Flarum\Console\AbstractCommand->execute() at /home/lespro/public_html/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /home/lespro/public_html/vendor/symfony/console/Application.php:921
Symfony\Component\Console\Application->doRunCommand() at /home/lespro/public_html/vendor/symfony/console/Application.php:273
Symfony\Component\Console\Application->doRun() at /home/lespro/public_html/vendor/symfony/console/Application.php:149
Symfony\Component\Console\Application->run() at /home/lespro/public_html/vendor/flarum/core/src/Console/Server.php:41
Flarum\Console\Server->listen() at /home/lespro/public_html/flarum:22
In PDOStatement.php line 119:
[Doctrine\DBAL\Driver\PDOException (HY000)]
SQLSTATE[HY000]: General error: 1005 Can't create table lespro_flarum
.#sql-8b8_4d291
(errno: 150 "Foreign key constraint i
s incorrectly formed")
Exception trace:
() at /home/lespro/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119
Doctrine\DBAL\Driver\PDOStatement->execute() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:458
Illuminate\Database\Connection->Illuminate\Database{closure}() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:657
Illuminate\Database\Connection->runQueryCallback() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:624
Illuminate\Database\Connection->run() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:459
Illuminate\Database\Connection->statement() at /home/lespro/public_html/vendor/illuminate/database/Schema/Blueprint.php:97
Illuminate\Database\Schema\Blueprint->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:264
Illuminate\Database\Schema\Builder->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:149
Illuminate\Database\Schema\Builder->table() at /home/lespro/public_html/vendor/flarum/core/migrations/2018_01_18_135100_change_posts_add_foreign_keys.php:38
Illuminate\Filesystem\Filesystem->{closure}() at n/a:n/a
call_user_func() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:199
Flarum\Database\Migrator->runClosureMigration() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:130
Flarum\Database\Migrator->runUp() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:113
Flarum\Database\Migrator->runMigrationList() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:87
Flarum\Database\Migrator->run() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:65
Flarum\Database\Console\MigrateCommand->upgrade() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:51
Flarum\Database\Console\MigrateCommand->fire() at /home/lespro/public_html/vendor/flarum/core/src/Console/AbstractCommand.php:39
Flarum\Console\AbstractCommand->execute() at /home/lespro/public_html/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /home/lespro/public_html/vendor/symfony/console/Application.php:921
Symfony\Component\Console\Application->doRunCommand() at /home/lespro/public_html/vendor/symfony/console/Application.php:273
Symfony\Component\Console\Application->doRun() at /home/lespro/public_html/vendor/symfony/console/Application.php:149
Symfony\Component\Console\Application->run() at /home/lespro/public_html/vendor/flarum/core/src/Console/Server.php:41
Flarum\Console\Server->listen() at /home/lespro/public_html/flarum:22
In PDOStatement.php line 117:
[PDOException (HY000)]
SQLSTATE[HY000]: General error: 1005 Can't create table lespro_flarum
.#sql-8b8_4d291
(errno: 150 "Foreign key constraint i
s incorrectly formed")
Exception trace:
() at /home/lespro/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
PDOStatement->execute() at /home/lespro/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Doctrine\DBAL\Driver\PDOStatement->execute() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:458
Illuminate\Database\Connection->Illuminate\Database{closure}() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:657
Illuminate\Database\Connection->runQueryCallback() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:624
Illuminate\Database\Connection->run() at /home/lespro/public_html/vendor/illuminate/database/Connection.php:459
Illuminate\Database\Connection->statement() at /home/lespro/public_html/vendor/illuminate/database/Schema/Blueprint.php:97
Illuminate\Database\Schema\Blueprint->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:264
Illuminate\Database\Schema\Builder->build() at /home/lespro/public_html/vendor/illuminate/database/Schema/Builder.php:149
Illuminate\Database\Schema\Builder->table() at /home/lespro/public_html/vendor/flarum/core/migrations/2018_01_18_135100_change_posts_add_foreign_keys.php:38
Illuminate\Filesystem\Filesystem->{closure}() at n/a:n/a
call_user_func() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:199
Flarum\Database\Migrator->runClosureMigration() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:130
Flarum\Database\Migrator->runUp() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:113
Flarum\Database\Migrator->runMigrationList() at /home/lespro/public_html/vendor/flarum/core/src/Database/Migrator.php:87
Flarum\Database\Migrator->run() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:65
Flarum\Database\Console\MigrateCommand->upgrade() at /home/lespro/public_html/vendor/flarum/core/src/Database/Console/MigrateCommand.php:51
Flarum\Database\Console\MigrateCommand->fire() at /home/lespro/public_html/vendor/flarum/core/src/Console/AbstractCommand.php:39
Flarum\Console\AbstractCommand->execute() at /home/lespro/public_html/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /home/lespro/public_html/vendor/symfony/console/Application.php:921
Symfony\Component\Console\Application->doRunCommand() at /home/lespro/public_html/vendor/symfony/console/Application.php:273
Symfony\Component\Console\Application->doRun() at /home/lespro/public_html/vendor/symfony/console/Application.php:149
Symfony\Component\Console\Application->run() at /home/lespro/public_html/vendor/flarum/core/src/Console/Server.php:41
Flarum\Console\Server->listen() at /home/lespro/public_html/flarum:22
migrate