0b6b6d977c
Simplify returning boolean expression
2020-12-22 21:30:32 -04:00
eeea8c17b7
SQL database migration command
2020-12-22 21:01:18 -04:00
3737e17ecf
Switched sql funcs returns from int to bool
2020-12-22 20:20:06 -04:00
4a14ad594b
Switching from database/sql to GORM
2020-12-22 20:09:10 -04:00
43e8ab8210
PostgreSQL Support
...
Implementation of PostgreSQL database engine in the DNS server using jackc/pgx (as database/sql driver).
The user can select what database type he want in the config.ini file under the database section.
2020-12-22 14:56:54 -04:00
efffac8b0a
Refactoring of some vars and funcs name
...
Theses change breaks old configuration files but make the code readability better thanks to VSCode plugins.
2020-12-21 23:12:02 -04:00
98537616c8
Commenting
2020-12-14 18:20:24 -04:00
e70571c450
Better SqlTest() function
2020-12-13 21:15:43 -04:00
61d6d47637
Unused code removed
2020-12-13 21:06:29 -04:00
c858b1b5e1
test sql connexion before launch
2020-12-13 20:58:01 -04:00
c17d650520
Removed unused values
2020-12-13 14:43:31 -04:00
9394aeeb9d
Fixes
2020-12-13 14:40:14 -04:00
e28b61e2f0
strings.Replace replaced by strings.ReplaceAll helper function
2020-12-13 14:37:09 -04:00
0c50b409f0
Warning removed
2020-12-13 14:30:58 -04:00
e5bf49a363
Database name is now dynamic
2020-12-13 14:30:29 -04:00
36ce33e8f1
Init
2020-12-12 23:01:04 -04:00