Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -6,4 +6,5 @@ module.exports = db; | ... | @@ -6,4 +6,5 @@ module.exports = db; |
6 | db.then(async() => { | 6 | db.then(async() => { |
7 | await db.get('board').createIndex({name: 1}, {unique: true}); | 7 | await db.get('board').createIndex({name: 1}, {unique: true}); |
8 | await db.get('thread').createIndex({board: 1, lastUpdated: -1}); | 8 | await db.get('thread').createIndex({board: 1, lastUpdated: -1}); |
9 | + await db.get('board').insert({name: 'amumal', title: '아무말판'}); | ||
9 | }); | 10 | }); | ... | ... |
-
Please register or login to post a comment