require('dotenv').config();const { createClient } = require('@supabase/supabase-js');const sb = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY);(async()=>{try{const{error}=await sb.from('tasks').insert([{title:'test',category:'test'}]);console.log('Insert error:',error?.message);if(!error)console.log('Insert succeeded! Only title + category needed');}catch(err){console.error('Error:',err.message);}})();
