Correct casting problem between scalarapi & dashboardtable; export new .sql