Skip to main content

Site links

  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
Language
DeutschEnglish

Secondary navigation

  • Contact
Agentur für Webentwicklung

Hauptnavigation

  • References
  • Services
  • Blog
  • About us

Site links

  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
close

Breadcrumb

  1. Home
  2. Blog
  3. Techblog Archive

Change Group ownership of a project in Gitorious

23. August 2011
Sascha Grossenbacher Porträt
Sascha Grossenbacher

First, figure out which project you need to change.


SELECT id, title FROM projects;

Next you need to know the id of the user or group you want to assign the Project to.

SELECT id, name FROM groups;
# OR
SELECT id, login FROM users;

Then, update the projects table accordingly, replace GROUP_ID/USER_ID and PROJECT_ID:

UPDATE projects SET owner_id = GROUP_ID, owner_type = "Group" WHRE id = PROJECT_ID;
# Or
UPDATE projects SET owner_id = USER_ID, owner_type = "User" WHERE id = PROJECT_ID;


-

About MD Systems

MD Systems, headquartered in Zurich, is a unique team of international open source initiative leaders for the Drupal content management system.

With our experts for software architecture and design and our industry solutions, you digitize your organization successfully and efficiently.

MD Systems GmbH

Hermetschloostrasse 77, CH-8048 Zürich

Schweiz

+41 44 500 45 95

[email protected]

Fußzeile

  • Contact
  • Impressum
  • Data protection
To top

© Copyright 2017 - 2018 MD Systems GmbH. Alle Rechte vorbehalten. Erstellt mit PRIMER - powered by Drupal.