Fix convert database to unique#3

*Fix convert database to unique#3