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 "## Install the default dictionary for Runestone in the database\nexecute <<-SQL\n CREATE TEXT SEARCH CONFIGURATION runestone (COPY = simple);\n ALTER TEXT SEARCH CONFIGURATION runestone\n ALTER MAPPING FOR hword, hword_part, word\n WITH unaccent, simple;\nSQL\n RB\n stream\nend\n" |