Commit Graph

22 Commits

Author SHA1 Message Date
Alex Gleason
f7d74c97ca db/users: add admin column 2023-09-02 20:52:02 -05:00
Alex Gleason
af76d8cbae Bump kysely-deno-sqlite to v1.0.1, remove as any from database type 2023-08-30 16:12:39 -05:00
Alex Gleason
02e1a4ce58 db/events: support "search" filter 2023-08-30 12:04:45 -05:00
Alex Gleason
a0769d7c92 db/relays: add active column 2023-08-15 19:08:38 -05:00
Alex Gleason
78f638e633 Add relays to database and start tracking them 2023-08-14 14:11:28 -05:00
Alex Gleason
14eb3cb43b Let DB_PATH be configurable 2023-08-10 13:37:56 -05:00
Alex Gleason
ad112ff9a6 Use explicit return type for getFilterQuery 2023-08-09 01:53:50 -05:00
Alex Gleason
cd68da5b93 Minor refactoring 2023-08-08 19:31:14 -05:00
Alex Gleason
97a250c1f7 Add kysely migrations 2023-08-07 01:47:58 -05:00
Alex Gleason
3cb5f91d3b Refactor db.ts to use kysely statements 2023-08-07 00:50:12 -05:00
Alex Gleason
ed896278e0 fix lint 2023-08-06 21:27:34 -05:00
Alex Gleason
465a3db501 kysely adapter pretty much working! 2023-08-06 20:23:31 -05:00
Alex Gleason
d799075657 Get Kysely adapter almost working... 2023-08-06 20:14:11 -05:00
Alex Gleason
8ceb63fc89 Try storing events in new database 2023-08-06 15:03:29 -05:00
Alex Gleason
91eac97d5c Preliminary sqlite db setup 2023-08-06 12:54:00 -05:00
Alex Gleason
11f21e3922 Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -05:00
Alex Gleason
a3323a2618 Simplify \w+ regex usage 2023-07-09 14:22:18 -05:00
Alex Gleason
7808565d71 User: enforce {1,30} character limit on username 2023-07-09 12:30:04 -05:00
Alex Gleason
c93aa5b314 Switch from Dongoose to Pentagon instead of the db 2023-07-09 12:27:10 -05:00
Alex Gleason
505b9db409 Try adding Dongoose and a users table 2023-07-09 11:47:19 -05:00
Alex Gleason
f87a17e609 Remove unused code 2023-04-29 17:20:51 -05:00
Alex Gleason
c3b8ad1c28 Scaffold db, handler, query 2023-04-07 21:38:05 -05:00