Commit graph

15 commits

Author SHA1 Message Date
silverpill
01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill
d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill
4185cbefb0 Rename Pool type to DbPool 2022-12-03 21:30:24 +00:00
silverpill
11ed4c1e48 Remove unnecessary as_str() conversions 2022-12-03 21:11:28 +00:00
silverpill
c5c3911de6 Require chain ID field in payment options of ethereum type 2022-08-29 22:28:34 +00:00
silverpill
a9504de10d Add json_from_sql and json_to_sql macros 2022-04-21 23:10:24 +00:00
silverpill
30bd3d6a37 Migrate to actix 4.0 and tokio 1 2022-04-10 19:14:45 +00:00
silverpill
bdce305b24 Change default PostgreSQL port 2022-03-09 20:41:56 +00:00
silverpill
3ff4c79f0d Add macro for building SQL queries 2022-01-07 22:12:31 +00:00
silverpill
011951c129 Set up tests for database queries 2022-01-06 14:31:29 +00:00
silverpill
040934da2d Don't create database conn pool when running mitractl 2022-01-06 11:28:07 +00:00
silverpill
5547403200 Use macros to create FromSql/ToSql implementations for int enums 2021-11-19 17:47:26 +00:00
silverpill
c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill
d2462e9e96 Add API method for marking posts as favourite 2021-10-19 00:05:50 +00:00
silverpill
fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00