summaryrefslogtreecommitdiff
path: root/src/database/insert_query.hpp
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 if constexpr to make things a lot more readable"louiz’
This reverts commit d62ca9f87906be6f046fe9d07afb8bfb69c166e3.
2018-03-16Use if constexpr to make things a lot more readablelouiz’
2018-02-11Fix a few warningslouiz’
2018-01-14Add a DEBUG_SQL_QUERIES to log info about the executed SQL querieslouiz’
fix #3324
2018-01-14Remove all the ugly database debuglouiz’
2017-12-02Handle postgresql and sqlite3 libs properlylouiz’
Do not fail to compile when one of them is missing but the other one is not. Raise an error when trying to open a database with the missing library. see #3237
2017-12-02Add postgresql supportlouiz’
2017-07-08Remove many log_debug from the database modulelouiz’
2017-06-14Add a 0 default value for template argument Nlouiz’
2017-06-14Fix compilation (many warnings, and a linkage error) with clang++louiz’
2017-06-14Add a Statement class to manage the sqlite3_stmt objects and avoid leakslouiz’
2017-06-14Implement our own database ORM, and update the whole code to use itlouiz’
Entirely replace LiteSQL fix #3271