fixed compilation error due to wrong function call
added initial sqlite schema