Technology definition functions

* Added stored procedures which manipulate technology definitions
themselves (defs.uoc_technology) or their dependencies (defs.techdep_add
and defs.techdep_remove)
This commit is contained in:
Emmanuel BENOîT 2012-02-27 14:14:00 +01:00
parent 3b2ec4bb64
commit af57e7d3b5
10 changed files with 704 additions and 2 deletions
legacyworlds-server-data/db-structure/parts/030-data

View file

@ -32,11 +32,11 @@ CREATE TABLE defs.technologies(
technology_description_id INT NOT NULL ,
/* Monetary price of the technology - FIXME: will be removed later */
technology_price INT NOT NULL
technology_price BIGINT NOT NULL
CHECK( technology_price > 0 ) ,
/* Cost of the technology in terms of research points */
technology_points INT NOT NULL
technology_points BIGINT NOT NULL
CHECK( technology_points > 0 )
);