diff options
author | James Lopez <james@jameslopez.es> | 2016-03-22 12:25:28 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-03-22 12:25:28 +0100 |
commit | 23146fca1878c9f6e90deed6856d3da2c731d513 (patch) | |
tree | ee66b2b93b90cceac163f0b55b551ea5f463100a /db/migrate | |
parent | 1b8d995492baca8984bde950e0449dad6342befc (diff) | |
download | gitlab-ce-23146fca1878c9f6e90deed6856d3da2c731d513.tar.gz |
update bitbucket importer
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb index 8ba68e61c74..4ca245035d3 100644 --- a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb +++ b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb @@ -71,7 +71,7 @@ class RemoveWrongImportUrlFromProjects < ActiveRecord::Migration # All bitbucket imports def bitbucket_projects_with_wrong_import_url - select_all("SELECT p.id, p.import_urlselect_all("SELECT i.id, p.import_url, i.data FROM projects p INNER JOIN project_import_data i ON p.id = i.project_id WHERE p.import_url IS NOT NULL AND p.import_type = 'bitbucket' "), i.data FROM projects p INNER JOIN project_import_data i ON p.id = i.project_id WHERE p.import_url IS NOT NULL AND p.import_type = 'bitbucket' ") + select_all("SELECT i.id, p.import_url, i.data FROM projects p INNER JOIN project_import_data i ON p.id = i.project_id WHERE p.import_url IS NOT NULL AND p.import_type = 'bitbucket' ") end def project_import_data(project_id) |