Commit graph

18 commits

Author SHA1 Message Date
Alex Gleason
358396fdac
Drop users table 2023-12-29 17:01:23 -06:00
Alex Gleason
733b8ba9c5
pubkey_stats --> author_stats 2023-12-10 16:04:52 -06:00
Alex Gleason
8b03d492a1
stats: add migration for stats tables 2023-12-10 14:04:26 -06:00
Alex Gleason
149f8f6f04
Enable WAL mode on the database 2023-10-11 22:30:07 -05:00
Alex Gleason
cf9a754b02
media: pukey --> pubkey, fix adding media tags to event 2023-09-09 20:12:47 -05:00
Alex Gleason
e8053ba072
unattached-media: cid --> url 2023-09-09 18:12:54 -05:00
Alex Gleason
c88b174d02
Add unattached_media table, insert one when uploading a file 2023-09-09 17:41:30 -05:00
Alex Gleason
a25d6c9755
db: pragma, enable fk constraints, enable autovacuum full 2023-09-05 17:25:14 -05:00
Alex Gleason
2ff40c8fc5
db/events: rework tags, make event_id a FK to events again, drop value_2 and value_3 2023-09-05 16:55:16 -05:00
Alex Gleason
8ec215402f
db/migrations: fix down in 003_events_admin to drop the new "admin" column, not the "relays" table (whoops) 2023-09-04 13:20:07 -05:00
Alex Gleason
25e023aaf2
db/users: add indexes on users.pubkey and users.username 2023-09-04 13:18:11 -05:00
Alex Gleason
f7d74c97ca
db/users: add admin column 2023-09-02 20:52:02 -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
92f5bea891
db/relays: add "domain" column 2023-08-15 18:59:49 -05:00
Alex Gleason
78f638e633
Add relays to database and start tracking them 2023-08-14 14:11:28 -05:00
Alex Gleason
6c96240602
Remove foreign key constraint from tags.event_id 2023-08-08 22:35:43 -05:00
Alex Gleason
97a250c1f7
Add kysely migrations 2023-08-07 01:47:58 -05:00