Sha256: b0885ca36fd3c4046b3a495dd8771f34f76abd9ab021e4c13144c5afbcaa49a7

Contents?: true

Size: 553 Bytes

Versions: 7

Compression:

Stored size: 553 Bytes

Contents

class CreateMentions < ActiveRecord::Migration
  def self.up
    create_table :mentions, :force => true do |t|
      t.string   "url",           :limit => 8000
      t.string   "excerpt",       :limit => 4000
      t.string   "title",         :limit => 1000
      t.string   "source"
      t.datetime "date"
      t.float    "weight"
      t.integer  "owner_id"
      t.string   "owner_type"
      t.string   "search_source"
      t.datetime "created_at"
      t.datetime "updated_at"
    end
  end
  
  def self.down
    drop_table :mentions
  end
end

Version data entries

7 entries across 4 versions & 2 rubygems

Version Path
govkit-0.7.4 lib/generators/govkit/templates/create_mentions.rb
govkit-0.7.4 generators/govkit/templates/create_mentions.rb
govkit-0.7.3 lib/generators/govkit/templates/create_mentions.rb
govkit-0.7.3 generators/govkit/templates/create_mentions.rb
govkit-0.7.2 generators/govkit/templates/create_mentions.rb
govkit-0.7.2 lib/generators/govkit/templates/create_mentions.rb
govkit-h-0.7.1.0 lib/generators/govkit/templates/create_mentions.rb