annotate .svn/pristine/1b/1ba2c6ffd62ba44a997d21f2258fab77c2264196.svn-base @ 1169:492ff72268e3 bug_521

Close obsolete branch bug_521
author Chris Cannam
date Thu, 18 Oct 2012 10:42:48 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 ActiveRecord::Schema.define(:version => 0) do
Chris@909 2
Chris@909 3 create_table :categories, :force => true do |t|
Chris@909 4 t.column :name, :string
Chris@909 5 t.column :parent_id, :integer
Chris@909 6 t.column :lft, :integer
Chris@909 7 t.column :rgt, :integer
Chris@909 8 t.column :organization_id, :integer
Chris@909 9 end
Chris@909 10
Chris@909 11 create_table :departments, :force => true do |t|
Chris@909 12 t.column :name, :string
Chris@909 13 end
Chris@909 14
Chris@909 15 create_table :notes, :force => true do |t|
Chris@909 16 t.column :body, :text
Chris@909 17 t.column :parent_id, :integer
Chris@909 18 t.column :lft, :integer
Chris@909 19 t.column :rgt, :integer
Chris@909 20 t.column :notable_id, :integer
Chris@909 21 t.column :notable_type, :string
Chris@909 22 end
Chris@909 23 end