Mercurial > hg > soundsoftware-site
view vendor/plugins/awesome_nested_set/test/db/schema.rb @ 799:9f2bc483b7ec feature_14
Fixes the html injection problem in the client side (Bug #341).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 21 Nov 2011 17:17:25 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
ActiveRecord::Schema.define(:version => 0) do create_table :categories, :force => true do |t| t.column :name, :string t.column :parent_id, :integer t.column :lft, :integer t.column :rgt, :integer t.column :organization_id, :integer end create_table :departments, :force => true do |t| t.column :name, :string end create_table :notes, :force => true do |t| t.column :body, :text t.column :parent_id, :integer t.column :lft, :integer t.column :rgt, :integer t.column :notable_id, :integer t.column :notable_type, :string end end