Merged DDF Network with Porn World. Fixed and updated DDF/PW scraper.
This commit is contained in:
@@ -174,7 +174,7 @@ exports.up = knex => Promise.resolve()
|
||||
|
||||
table.unique(['slug', 'type']);
|
||||
|
||||
table.text('alias');
|
||||
table.specificType('alias', 'text[]');
|
||||
|
||||
table.text('url');
|
||||
table.text('description');
|
||||
@@ -820,6 +820,8 @@ exports.up = knex => Promise.resolve()
|
||||
WHERE
|
||||
name ILIKE ('%' || search || '%') OR
|
||||
slug ILIKE ('%' || search || '%') OR
|
||||
array_to_string(alias, '') ILIKE ('%' || search || '%') OR
|
||||
replace(array_to_string(alias, ''), ' ', '') ILIKE ('%' || search || '%') OR
|
||||
url ILIKE ('%' || search || '%')
|
||||
$$ LANGUAGE SQL STABLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user