-- Migration: Add is_active column to users table
-- Run this migration on the punimtag_auth database

-- Add is_active column (defaults to true for all users)
ALTER TABLE users 
ADD COLUMN IF NOT EXISTS is_active BOOLEAN NOT NULL DEFAULT true;

-- Update existing users to be active (for backward compatibility)
UPDATE users 
SET is_active = true 
WHERE is_active IS NULL;






