Database Schema - eggnet/ownership GitHub Wiki
This page describes the schema layout for the source code ownership relations inside of the PostgreSQL database. There is only one relation associated with the source code ownership. This relation is described in detail below.
The "owners" table stores all the lowest level information about who owns what piece of code. The ownership is stored in terms of character number ranges not by line number ranges. This allows more flexibility in calculations and ownership properties.
commit_id | owner_id | file_id | char_start | char_end | is_insert |
---|---|---|---|---|---|
varchar(255) NOT NULL | varchar(255) NOT NULL | varchar(255) NOT NULL | integer | integer | character(1) |