oregoncore/sql/updates/README.md
Zaffy 6a6a09e344 [Core/DB/Build] Fix some issues with migrating to git
- create new table `updates` that will be used by DB Updater instead of `version`.
This way we will be able to track updates more effectively and also handle more
updates on the same day. You will need to recreate db or create the table yourself,
since repo is currently in alpha state, users should not be affected and db updater
works now.
- update READMEs
- move sql updates to appropriate dirs
- hopefully fix revision generation
- fix uptime (pull from realmd now)
- platform specific code in db updater was replaced with cross-platform ACE api
2016-01-16 12:37:04 +01:00

574 B

SQL Updates

SQL updates are updates for database and are necessary for keeping for database up-to-date.
Some changes are deeply linked core-db so they should be always synchronized.
For automatic updating you can turn off DatabaseUpdater in oregoncore.conf.dist.

Formatting

Each update should be formatted like:

YYYY_MM_DD_name.sql

where:

  • YYYY is 4 digit year (e.g. 2016)
  • MM is 2 digit month (i.e. 01-12)
  • DD is 2 digit day in month (i.e. 01-31)
  • name is an arbitrary name for the update (must not contain dot characters (.)