- Remove old apps/web/e2e/ test suite (replaced by tests/e2e/) - Remove old playwright configs (smoke, storybook, visual, root) - Move down migrations to veza-backend-api/migrations/rollback/ - Remove stale test results and playwright report artifacts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
53 lines
1.5 KiB
SQL
53 lines
1.5 KiB
SQL
-- v0.12.4: Rollback performance indexes
|
|
|
|
-- Users
|
|
DROP INDEX IF EXISTS idx_users_email;
|
|
DROP INDEX IF EXISTS idx_users_username;
|
|
DROP INDEX IF EXISTS idx_users_created_at;
|
|
|
|
-- Tracks
|
|
DROP INDEX IF EXISTS idx_tracks_creator_id;
|
|
DROP INDEX IF EXISTS idx_tracks_genre;
|
|
DROP INDEX IF EXISTS idx_tracks_created_at;
|
|
DROP INDEX IF EXISTS idx_tracks_status_created;
|
|
|
|
-- Messages
|
|
DROP INDEX IF EXISTS idx_messages_room_created;
|
|
DROP INDEX IF EXISTS idx_messages_sender_id;
|
|
|
|
-- Playlists
|
|
DROP INDEX IF EXISTS idx_playlists_creator_id;
|
|
DROP INDEX IF EXISTS idx_playlists_public_created;
|
|
|
|
-- Playlist Tracks
|
|
DROP INDEX IF EXISTS idx_playlist_tracks_playlist;
|
|
DROP INDEX IF EXISTS idx_playlist_tracks_track;
|
|
|
|
-- Feed / Social
|
|
DROP INDEX IF EXISTS idx_follows_follower;
|
|
DROP INDEX IF EXISTS idx_follows_following;
|
|
|
|
-- Comments
|
|
DROP INDEX IF EXISTS idx_comments_track_created;
|
|
DROP INDEX IF EXISTS idx_comments_user;
|
|
|
|
-- Notifications
|
|
DROP INDEX IF EXISTS idx_notifications_user_created;
|
|
DROP INDEX IF EXISTS idx_notifications_user_unread;
|
|
|
|
-- Analytics
|
|
DROP INDEX IF EXISTS idx_track_plays_track_date;
|
|
DROP INDEX IF EXISTS idx_track_plays_user;
|
|
|
|
-- Marketplace
|
|
DROP INDEX IF EXISTS idx_marketplace_listings_status;
|
|
DROP INDEX IF EXISTS idx_marketplace_transactions_buyer;
|
|
DROP INDEX IF EXISTS idx_marketplace_transactions_seller;
|
|
|
|
-- Education
|
|
DROP INDEX IF EXISTS idx_courses_status_created;
|
|
DROP INDEX IF EXISTS idx_course_enrollments_user;
|
|
|
|
-- Full-text search
|
|
DROP INDEX IF EXISTS idx_tracks_search_gin;
|
|
DROP INDEX IF EXISTS idx_users_search_gin;
|