1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00
phorge-phorge/resources/sql/patches/073.reposymbols.sql
epriestley cd05c960ff Add storage for repository symbol tracking
Summary: See T315 for an extensive description of this feature. Adds the
descibed storage table.

Test Plan: Used phpsh to read/write symbol objects.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: tuomaspelkonen

CC: aran, epriestley, tuomaspelkonen

Differential Revision: 897
2011-09-13 08:49:44 -07:00

9 lines
327 B
SQL

CREATE TABLE phabricator_repository.repository_symbol (
arcanistProjectID INT UNSIGNED NOT NULL,
symbolName varchar(128) NOT NULL,
KEY (symbolName),
symbolType varchar(12) BINARY NOT NULL,
symbolLanguage varchar(32) BINARY NOT NULL,
pathID INT UNSIGNED NOT NULL,
lineNumber INT UNSIGNED NOT NULL
) ENGINE=InnoDB;