Index: trunk/WikiWord/WikiWord/src/main/java/de/brightbyte/wikiword/schema/GlobalConceptStoreSchema.java |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | originTable.addField( new DatabaseField(this, "lang_bit", "INT", null, true, null ) ); |
81 | 81 | originTable.addKey( new DatabaseKey(this, KeyType.PRIMARY, "lang_concept", new String[] {"lang", "local_concept"}) ); |
82 | 82 | originTable.addKey( new DatabaseKey(this, KeyType.UNIQUE, "lang_name", new String[] {"lang", "local_concept_name"}) ); |
83 | | - originTable.addKey( new DatabaseKey(this, KeyType.UNIQUE, "lang_name", new String[] {"global_concept", "lang"}) ); |
| 83 | + originTable.addKey( new DatabaseKey(this, KeyType.UNIQUE, "concept_lang", new String[] {"global_concept", "lang"}) ); |
84 | 84 | addTable(originTable); |
85 | 85 | |
86 | 86 | /* |