require('dotenv').config();const { createClient } = require('@supabase/supabase-js');const sb = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY);(async()=>{try{const{data,error}=await sb.from('tasks').select('*').limit(1);if(error){console.log('Error:',error.message);}else if(data&&data.length>0){console.log('Available columns:');console.log(Object.keys(data[0]));}else{console.log('Table empty');}}catch(err){console.error('Error:',err.message);}})();
