@@ -18,7 +18,7 @@ class VersionStorage
18
18
private $ storageNodeName ;
19
19
private $ initialized = false ;
20
20
21
- public function __construct (SessionInterface $ session , $ storageNodeName = 'phpcrMigrations :versions ' )
21
+ public function __construct (SessionInterface $ session , $ storageNodeName = 'jcr :versions ' )
22
22
{
23
23
$ this ->session = $ session ;
24
24
$ this ->storageNodeName = $ storageNodeName ;
@@ -35,11 +35,11 @@ public function init()
35
35
36
36
if (!$ nodeTypeManager ->hasNodeType ('phpcrMigration:version ' )) {
37
37
$ nodeTypeManager ->registerNodeTypesCnd (<<<EOT
38
- <phpcrMigrations = 'http://www.danteech.com/phpcr-migrations'>
39
- [phpcrMigrations :version] > nt:base, mix:created
38
+ <phpcrmig = 'http://www.danteech.com/phpcr-migrations'>
39
+ [phpcrmig :version] > nt:base, mix:created
40
40
41
- [phpcrMigrations :versions] > nt:base
42
- +* (phpcrMigrations :version)
41
+ [phpcrmig :versions] > nt:base
42
+ +* (phpcrmig :version)
43
43
EOT
44
44
, true );
45
45
}
@@ -49,7 +49,7 @@ public function init()
49
49
if ($ rootNode ->hasNode ($ this ->storageNodeName )) {
50
50
$ storageNode = $ rootNode ->getNode ($ this ->storageNodeName );
51
51
} else {
52
- $ storageNode = $ rootNode ->addNode ($ this ->storageNodeName , 'phpcrMigrations :versions ' );
52
+ $ storageNode = $ rootNode ->addNode ($ this ->storageNodeName , 'phpcrmig :versions ' );
53
53
}
54
54
55
55
$ this ->storageNode = $ storageNode ;
@@ -94,6 +94,6 @@ public function add($timestamp)
94
94
{
95
95
$ this ->init ();
96
96
97
- $ node = $ this ->storageNode ->addNode ($ timestamp , 'phpcrMigrations :version ' );
97
+ $ node = $ this ->storageNode ->addNode ($ timestamp , 'phpcrmig :version ' );
98
98
}
99
99
}
0 commit comments