Toggle navigation
Toggle navigation
This project
Loading...
Sign in
201side
/
floater
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
robin*
2020-12-09 12:08:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
60cc2bc2e9899c6ef2bd58e0486a85c101050b9b
60cc2bc2
1 parent
21d41a58
디폴트 판 생성
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/db.js
src/db.js
View file @
60cc2bc
...
...
@@ -6,4 +6,5 @@ module.exports = db;
db
.
then
(
async
()
=>
{
await
db
.
get
(
'board'
).
createIndex
({
name
:
1
},
{
unique
:
true
});
await
db
.
get
(
'thread'
).
createIndex
({
board
:
1
,
lastUpdated
:
-
1
});
await
db
.
get
(
'board'
).
insert
({
name
:
'amumal'
,
title
:
'아무말판'
});
});
...
...
Please
register
or
login
to post a comment