You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Show base course posts in session course. Requires DB changes and edit the Portfolio entity
1136
+
// adding the "@" symbol to the beginning of ORM\ManyToOne, ORM\JoinColumn, ORM\OneToMany lines for the Portfolio::$duplicatedFrom and Portfolio::$duplicates properties.
1137
+
/*
1138
+
ALTER TABLE portfolio ADD duplicated_from INT DEFAULT NULL;
1139
+
ALTER TABLE portfolio ADD CONSTRAINT FK_A9ED1062FC4CB679 FOREIGN KEY (duplicated_from) REFERENCES portfolio (id) ON DELETE SET NULL;
1140
+
CREATE INDEX IDX_A9ED1062FC4CB679 ON portfolio (duplicated_from);
0 commit comments