unitycoders / uc_pircbotx

A bot for #unity-coders using pircbotx
GNU General Public License v3.0
3 stars 2 forks source link

Database versioning #3

Open SuborbitalPigeon opened 12 years ago

SuborbitalPigeon commented 12 years ago

Currently, if database tables are changed, you need to delete them manually before using new code.

webpigeon commented 10 years ago

Something like this could be quite useful, as it does most of the hard stuff (checking the database version currently, applying updates in order, etc...) and it's packaged for maven. Not sure it's what we're after (as it doesn't look like it supports SQLlite)

http://flywaydb.org/

SuborbitalPigeon commented 10 years ago

Basically a clone of the android thing would be nice.

SuborbitalPigeon commented 9 years ago

This would be really useful for a "seen" command, which returns when a user was last seen. This would require the "lines" table to have 2 new columns - "time" and "nick". See #34. This requires the current contents of this table to be deleted. This occurring automatically a la Android would be nice.