This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server-data/db-structure/parts/030-data
Emmanuel BENOîT 3a0f5bbb78 Events storage procedure
Added the necessary database code to convert the contents of event
queues into actual event records. The changes include:
 * a new table, events.pending_events, which is automatically filled by
a trigger when events are inserted into queue tables,
 * the game.events.batchSize constant which defines the maximal amount
of events to process in a single transaction,
 * the events.eq_process() stored procedure, which processes the events.
In addition, the "hstore" extension was added as it is the easiest way
to convert events from the queues' table model to the store's
meta-model.
2012-07-01 14:12:22 +02:00
..
000-typedefs.sql Mining computation update 2012-01-16 12:35:20 +01:00
010-i18n.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
020-prefs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
030-users.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
035-session.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
040-admin.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
050-accounts.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
055-bugs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
060-naming.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
070-constants.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
075-resources.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
080-techs.sql Removed old research system 2012-04-09 11:36:09 +02:00
090-buildables.sql Removed old research system 2012-04-09 11:36:09 +02:00
100-universe.sql Planet resources 2012-01-10 12:30:47 +01:00
110-empires.sql Renamed technology tables and views 2012-04-09 15:01:04 +02:00
120-construction.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
130-fleets.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
140-status.sql Game updates improvements 2012-02-03 16:25:03 +01:00
145-updates.sql Game updates improvements 2012-02-03 16:25:03 +01:00
150-logs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
160-battle.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
170-events.sql Events storage procedure 2012-07-01 14:12:22 +02:00
180-messages.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00