Compare commits
2 Commits
cd4a7ce9c8
...
cea58d12ff
| Author | SHA1 | Date | |
|---|---|---|---|
| cea58d12ff | |||
| 25034e7a4b |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx-web",
|
"name": "traxxx-web",
|
||||||
"version": "0.47.10",
|
"version": "0.47.11",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.47.10",
|
"version": "0.47.11",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brillout/json-serializer": "^0.5.8",
|
"@brillout/json-serializer": "^0.5.8",
|
||||||
"@dicebear/collection": "^7.0.5",
|
"@dicebear/collection": "^7.0.5",
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
"overrides": {
|
"overrides": {
|
||||||
"vite": "$vite"
|
"vite": "$vite"
|
||||||
},
|
},
|
||||||
"version": "0.47.10",
|
"version": "0.47.11",
|
||||||
"imports": {
|
"imports": {
|
||||||
"#/*": "./*.js"
|
"#/*": "./*.js"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,33 @@ async function syncStashes(domain = 'scene') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
|
await utilsApi.sql('drop table if exists scenes_stashed');
|
||||||
|
|
||||||
|
await utilsApi.sql(`create table if not exists scenes_stashed (
|
||||||
|
scene_id int,
|
||||||
|
stash_id int,
|
||||||
|
user_id int,
|
||||||
|
created_at timestamp
|
||||||
|
)`);
|
||||||
|
|
||||||
|
await utilsApi.sql('drop table if exists movies_stashed');
|
||||||
|
|
||||||
|
await utilsApi.sql(`create table if not exists movies_stashed (
|
||||||
|
movie_id int,
|
||||||
|
stash_id int,
|
||||||
|
user_id int,
|
||||||
|
created_at timestamp
|
||||||
|
)`);
|
||||||
|
|
||||||
|
await utilsApi.sql('drop table if exists actors_stashed');
|
||||||
|
|
||||||
|
await utilsApi.sql(`create table if not exists actors_stashed (
|
||||||
|
actor_id int,
|
||||||
|
stash_id int,
|
||||||
|
user_id int,
|
||||||
|
created_at timestamp
|
||||||
|
)`);
|
||||||
|
|
||||||
await syncStashes('scene');
|
await syncStashes('scene');
|
||||||
await syncStashes('actor');
|
await syncStashes('actor');
|
||||||
await syncStashes('movie');
|
await syncStashes('movie');
|
||||||
|
|||||||
Reference in New Issue
Block a user