Emmanuel BENOîT
56eddcc4f0
* Added a set of tables which define game updates and their targets. These definitions replace the old enumerate type. Added a set of triggers which automatically create specific update tables, insert missing entries, etc... when game update types are being manipulated. * Removed manual insertion of game updates from empire creation function and universe generator. * Added registration of core update targets (i.e. planets and empires), updated all existing game update processing functions and added type registrations * Created Maven project for game updates control components, moved existing components from the -simple project, rewritten most of what they contained, added new components for server-side update batch processing
16 lines
377 B
SQL
16 lines
377 B
SQL
-- LegacyWorlds Beta 6
|
|
-- PostgreSQL database scripts
|
|
--
|
|
-- Game updates - core update targets
|
|
--
|
|
-- Copyright(C) 2004-2012, DeepClone Development
|
|
-- --------------------------------------------------------
|
|
|
|
INSERT INTO sys.update_targets (
|
|
updtgt_name , updtgt_schema , updtgt_table
|
|
) VALUES (
|
|
'Planets' , 'verse' , 'planets'
|
|
) , (
|
|
'Empires' , 'emp' , 'empires'
|
|
);
|
|
|