diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-18 11:56:28 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-18 12:13:33 +0100 |
commit | 5804c0db337ecf492fc61b98a3de7b730a0d8ce3 (patch) | |
tree | 83c0e8d8f10ec0f9ca269624feaba48970a7a0e3 /server/initializers/constants.js | |
parent | c1a7ab7f04fdb1601cf1e41c4e372dbd3c81f3de (diff) | |
download | PeerTube-5804c0db337ecf492fc61b98a3de7b730a0d8ce3.tar.gz PeerTube-5804c0db337ecf492fc61b98a3de7b730a0d8ce3.tar.zst PeerTube-5804c0db337ecf492fc61b98a3de7b730a0d8ce3.zip |
Server: fix migration scripts
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index eb0509efe..821580893 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -5,6 +5,10 @@ const path = require('path') | |||
5 | 5 | ||
6 | // --------------------------------------------------------------------------- | 6 | // --------------------------------------------------------------------------- |
7 | 7 | ||
8 | const LAST_MIGRATION_VERSION = 10 | ||
9 | |||
10 | // --------------------------------------------------------------------------- | ||
11 | |||
8 | // API version | 12 | // API version |
9 | const API_VERSION = 'v1' | 13 | const API_VERSION = 'v1' |
10 | 14 | ||
@@ -95,10 +99,6 @@ const FRIEND_SCORE = { | |||
95 | 99 | ||
96 | // --------------------------------------------------------------------------- | 100 | // --------------------------------------------------------------------------- |
97 | 101 | ||
98 | const LAST_MIGRATION_VERSION = 5 | ||
99 | |||
100 | // --------------------------------------------------------------------------- | ||
101 | |||
102 | // Number of points we add/remove from a friend after a successful/bad request | 102 | // Number of points we add/remove from a friend after a successful/bad request |
103 | const PODS_SCORE = { | 103 | const PODS_SCORE = { |
104 | MALUS: -10, | 104 | MALUS: -10, |