grosser / search_do forked from moro/search_do

AR: Hyperestraier integration

This URL has Read+Write access

search_do / test / schema.rb
100755 19 lines (17 sloc) 0.523 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ActiveRecord::Schema.define(:version => 0) do
  create_table :articles, :force => true do |t|
    t.column "title", :string
    t.column "body", :string
    t.column "tags", :string
    t.column "created_at", :datetime
    t.column "comments_count", :integer, :default => 0
  end
  
  create_table :comments, :force => true do |t|
    t.column "body", :string
    t.column "article_id", :integer
  end
  
  create_table :notifications, :force => true do |t|
    t.column :body, :string
    t.column :type, :string
  end
end