Skip to content
Snippets Groups Projects
Commit 352182a9 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Type added to the synonym table.

parent c136c0b9
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ CREATE TABLE synonym (
synonym_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
term_id INT UNSIGNED NOT NULL,
name TEXT NOT NULL,
type ENUM('EXACT', 'BROAD', 'NARROW', 'RELATED'),
PRIMARY KEY (synonym_id),
UNIQUE INDEX term_synonym_idx (term_id, synonym_id),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment