X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d19076d0ed7e077e33d1b7606b6186f99e994943..6df7fdbb9eb563f8ccf68f24c3d210b27c93cd83:/db/migrate/020_add_changesets.rb diff --git a/db/migrate/020_add_changesets.rb b/db/migrate/020_add_changesets.rb index c21b50782..75a909e80 100644 --- a/db/migrate/020_add_changesets.rb +++ b/db/migrate/020_add_changesets.rb @@ -38,7 +38,7 @@ class AddChangesets < ActiveRecord::Migration @@conv_user_tables.each { |tbl| rename_column tbl, :user_id, :changeset_id #foreign keys too - add_foreign_key tbl, [:changeset_id], :users, [:id] + add_foreign_key tbl, [:changeset_id], :changesets, [:id] } end