Menu

Database Tables Log in to Edit

Alexander Mohr

Changes

The changes database contains all the changes the application has processed. Each entry is identified by a changelist, and the depot from which the changelist came from. It contains the following columns:

changelistthe changelist
depotIDthe associated depot from which this changelist came from, matching depotID entry in "depots" table
changeIDa unique identifier for the particular changelist/depotID combination
clientthe description given to this changelist
changeDatethe data/time of this changelist
userIDthe user who checked in this changelist, matching userID entry in the "users" table


Depots

This table is to create a unique ID for each depot encountered. The two keys are depotID and name.


FileChanges

Each entry of this table signifies a unique file-action with associated unique ID filechangeID, that is action against a file (i.e. add/delete/integrate). It contains the following columns:






filechangeIDa unique identifier for this file-action
changeIDthe unique identifier from the "changes" table describing which change brought this file-action
fileIDthe unique identifier from the "files" table describing the file associated with this file-action
revisionthe revision of the file of this file-action
actionthe action of the file-action


Files

The files table contains all the files encountered by the application, with an associated unique identifier fileID. It contains the following columns:

fileIDthe unique identifier of this file
depotIDthe depotID matching an entry to the "depots" table from which this file comes
fileNamethe path to the file in the depot
parentIDthe fileID of the parent of this from (from which this file was branched from)
parentRevthe revision of the parentID from which this file came from


LineDiffs

This table contains regions of files modified by users, and the associated action. It consists of the following columns:

filechangeIDan entry matching the "filechanges" table describing which file+revision this occured.
b_linethe start line where the diff took place
numthe number of lines for this diff
actionthe type of edit the user performed (add/delete/change)


Ownerships

This table contains complete ownership of every text file processed for each revision available. In order to re-construct the ownership of a particular file one must collage all the entries of a particular filechangeID. It is similar to the linediffs table.

filechangeIDan entry matching the "filechanges" table describing which file+revision this is for.
b_linethe start line of a user's ownership in the file
e_linethe end line of a user's ownership in the file
userIDthe unique id of the user to which this region is attributed, with matching entry in the "users" table


Users

This table associates a unique ID with each user. The consists of a userID and name column.


Related

Wiki: Home

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.