veza/veza-backend-api/migrations/012_add_user_social_links.sql
2026-01-04 01:44:23 +01:00

7 lines
353 B
SQL

-- Migration: Add user social links
-- Description: Adds a JSONB column to the users table to store social media links
ALTER TABLE users ADD COLUMN IF NOT EXISTS social_links JSONB DEFAULT '{}'::jsonb;
-- Add comment for documentation
COMMENT ON COLUMN users.social_links IS 'Stores user social media handles and websites (twitter, instagram, etc.)';