major bug fix with cache.rb, work on implication tests

This commit is contained in:
albert
2010-02-12 15:17:15 -05:00
parent ba05f727b0
commit bc7bd0b386
15 changed files with 206 additions and 520 deletions

View File

@@ -1,21 +0,0 @@
class CreatePendingPosts < ActiveRecord::Migration
def self.up
create_table :pending_posts do |t|
t.timestamps
t.column :source, :string
t.column :file_path, :string
t.column :content_type, :string
t.column :rating, :character, :null => false
t.column :uploader_id, :integer, :null => false
t.column :uploader_ip_addr, "inet", :null => false
t.column :tag_string, :text, :null => false
t.column :status, :string, :null => false, :default => "pending"
t.column :post_id, :integer
end
end
def self.down
drop_table :pending_posts
end
end

View File

@@ -9,6 +9,7 @@ class CreateTagAliases < ActiveRecord::Migration
end
add_index :tag_aliases, :antecedent_name
add_index :tag_aliases, :consequent_name
end
def self.down

View File

@@ -10,6 +10,7 @@ class CreateTagImplications < ActiveRecord::Migration
end
add_index :tag_implications, :antecedent_name
add_index :tag_implications, :consequent_name
end
def self.down