added the datasource and one sql for a resource table