NIHVIVO-119 Tweak the code for initialAdminUser -- User is a Resource, not a Literal.
This commit is contained in:
parent
6a13e272e7
commit
57f41f833f
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class JenaDataSourceSetupBase {
|
||||||
+ "defaultAdminUser");
|
+ "defaultAdminUser");
|
||||||
model.add(model.createStatement(user, model
|
model.add(model.createStatement(user, model
|
||||||
.createProperty(VitroVocabulary.RDF_TYPE), model
|
.createProperty(VitroVocabulary.RDF_TYPE), model
|
||||||
.createLiteral(VitroVocabulary.USER)));
|
.getResource(VitroVocabulary.USER)));
|
||||||
model.add(model.createStatement(user, model
|
model.add(model.createStatement(user, model
|
||||||
.createProperty(VitroVocabulary.USER_USERNAME), model
|
.createProperty(VitroVocabulary.USER_USERNAME), model
|
||||||
.createTypedLiteral(initialAdminUsername)));
|
.createTypedLiteral(initialAdminUsername)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue