Sha256: 111fc70ef9c6f141ccde58cf560916a5014410ae34d1f501eb958310629293b1

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

class CreateTagClouds < ActiveRecord::Migration
  def self.up
    
    drop_table "cloud_caches"
    
    create_table "tag_clouds", :force => true do |t| 
      t.integer  "language_id"
      t.string   "filter"
      t.string   "tag_list", :limit => 2500
    end
    
    add_index "tag_clouds", ["language_id", "filter"], {:unique => true}

  end

  def self.down
    drop_table "tag_clouds"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muck-raker-0.1.5 db/migrate/20090619211125_create_tag_clouds.rb