public
Description: A comment spam solution that doesn't rely on CAPTCHAs, Javascript, or external web services. In other words, a comment spam solution that doesn't suck!
Homepage:
Clone URL: git://github.com/rsl/acts_as_snook.git
acts_as_snook / test / schema.rb
100644 25 lines (21 sloc) 0.649 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ActiveRecord::Migration.verbose = false
 
ActiveRecord::Schema.define(:version => 1) do
  create_table :comments, :force => true do |t|
    t.integer :entry_id
    t.string :author, :email, :url, :spam_status
    t.text :body
  end
  
  create_table :entries, :force => true do |t|
    t.string :title
    t.integer :ham_comments_count, :default => 0
  end
  
  create_table :extended_comments, :force => true do |t|
    t.integer :entry_id
    t.string :author, :email, :url, :spam_status
    t.text :body
  end
  
  create_table :extended_entries, :force => true do |t|
    t.string :title
    t.integer :ham_comments_count, :default => 0
  end
end