Changed pragma to columnInfo, removed 'then'-call