-- Enable RLSALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
-- Policy: Users can read own profileCREATE POLICY "Users can view own profile"
ON profiles FORSELECTUSING (auth.uid() = user_id);
-- Policy: Users can update own profileCREATE POLICY "Users can update own profile"
ON profiles FORUPDATEUSING (auth.uid() = user_id);