private void addUniqueConstraints(GraphDatabaseService neo4jDb, Configuration configuration) {
Iterator<Table> tableMappings = configuration.getTableMappings();
while ( tableMappings.hasNext() ) {
Table table = tableMappings.next();
if ( table.isPhysicalTable() ) {
Label label = label( table.getName() );
PrimaryKey primaryKey = table.getPrimaryKey();
createConstraint( neo4jDb, table, label, primaryKey );
@SuppressWarnings("unchecked")
Iterator<Column> columnIterator = table.getColumnIterator();
while ( columnIterator.hasNext() ) {