tag set presenter

This commit is contained in:
albert
2012-01-14 14:31:09 -05:00
parent bec405df95
commit 673ff02fcf
8 changed files with 37 additions and 40 deletions

View File

@@ -68,6 +68,7 @@ class CreatePosts < ActiveRecord::Migration
add_index :posts, :uploader_id
add_index :posts, :uploader_ip_addr
execute "create index index_posts_on_created_at_date on posts (date(created_at))"
execute "CREATE INDEX index_posts_on_mpixels ON posts (((image_width * image_height)::numeric / 1000000.0))"
execute "SET statement_timeout = 0"