Changes between Version 19 and Version 20 of SimpleMultiProjectPlugin


Ignore:
Timestamp:
Jun 14, 2012, 10:19:14 AM (3 years ago)
Author:
falkb
Comment:

technical approach explained in a few sentences

Legend:

Unmodified
Added
Removed
Modified
  • SimpleMultiProjectPlugin

    v19 v20  
    1616== Technical thoughts ==
    1717
    18 This plugin adds two new tables to the db:
     18This plugin adds a new ressource 'project' implemented by database table:
    1919 1. smp_project: a list of all defined projects
     20Actually, most database tables of Trac core related to ressources would need a new column 'project_id'. This way tickets, components, milestones, versions or even wikis could attach to certain projects. Since a plugin just adds stuff but cannot change the core structure, it implements the new dimension 'project' not by adding a new column to each ressource table but rather by adding several mapping tables smp_[ressource]_project, each one mapping a certain ressource to projects:
    2021 2. smp_milestone_project: the association of milestones to projects
     22 3. smp_version_project:   the association of versions to projects
     23 4. smp_component_project: the association of components to projects
    2124
    2225== Example ==