Commit Graph

2 Commits

Author SHA1 Message Date
Z.J. van de Weg d922f54548 Remove rails dependent: :destroy statement
Enforced by the database, and no callbacks need to be called.

Combined with 7b9b2c6099 and 294a8b8a6d this resolves
gitlab-org/gitlab-ce#31799
2017-05-11 14:52:47 +02:00
Z.J. van de Weg 3eb8435fec Add a foreign key to ci_variables to projects
Variables shouldn't exist without a project, so a foreign key was added
with CASCADE'ing effects.
2017-05-11 14:52:47 +02:00