Sha256: 29fb209bb06c0675f5b879387c62fdb04de874857143bfa836b30d09940d4653
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
class CreatePlotlineEntrySearchData < ActiveRecord::Migration def change create_table :plotline_entry_search_data do |t| t.integer :entry_id, index: true t.string :attr_name t.tsvector :search_data t.text :raw_data t.timestamps null: false end execute 'create index idx_search_data on plotline_entry_search_data using gin(search_data)' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plotline-0.1.1 | db/migrate/20150911135536_create_plotline_entry_search_data.plotline.rb |
plotline-0.1.0 | db/migrate/20150911135536_create_plotline_entry_search_data.plotline.rb |