I create a table using a migration.But when I want to create second one using different migration, can't do it. In terminal give this message:
[PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hrm.timelogs' doesn't exist
laravel log is here:
10 /home/tx01/Desktop/hrm-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(82):
Illuminate\Database\Migrations\Migrator->runMigrationList(Array, false)
11 /home/tx01/Desktop/hrm-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(70):
Illuminate\Database\Migrations\Migrator->run('/home/tx01/Desk...', false)
12 /home/tx01/Desktop/hrm-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(112): Illuminate\Database\Console\Migrations\MigrateCommand->fire()
13 /home/tx01/Desktop/hrm-app/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(252):
Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
14 /home/tx01/Desktop/hrm-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(100): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
15 /home/tx01/Desktop/hrm-app/vendor/symfony/console/Symfony/Component/Console/Application.php(889):
Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
16 /home/tx01/Desktop/hrm-app/vendor/symfony/console/Symfony/Component/Console/Application.php(193):
Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Database\Console\Migrations\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
17 /home/tx01/Desktop/hrm-app/vendor/symfony/console/Symfony/Component/Console/Application.php(124):
Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
18 /home/tx01/Desktop/hrm-app/artisan(59): Symfony\Component\Console\Application->run()
19 {main} [] []
tail -f app/storage/logs/laravel.log
– Y M