✘ error: failed to compile SQL statement reason: not authorized  --> command-option:1  | attach database ':memdb:' as 'db'