mudcoders / guildmud

A SocketMUD-based Multi-User Dungeon built and managed by the members of The MUD Coders Guild.
MIT License
26 stars 12 forks source link

Creating db.h and #37

Closed rogersm closed 6 years ago

rogersm commented 6 years ago

First path for the Persistence solution.

  1. It moves the db functions to a different include file (db.h)
  2. Adds a migration function in db.c so guildmud updates the db to the latest release on startup.
  3. As part of (#2) we add to the database the NEXT_ID filed to have a single generator of id for all the objects the mud will manage.