Commit Graph

14 Commits

Author SHA1 Message Date
b063237399 Initial TableBuilder implementation, and simple migrations. 2020-12-01 23:37:10 +01:00
7a81053ebb Now the mysql query builder is usable. 2020-12-01 22:23:28 +01:00
8b4efc530d Added the QueryBuilder class, and started working on it's api. 2020-12-01 21:48:13 +01:00
663ddb5bc9 Started work on the mysql database implementation. Mostly tests. 2020-12-01 18:29:41 +01:00
4add0d14ea Now the database backends will actually compile their .cpp files. Also small cleanups. 2020-12-01 15:28:59 +01:00
d713aeab8e Moved the db initialization code to a new header. 2020-12-01 15:01:02 +01:00
35bd94de7e Renamed the database classes to be inline with the new naming scheme. 2020-12-01 14:56:05 +01:00
e3338f9d3b Now the postgres and sqlite connection also inherits from Database, and made main.cpp register them if they are present. 2020-12-01 14:53:32 +01:00
9bddaba8bc Implement basic functionality of the DatabaseManager. Also made MysqlConnection inherint from Database, and it's now possible to create instances from it. 2020-12-01 14:47:24 +01:00
07b262c841 Add defines for all 3 db backends. 2020-11-28 14:51:42 +01:00
d36a344980 Also link to sqlite 3 if present. 2020-11-28 14:30:50 +01:00
baf6d529dc Only link to mariadb if both mariadb and mysql is present. Also print the fact. 2020-11-28 14:21:32 +01:00
a54178e1ee Link to postgre sql if found aswell. 2020-11-28 14:18:58 +01:00
9c7be6e808 Mysql database module. Only implemented compiling / linking. 2020-11-27 23:44:56 +01:00