summaryrefslogtreecommitdiff
path: root/src/database/query.cpp
AgeCommit message (Collapse)Author
2018-04-11Use a different Date data typelouiz’
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-02-15Fix the actual_bind versions for integralslouiz’
2018-02-11Fix a few warningslouiz’
2018-01-28This should fix the int conversion warning on 32bits archlouiz’
2018-01-14Remove all the ugly database debuglouiz’
2017-12-02Add postgresql supportlouiz’
2017-06-23Move a few functions from select_query to querylouiz’
2017-06-16Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions tablelouiz’
ref #3269
2017-06-14Implement our own database ORM, and update the whole code to use itlouiz’
Entirely replace LiteSQL fix #3271