mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
Remove custom text search
This commit is contained in:
parent
2579c7acac
commit
4098d91f8f
@ -0,0 +1,7 @@
|
||||
class DropDanbooruTextSearchConfiguration < ActiveRecord::Migration
|
||||
def up
|
||||
execute <<-SQL.strip_heredoc
|
||||
DROP TEXT SEARCH CONFIGURATION danbooru;
|
||||
SQL
|
||||
end
|
||||
end
|
@ -331,17 +331,6 @@ CREATE FUNCTION user_logs_touch(new_user_id integer, new_ip inet) RETURNS void
|
||||
$$;
|
||||
|
||||
|
||||
--
|
||||
-- Name: danbooru; Type: TEXT SEARCH CONFIGURATION; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TEXT SEARCH CONFIGURATION danbooru (
|
||||
PARSER = testparser );
|
||||
|
||||
ALTER TEXT SEARCH CONFIGURATION danbooru
|
||||
ADD MAPPING FOR word WITH simple;
|
||||
|
||||
|
||||
SET default_tablespace = '';
|
||||
|
||||
SET default_with_oids = false;
|
||||
@ -3490,6 +3479,8 @@ INSERT INTO schema_migrations (version) VALUES ('20160329160235');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160329161636');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160330063707');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('21');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('22');
|
||||
|
Loading…
x
Reference in New Issue
Block a user