Alex Gleason
|
7021b0d4fd
|
'null' -> null
|
2024-05-15 08:13:19 -05:00 |
|
Alex Gleason
|
171350a34d
|
Drop deleted_at column
|
2024-05-15 08:08:30 -05:00 |
|
Alex Gleason
|
b3985e740b
|
EventsDB: migrate tables to match NDatabase
|
2024-05-14 20:54:09 -05:00 |
|
Alex Gleason
|
b16d5b749e
|
Add a created_at, kind index for the global feed
|
2024-05-08 14:34:22 -05:00 |
|
Alex Gleason
|
439dfca311
|
Fix kysely imports in migrations
|
2024-05-01 19:16:12 -05:00 |
|
Alex Gleason
|
87264eeef1
|
Remove relays table from the database, track them with a NIP-65 admin event
|
2024-05-01 19:15:20 -05:00 |
|
Alex Gleason
|
621a632893
|
Update kysely imports in migrations
|
2024-05-01 09:36:36 -05:00 |
|
Alex Gleason
|
9ccf6bbea0
|
Mold the things to work with Postgres
|
2024-04-19 20:52:42 -05:00 |
|
Alex Gleason
|
c0c586b364
|
Add last_updated_at column to pubkey_domains
|
2024-04-05 21:48:59 -05:00 |
|
Alex Gleason
|
f2db6c50b8
|
pubkey_domains domain cannot be null
|
2024-03-20 13:21:34 -05:00 |
|
Alex Gleason
|
e2cc6132be
|
Track pubkey domains
|
2024-03-19 17:45:19 -05:00 |
|
Alex Gleason
|
2972cb4b6d
|
Add event stats indexes
|
2024-03-02 21:20:43 -06:00 |
|
Alex Gleason
|
e4f53b3936
|
Soft-delete events
|
2024-03-02 21:11:45 -06:00 |
|
Alex Gleason
|
96b5ecc435
|
Fix dropIndex calls
|
2024-03-02 19:23:28 -06:00 |
|
Alex Gleason
|
19adb3ab44
|
Use composite index for tags
|
2024-03-02 19:21:48 -06:00 |
|
Alex Gleason
|
dffa70e2fe
|
Add missing index on kind-pubkey-created_at
|
2024-03-02 17:57:43 -06:00 |
|
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 |
|