-- Migration: 045_status_column_50_chars.sql
-- Date: 2026-02-01
-- Description: Increase status column to VARCHAR(50) for future flexibility

ALTER TABLE membership_applications
ALTER COLUMN status TYPE VARCHAR(50);

COMMENT ON COLUMN membership_applications.status IS 'Status workflow - max 50 znaków';

-- Grant permissions
GRANT ALL ON TABLE membership_applications TO nordabiz_app;
