cirandas.net

ref: master

vendor/plugins/xss_terminate/test/schema.rb


 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
26
27
28
29
30
31
32
33
34
ActiveRecord::Schema.define(:version => 0) do
  create_table :people, :force => true do |t|
    t.column :name, :string
  end
  
  create_table :entries, :force => true do |t|
    t.column :title, :string
    t.column :body, :text
    t.column :extended, :text
    t.column :person_id, :integer
    t.column :created_on, :datetime
  end

  create_table :comments, :force => true do |t|
    t.column :person_id, :integer
    t.column :title, :string
    t.column :body, :text
    t.column :created_on, :datetime
  end
  
  create_table :messages, :force => true do |t|
    t.column :person_id, :integer
    t.column :recipient_id, :integer
    t.column :body, :text
  end
  
  create_table :reviews, :force => true do |t|
    t.column :title, :string
    t.column :body, :text
    t.column :extended, :text
    t.column :person_id, :integer
    t.column :created_on, :datetime
  end
end