Add option for merging categories
This commit is contained in:
@@ -15,7 +15,7 @@ spring:
|
||||
name: booklore-api
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:~/my-library-temp/config/local/db/booklore
|
||||
url: 'jdbc:h2:~/my-library-temp/config/local/db/booklore;AUTO_SERVER=TRUE'
|
||||
username: sa
|
||||
password: password
|
||||
jpa:
|
||||
|
||||
@@ -19,40 +19,40 @@ VALUES
|
||||
('reader_setting', 'pdf', 'individual'),
|
||||
('reader_setting', 'epub', 'individual');
|
||||
|
||||
-- Insert JSON data into app_settings
|
||||
INSERT INTO app_settings (category, name, val)
|
||||
VALUES
|
||||
(
|
||||
'quick_book_match',
|
||||
'all_books',
|
||||
'{
|
||||
"defaultProvider": "Amazon",
|
||||
"refreshCovers": false,
|
||||
"defaultProvider": "Google",
|
||||
"refreshCovers": true,
|
||||
"mergeCategories": true,
|
||||
"fieldOptions": {
|
||||
"title": {
|
||||
"default": "Amazon",
|
||||
"p2": null,
|
||||
"p1": null
|
||||
"p2": "GoodReads",
|
||||
"p1": "Amazon",
|
||||
"default": "Google"
|
||||
},
|
||||
"description": {
|
||||
"default": "Amazon",
|
||||
"p2": null,
|
||||
"p1": null
|
||||
"p2": "GoodReads",
|
||||
"p1": "Amazon",
|
||||
"default": "Google"
|
||||
},
|
||||
"authors": {
|
||||
"default": "Amazon",
|
||||
"p2": null,
|
||||
"p1": null
|
||||
"p2": "GoodReads",
|
||||
"p1": "Amazon",
|
||||
"default": "Google"
|
||||
},
|
||||
"categories": {
|
||||
"default": "Amazon",
|
||||
"p2": null,
|
||||
"p1": null
|
||||
"p2": "Amazon",
|
||||
"p1": "GoodReads",
|
||||
"default": "Google"
|
||||
},
|
||||
"cover": {
|
||||
"default": "Amazon",
|
||||
"p2": null,
|
||||
"p1": null
|
||||
"p2": "GoodReads",
|
||||
"p1": "Amazon",
|
||||
"default": "Google"
|
||||
}
|
||||
}
|
||||
}'
|
||||
|
||||
Reference in New Issue
Block a user