-
- Downloads
Use rake db:reset instead of db:setup
Using db:reset ensures existing tables are first dropped. This in turn ensures that we can drop tables regardless of any foreign key constraints. While CE currently doesn't have any foreign keys EE defines the following relation: remote_mirrors.project_id -> projects.id MySQL will complain whenever you try to drop the "projects" table first even when using "DROP TABLE ... CASCADE".
-
mentioned in issue gitlab-development-kit#111 (closed)
-
This whole thing makes no sense to me but "the seed script changes" and "GDK bootstrapping breaks" cannot be a coincidence, can it? Fixed mysteriously by https://gitlab.com/gitlab-org/gitlab-development-kit/commit/dc7c83bf7632ad44d9b1170abcd732b53a99bd4c
-
@marin I hope omnibus is not affected
-
@jacobvosmaer
rake db:reset
is supposed to rundb:drop
followed bydb:setup
. -
-
@jacobvosmaer I didn't notice any problems during the fresh installation. Thanks for the ping, I will keep it in mind.
-
@yorickpeterse I am not saying it makes sense. All I am saying is there is a suspicious chain of events. :)
Luckily, a non-sequitur change in GDK fixed it so everything ends well.
-
mentioned in issue gitlab-development-kit#113 (closed)
-
mentioned in issue #20169 (moved)