Add attribute 'database' for target