Project

General

Profile

Bug(バグ) #4500

3.10.4: opCalendarPluginのmigrateでエラー

Added by Hikonuki Ueki about 1 month ago.

Status:
New(新規)
Priority:
Normal(通常)
Assignee:
-
Start date:
2021-04-02
Due date:
% Done:

0%

3.6 で発生するか:
Unknown (未調査)
[QA]バグ通知済:
No
3.8 で発生するか:
Unknown (未調査)

Description

./symfony opPlugin:install opCalendarPlugin -r 0.9.4
./symfony openpne:migrate --target=opCalendarPlugin

SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint. Failing Query: "ALTER TABLE schedule_resource ADD CONSTRAINT schedule_resource_resource_type_id_resource_type_id FOREIGN KEY (resource_type_id) REFERENCES resource_type(id) ON DELETE SET NULL". Failing Query: ALTER TABLE schedule_resource ADD CONSTRAINT schedule_resource_resource_type_id_resource_type_id FOREIGN KEY (resource_type_id) REFERENCES resource_type(id) ON DELETE SET NULL

Also available in: Atom PDF