Skip to content

Commit

Permalink
Added migration for password change
Browse files Browse the repository at this point in the history
  • Loading branch information
haarli committed Mar 6, 2019
1 parent f771921 commit 7e5ea69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/resources/migration/change-password.txt
@@ -0,0 +1,8 @@
WITH <http://imeji.org/user>

DELETE {?s <http://xmlns.com/foaf/0.1/password> ?o}
INSERT {?s <http://xmlns.com/foaf/0.1/password> "md5_encoded_pw"}
WHERE {
?s <http://xmlns.com/foaf/0.1/email> "admin@imeji.org" .
?s <http://xmlns.com/foaf/0.1/password> ?o
}

0 comments on commit 7e5ea69

Please sign in to comment.