Sha256: de6f56490600671646de8761bbfd9b0e753d75786bba465810ce6eacb52f77ea
Contents?: true
Size: 444 Bytes
Versions: 20
Compression:
Stored size: 444 Bytes
Contents
class CreatePgSearchDocuments < ActiveRecord::Migration def self.up say_with_time("Creating table for pg_search multisearch") do create_table :pg_search_documents do |t| t.text :content t.belongs_to :searchable, :polymorphic => true t.timestamps end end end def self.down say_with_time("Dropping table for pg_search multisearch") do drop_table :pg_search_documents end end end
Version data entries
20 entries across 20 versions & 1 rubygems