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:59:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
045f92990f1ac41c8f9614c2e6e7fee888582272
045f9299
1 parent
efea6d06
기본 판이 이미 있어도 에러를 출력하지 않도록 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/db.js
src/db.js
View file @
045f929
...
...
@@ -6,5 +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
:
'아무말판'
});
await
db
.
get
(
'board'
).
insert
({
name
:
'amumal'
,
title
:
'아무말판'
})
.
catch
(()
=>
{})
;
});
...
...
Please
register
or
login
to post a comment