1
0
Commit Graph

17 Commits

Author SHA1 Message Date
6cfe0a7d8b
Return both website and hide_website fields (for use on an admin page). Using COALESCE to return 0 and an empty string if there is no reply to not deal with NULL. 2023-05-09 21:30:17 +04:00
613f0c1616
PRIMARY KEY moved out on a separate line. Use INTEGER (Unix time) for created dates to save space. 2023-05-09 21:27:52 +04:00
1c424e1ec9
Removed unnecessary braces around CASE ... END statement. 2023-05-06 22:22:40 +04:00
b9963c9521
Do not change created field in replyUpdate.sql. 2023-05-06 22:22:08 +04:00
9d7088f2cd
Changed formatting for entryCount.sql. 2023-05-06 22:21:47 +04:00
f5631bf3d0
Modified tests accordingly to all changes. 2023-05-06 22:21:23 +04:00
2cc91b351c
Don't modify reply's date when edit. 2023-05-06 22:20:58 +04:00
9347a16fca
Do not return number of affected rows in Delete*() methods. 2023-05-06 22:20:11 +04:00
bea8df31cb
Return Guestbook interface instead of SQLiteDatabase instance. 2023-05-06 22:19:04 +04:00
f602dddff3
Replaced Update*() with Edit*(). 2023-05-06 22:18:20 +04:00
723d2d4772
Make DeleteReply() return count of affected rows. 2023-03-23 17:03:23 +04:00
0bcf1bfce3
Changed arav.top to arav.su. 2023-03-11 22:21:33 +04:00
c79ab5cf60
Date cannot be scanned directly to time.Time type, so we need to read a date to a string first. 2023-02-05 20:03:36 +04:00
837fec8545
Removed unneded CURRENT_TIMESTAMP defaults. 2023-02-05 20:02:22 +04:00
081d6147b8
Removed RETURNING statements. 2023-02-05 20:01:52 +04:00
309044f651
Dates are now of type time.Time. 2023-02-05 16:28:55 +04:00
729e58fdca
Files are moved out of pkg directory. 2023-01-16 04:25:04 +04:00