mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(db): initial schema filter origins nullable (#271)
This commit is contained in:
parent
d112634947
commit
bea30cb0bd
2 changed files with 3 additions and 2 deletions
|
@ -101,7 +101,7 @@ CREATE TABLE filter
|
||||||
except_uploaders TEXT,
|
except_uploaders TEXT,
|
||||||
tags TEXT,
|
tags TEXT,
|
||||||
except_tags TEXT,
|
except_tags TEXT,
|
||||||
origins TEXT [] DEFAULT '{}' NOT NULL,
|
origins TEXT [] DEFAULT '{}',
|
||||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
|
@ -52,7 +52,8 @@ function FilterAddForm({ isOpen, toggle }: any) {
|
||||||
resolutions: [],
|
resolutions: [],
|
||||||
codecs: [],
|
codecs: [],
|
||||||
sources: [],
|
sources: [],
|
||||||
containers: []
|
containers: [],
|
||||||
|
origins: [],
|
||||||
}}
|
}}
|
||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
validate={validate}
|
validate={validate}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue