Update 20130419190306_allow_merges_for_forks.rb
Created by: dsekretov
Postgress db migrate fails.(5.4=>6.0)
Merge request reports
Activity
Created by: dsekretov
- Linux mint 14
- PostgreSQL 9.1.9
== AllowMergesForForks: migrating ============================================ -- add_column(:merge_requests, :target_project_id, :integer, {:null=>false}) rake aborted! An error has occurred, this and all later migrations canceled:
- PG::Error: ERROR: column "target_project_id" contains null values
- ALTER TABLE "merge_requests" ADD COLUMN "target_project_id" integer NOT NULL/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `exec' .........
By Administrator on 2013-08-23T11:45:43 (imported from GitLab project)
By Administrator on 2013-08-23T11:45:43 (imported from GitLab)
Created by: ulfklose
- Ubuntu 12.04
- PostgreSQL 9.1.9
Same problem over here. Just did the whole upgrade path from 5.0 to 5.1, 5.1 to 5.2, 5.2 to 5.3 and 5.3 to 5.4. Tried upgrading from 5.4 to 6.0 after the other upgrades were successful. Upgrading to 6.0 won't do because of the migration error.
By Administrator on 2013-08-24T22:05:39 (imported from GitLab project)
By Administrator on 2013-08-24T22:05:39 (imported from GitLab)