]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.js
Server: migration script that add admin role to root user
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.js
index 10ae48e9521940118b52c5dc28d30299becfa24b..02043bd45bb5fad6127429c881cd84441276fe5e 100644 (file)
@@ -62,9 +62,13 @@ const MONGO_MIGRATION_SCRIPTS = [
   {
     script: '0010-users-password',
     version: 10
+  },
+  {
+    script: '0015-admin-role',
+    version: 15
   }
 ]
-const LAST_MONGO_SCHEMA_VERSION = 10
+const LAST_MONGO_SCHEMA_VERSION = 15
 
 // Time to wait between requests to the friends (10 min)
 let REQUESTS_INTERVAL = 600000