Changed scene year filter to range input.
This commit is contained in:
@@ -8,6 +8,7 @@ import { syncManticoreActors } from '../src/sync.js';
|
||||
async function init() {
|
||||
if (argv.update) {
|
||||
await utilsApi.sql('drop table if exists actors');
|
||||
// bigint rather than timestamp, which is unsigned 32-bit and wraps dates before 1970 into the 2100s
|
||||
await utilsApi.sql(`create table actors(
|
||||
id int,
|
||||
name text,
|
||||
@@ -16,7 +17,7 @@ async function init() {
|
||||
entity_id int,
|
||||
alias_for int,
|
||||
gender string,
|
||||
date_of_birth timestamp,
|
||||
date_of_birth bigint,
|
||||
country string,
|
||||
has_avatar bool,
|
||||
mass int,
|
||||
|
||||
@@ -7,6 +7,7 @@ import { syncManticoreMovies } from '../src/sync.js';
|
||||
async function init() {
|
||||
if (argv.update) {
|
||||
await utilsApi.sql('drop table if exists movies');
|
||||
// bigint rather than timestamp, which is unsigned 32-bit and wraps dates before 1970 into the 2100s
|
||||
await utilsApi.sql(`create table movies (
|
||||
id int,
|
||||
title text,
|
||||
@@ -23,10 +24,10 @@ async function init() {
|
||||
tag_ids multi,
|
||||
tags text,
|
||||
meta text,
|
||||
date timestamp,
|
||||
date bigint,
|
||||
has_cover bool,
|
||||
created_at timestamp,
|
||||
effective_date timestamp,
|
||||
created_at bigint,
|
||||
effective_date bigint,
|
||||
stashed int,
|
||||
stashed_scenes int,
|
||||
stashed_total int,
|
||||
|
||||
@@ -7,6 +7,7 @@ import { syncManticoreScenes } from '../src/sync.js';
|
||||
async function init() {
|
||||
if (argv.update) {
|
||||
await utilsApi.sql('drop table if exists scenes');
|
||||
// bigint rather than timestamp, which is unsigned 32-bit and wraps dates before 1970 into the 2100s
|
||||
await utilsApi.sql(`create table scenes (
|
||||
id int,
|
||||
title text,
|
||||
@@ -38,11 +39,11 @@ async function init() {
|
||||
serie_ids multi,
|
||||
series text,
|
||||
meta text,
|
||||
date timestamp,
|
||||
date bigint,
|
||||
fingerprints text,
|
||||
is_showcased bool,
|
||||
created_at timestamp,
|
||||
effective_date timestamp,
|
||||
created_at bigint,
|
||||
effective_date bigint,
|
||||
stashed int,
|
||||
dupe_index int
|
||||
)`);
|
||||
|
||||
Reference in New Issue
Block a user