mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +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,
|
||||
tags TEXT,
|
||||
except_tags TEXT,
|
||||
origins TEXT [] DEFAULT '{}' NOT NULL,
|
||||
origins TEXT [] DEFAULT '{}',
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
|
|
@ -52,7 +52,8 @@ function FilterAddForm({ isOpen, toggle }: any) {
|
|||
resolutions: [],
|
||||
codecs: [],
|
||||
sources: [],
|
||||
containers: []
|
||||
containers: [],
|
||||
origins: [],
|
||||
}}
|
||||
onSubmit={handleSubmit}
|
||||
validate={validate}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue