ditto/src/db/migrations
2025-02-02 19:32:43 -06:00
..
000_create_events.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
001_add_relays.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
002_events_fts.ts Remove SQLite support 2024-09-11 11:08:33 -05:00
003_events_admin.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
004_add_user_indexes.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
005_rework_tags.ts Update kysely imports in migrations 2024-05-01 09:36:36 -05:00
006_pragma.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
007_unattached_media.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
008_wal.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
009_add_stats.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
010_drop_users.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
011_kind_author_index.ts Add a created_at, kind index for the global feed 2024-05-08 14:34:22 -05:00
012_tags_composite_index.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
013_soft_deletion.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
014_stats_indexes.ts.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
015_add_pubkey_domains.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
016_pubkey_domains_updated_at.ts Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
017_rm_relays.ts Remove relays table from the database, track them with a NIP-65 admin event 2024-05-01 19:15:20 -05:00
018_events_created_at_kind_index.ts Add a created_at, kind index for the global feed 2024-05-08 14:34:22 -05:00
019_ndatabase_schema.ts Remove SQLite support 2024-09-11 11:08:33 -05:00
020_drop_deleted_at.ts 'null' -> null 2024-05-15 08:13:19 -05:00
020_pgfts.ts Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
021_pgfts_index.ts Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
022_event_stats_reactions.ts Add back reactions_count column so trending can still work 2024-05-24 17:51:32 -05:00
023_add_nip46_tokens.ts Create push_subscriptions table 2024-10-02 13:14:37 -05:00
024_event_stats_quotes_count.ts Add quotes count 2024-06-02 20:30:57 -05:00
025_event_stats_add_zap_count.ts feat: add migration for 'zaps_amount' column 2024-06-10 09:34:07 -03:00
026_tags_name_index.ts Index nostr_tags.name 2024-06-13 21:36:07 -05:00
027_add_zap_events.ts perf(event_zaps): make two separate indexes instead of a compound index 2024-06-23 22:49:15 -03:00
028_stable_sort.ts Sort events by id after created_at 2024-07-18 22:48:11 -05:00
029_tag_queries.ts Clear timeouts in tag queries migration 2024-07-29 15:37:45 -05:00
030_pg_events_jsonb.ts Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
031_rm_unattached_media.ts Remove unattached_media table, replace with LRUCache, fix media upload order problem 2024-09-07 10:24:56 -05:00
032_add_author_search.ts Don't use semi-colons in migration 2024-09-15 17:38:16 -05:00
033_add_language.ts Rename language migration to 033 2024-09-15 17:26:02 -05:00
034_move_author_search_to_author_stats.ts refactor: remove author_search table, put search in author_stats 2024-09-19 19:35:05 -03:00
035_author_stats_followers_index.ts author_stats: add index on followers_count 2024-09-20 09:16:09 -05:00
036_stats64.ts stats64: delete invalid rows first 2024-09-20 10:07:50 -05:00
037_auth_tokens.ts Add encrypted captcha answer, move AES utils 2024-10-03 19:36:44 -05:00
038_push_subscriptions.ts Add unique index on push_subscriptions token_hash 2024-10-14 16:02:07 -05:00
039_pg_notify.ts Perform listen/notify of Nostr events to the pipeline 2024-10-19 20:27:46 -05:00
040_add_bunker_pubkey.ts Let bunker_pubkey be different from user pubkey 2024-10-26 18:37:26 -05:00
041_pg_notify_id_only.ts fix: follow people 2024-10-29 11:07:51 -03:00
042_add_search_ext.ts Rework language and media columns to use Nostrify search_ext column 2025-02-02 19:32:43 -06:00