diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-26 22:36:36 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-26 22:39:58 +0200 |
commit | 00d6b0dda4b1964ab11127851c0fc7106cc0f912 (patch) | |
tree | 3759ff8c8724f85f2554c28edf5bcf58a60085cf /server/initializers/database.js | |
parent | 44c5275e1bdd1d4b4c23f7c423034e4293c927b3 (diff) | |
download | PeerTube-00d6b0dda4b1964ab11127851c0fc7106cc0f912.tar.gz PeerTube-00d6b0dda4b1964ab11127851c0fc7106cc0f912.tar.zst PeerTube-00d6b0dda4b1964ab11127851c0fc7106cc0f912.zip |
Add migration (for db, folders...) mechanism
Diffstat (limited to 'server/initializers/database.js')
-rw-r--r-- | server/initializers/database.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/database.js b/server/initializers/database.js index 20dcc056e..1da574631 100644 --- a/server/initializers/database.js +++ b/server/initializers/database.js | |||
@@ -6,6 +6,7 @@ const constants = require('../initializers/constants') | |||
6 | const logger = require('../helpers/logger') | 6 | const logger = require('../helpers/logger') |
7 | 7 | ||
8 | // Bootstrap models | 8 | // Bootstrap models |
9 | require('../models/application') | ||
9 | require('../models/user') | 10 | require('../models/user') |
10 | require('../models/oauth-client') | 11 | require('../models/oauth-client') |
11 | require('../models/oauth-token') | 12 | require('../models/oauth-token') |