#namespace("HaiBao")
    #sql("insertHistory")
        INSERT INTO haibao_history (id, prompt, image_url, scheme_content, created_at)
        VALUES (#para(id), #para(prompt), #para(image_url), #para(scheme_content), #para(created_at))
    #end

    #sql("getHistory")
        SELECT * FROM haibao_history 
        ORDER BY created_at DESC 
        LIMIT #para(limit)
    #end
#end
