7 lines
353 B
SQL
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.)';
|