add resource about db