Module: Runestone::PsqlSchemaDumper
- Defined in:
- lib/runestone/psql_schema_dumper.rb
Instance Method Summary collapse
Instance Method Details
#extensions(stream) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/runestone/psql_schema_dumper.rb', line 3 def extensions(stream) super(stream) stream.puts <<-RB ## Install the default dictionary for Runestone in the database execute <<-SQL CREATE TEXT SEARCH CONFIGURATION runestone (COPY = simple); ALTER TEXT SEARCH CONFIGURATION runestone ALTER MAPPING FOR hword, hword_part, word WITH unaccent, simple; SQL RB stream end |