apskel-pos-backend/migrations/000060_add_metadata_to_otp_sessions.up.sql
Aditya Siregar be92ec8b23 test wheels
2025-09-18 12:01:20 +07:00

7 lines
242 B
SQL

-- Add metadata field to otp_sessions table
ALTER TABLE otp_sessions
ADD COLUMN metadata JSONB DEFAULT '{}';
-- Add comment for the new column
COMMENT ON COLUMN otp_sessions.metadata IS 'Additional data stored as JSON for the OTP session';