Commit graph

9 commits

Author SHA1 Message Date
Tony Klink 5b7d0b7938
Rework sqlite db to implement nostr_database trait 2024-01-25 20:43:46 -06:00
Tony Klink 0bbce25d39
Add pubkey ban support
Temporary use nostr-db as a db backend due to breaking API change
    in the library
2024-01-23 10:30:47 -06:00
Tony Klink a178cdee05
Add test for admin deleted events 2024-01-20 23:38:01 -06:00
Tony Klink 025ba52a81
Admin pubkey now can delete any event 2024-01-18 19:29:59 -06:00
Tony Klink 6a94abbc10
Ignore old events 2024-01-13 22:40:54 -06:00
Tony Klink 93eaa61e1e
Handle errors on insert to 'events' 'eventsFTS' 'tags' 2024-01-13 20:44:27 -06:00
Tony Klink 292010b830
Run migrations if new db was created 2024-01-12 16:27:10 -06:00
Tony Klink 488fa685d3
Use env variable DATABASE_URL for sqlite 2024-01-12 14:14:53 -06:00
Tony Klink 9fe412be11
Initial commit 2024-01-12 09:35:31 -06:00