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-10 11:51:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de9bb9409bbd5dfb217992cbff29c348ccb9b66e
de9bb940
1 parent
4dc83c77
Builds for 1 pipeline
failed
in 0 seconds
스레드를 인덱스에 추가
Changes
1
Builds
1
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 @
de9bb94
...
...
@@ -6,5 +6,6 @@ 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
(
'subthread'
).
createIndex
({
parent
:
1
});
await
db
.
get
(
'board'
).
insert
({
name
:
'amumal'
,
title
:
'아무말판'
}).
catch
(()
=>
{});
});
...
...
Please
register
or
login
to post a comment