-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmigration_output.txt
More file actions
40 lines (30 loc) · 3.82 KB
/
migration_output.txt
File metadata and controls
40 lines (30 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Dropping all tables 132.67ms DONE
INFO Preparing database.
Creating migration table 11.99ms DONE
INFO Running migrations.
0001_01_01_000000_create_users_table 80.80ms DONE
0001_01_01_000001_create_cache_table 46.55ms DONE
0001_01_01_000002_create_jobs_table 61.32ms DONE
2026_02_07_162356_create_profiles_table 53.24ms DONE
2026_02_07_162357_create_skills_table 49.50ms DONE
2026_02_07_162358_create_projects_table 60.20ms DONE
2026_02_07_162359_create_project_participants_table 108.32ms DONE
2026_02_07_162400_create_project_sections_table 49.73ms DONE
2026_02_07_162401_create_tasks_table 80.11ms FAIL
Illuminate\Database\QueryException
SQLSTATE[HY000]: General error: 1005 Can't create table `job_matrix`.`tasks` (errno: 150 "Foreign key constraint is incorrectly formed") (Connection: mysql, Host: 127.0.0.1, Port: 3306, Database: job_matrix, SQL: alter table `tasks` add constraint `tasks_section_id_foreign` foreign key (`section_id`) references `sections` (`id`) on delete cascade)
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:838
834ظûـ $exceptionType = $this->isUniqueConstraintError($e)
835ظûـ ? UniqueConstraintViolationException::class
836ظûـ : QueryException::class;
837ظûـ
ظئ£ 838ظûـ throw new $exceptionType(
839ظûـ $this->getNameWithReadWriteType(),
840ظûـ $query,
841ظûـ $this->prepareBindings($bindings),
842ظûـ $e,
1 vendor\laravel\framework\src\Illuminate\Database\Connection.php:584
PDOException::("SQLSTATE[HY000]: General error: 1005 Can't create table `job_matrix`.`tasks` (errno: 150 "Foreign key constraint is incorrectly formed")")
2 vendor\laravel\framework\src\Illuminate\Database\Connection.php:584
PDOStatement::execute()