veza/veza-backend-api/migrations
senke 89cc015e54 feat(v0.501): Sprint 1 -- infrastructure foundations
- Add MinIO S3-compatible storage to docker-compose (dev, staging, prod)
- Create migrations 103-108 (waveform_url, user_folders, user_files,
  user_storage_quotas, gear_items.is_public, gear_images)
- Add Go models: UserFile, UserFolder, StorageQuota, GearImage
- Add WaveformURL to Track model, IsPublic + GearImages to GearItem model
2026-02-22 18:10:25 +01:00
..
001_extensions_and_types.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
010_auth_and_users.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
011_cleanup_refresh_tokens.sql docs: update walkthrough with launch instructions and test credentials 2026-01-04 01:44:23 +01:00
012_add_user_social_links.sql stabilisation commit 2026-01-04 01:44:23 +01:00
020_create_sessions.sql refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
020_z_migration_rename_records.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
021_rbac_and_profiles.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
030_files_management.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
040_streaming_core.sql stabilizing veza-backend-api: phase 1 2025-12-16 11:23:49 -05:00
041_streaming_analytics.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
042_media_processing.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
043_analytics_events.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
044_playlist_share_links.sql [BE-DB-005] be-db: Create migration for playlist_share_link table 2025-12-24 15:09:44 +01:00
045_user_follows.sql [BE-DB-006] be-db: Create migration for user_follows table 2025-12-24 15:10:34 +01:00
046_user_blocks.sql [BE-DB-007] be-db: Create migration for user_blocks table 2025-12-24 15:11:32 +01:00
047_notifications.sql [BE-DB-008] be-db: Create migration for notifications table 2025-12-24 15:12:11 +01:00
048_search_indexes.sql [BE-DB-009] be-db: Add indexes for search queries 2025-12-24 15:13:03 +01:00
049_composite_indexes.sql [T0-002] fix(rust): Corriger erreurs compilation Rust 2026-01-04 01:44:20 +01:00
050_data_validation_constraints.sql [FIX] Fix migration errors for missing tables 2026-01-04 01:44:13 +01:00
051_legacy_chat.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
052_stats_views.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
053_audit_triggers.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
060_job_queue.sql feat(backend-worker): persist job queue in postgres 2025-12-06 13:32:32 +01:00
069_groups_and_members.sql chore(migrations): add 069, 089, 090, 091 for v0.302 2026-02-21 05:47:14 +01:00
070_create_social_tables.sql feat: Visual masterpiece - true light mode & premium UI 2026-01-11 02:32:21 +01:00
075_create_webhooks.sql fix(webhooks): add DB migration and avoid 500 toast on developer portal 2026-02-10 21:11:32 +01:00
076_create_gear_items.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
076_create_gear_items_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
077_create_live_streams.sql Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
077_create_live_streams_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
078_add_missing_indexes.sql perf(db): add missing indexes for file_id and cover_art_file_id 2026-02-14 18:32:05 +01:00
078_add_missing_indexes_down.sql perf(db): add missing indexes for file_id and cover_art_file_id 2026-02-14 18:32:05 +01:00
080_add_payment_fields.sql chore: consolidate CI, E2E, backend and frontend updates 2026-02-17 16:43:21 +01:00
081_create_playback_analytics.sql fix(backend): remediation plan — tests, playback_analytics, job queue, gamification 2026-02-17 16:01:45 +01:00
082_create_api_keys.sql feat(developer): add API keys backend (Lot C) 2026-02-20 00:18:36 +01:00
082_create_api_keys_down.sql feat(developer): add API keys backend (Lot C) 2026-02-20 00:18:36 +01:00
083_add_user_banner.sql feat(profile): add profile banner (B1) 2026-02-20 14:56:25 +01:00
084_add_track_lyrics.sql feat(tracks): add lyrics model and endpoints (E3) 2026-02-20 15:36:28 +01:00
085_add_track_tags.sql feat(tracks): add suggested tags endpoint and UI (E4) 2026-02-20 15:38:51 +01:00
086_add_pg_trgm.sql feat(search): add pg_trgm extension for fuzzy search 2026-02-20 18:34:50 +01:00
087_queue_sessions.sql feat(queue): add queue_sessions and shared_queue_items models 2026-02-20 18:39:33 +01:00
088_user_presence.sql feat(presence): migration 088 user_presence (P1.1) 2026-02-21 05:22:33 +01:00
089_group_join_requests.sql feat(groups): S2.1-S2.5 request join, invite, roles, feed groups, my groups 2026-02-21 05:48:59 +01:00
090_push_subscriptions.sql chore(migrations): add 069, 089, 090, 091 for v0.302 2026-02-21 05:47:14 +01:00
091_user_presence_invisible.sql chore(migrations): add 069, 089, 090, 091 for v0.302 2026-02-21 05:47:14 +01:00
092_group_invitations.sql feat(groups): S2.1-S2.5 request join, invite, roles, feed groups, my groups 2026-02-21 05:48:59 +01:00
093_notification_preferences.sql feat(notifications): N1.1-N1.3 Web Push subscription, send on events, preferences 2026-02-21 16:41:39 +01:00
094_user_presence_rich.sql feat(presence): P2.1 rich presence, P2.2 invisible mode 2026-02-21 16:47:09 +01:00
095_products_enrichment.sql feat(marketplace): add migrations 095-097 for products enrichment, previews, images 2026-02-22 14:05:19 +01:00
096_product_previews.sql feat(marketplace): add migrations 095-097 for products enrichment, previews, images 2026-02-22 14:05:19 +01:00
097_product_images.sql feat(marketplace): add migrations 095-097 for products enrichment, previews, images 2026-02-22 14:05:19 +01:00
098_product_licenses.sql feat(marketplace): add migration 098 product_licenses, ProductLicense model, GET /licenses/mine 2026-02-22 14:16:24 +01:00
101_product_reviews.sql feat(marketplace): add product_reviews migration 2026-02-22 16:04:14 +01:00
102_license_revoked.sql feat(marketplace): add license revoked_at migration 2026-02-22 16:18:01 +01:00
103_tracks_waveform.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
104_user_folders.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
105_user_files.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
106_user_storage_quotas.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
107_gear_is_public.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
108_gear_images.sql feat(v0.501): Sprint 1 -- infrastructure foundations 2026-02-22 18:10:25 +01:00
900_triggers_and_functions.sql P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
900_triggers_and_functions_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
910_create_audit_logs.sql stabilizing apps/web: THIRD BATCH - FIXED Playwright 2025-12-21 18:55:51 -05:00
910_create_audit_logs_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
920_add_performance_indexes.sql [BE-DB-001] backend-database: Add database indexes for performance-critical queries 2025-12-23 01:47:33 +01:00
920_add_performance_indexes_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
930_add_missing_foreign_keys.sql [BE-DB-002] backend-database: Add foreign key constraints where missing 2025-12-23 01:48:33 +01:00
930_add_missing_foreign_keys_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00
931_add_refresh_tokens_updated_at.sql docs: update walkthrough with launch instructions and test credentials 2026-01-04 01:44:23 +01:00
931_add_refresh_tokens_updated_at_down.sql feat(migrations): add down migration scripts for rollback 2026-02-14 18:05:11 +01:00