Fix a bug where db:migrate on a fresh install would fail.
authorMarius Mathiesen <marius@gitorious.org>
Fri, 4 Mar 2011 10:02:24 +0000 (11:02 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Fri, 4 Mar 2011 10:02:24 +0000 (11:02 +0100)
commit1044ff0339055857c97377f9ec113469e6dc03f6
tree0f05f0dceff58379ed4dddf58d88d82fccdf4747
parenta425f3b5e8b406a700141ee4ee69a3e1650e6ffd
Fix a bug where db:migrate on a fresh install would fail.

The Project class now contains a default scope, which is applied whenever
the Project class is used (also in migrations).

This commit re-opens the Project class and temporarily disables this scope,
which  makes rake db:migrate usable again.
db/migrate/20090204131336_add_owner_to_projects.rb
db/migrate/20090730103419_migrate_custom_merge_request_statuses.rb