test/db/schema.rb in nested_set-1.5.4 vs test/db/schema.rb in nested_set-1.6.0
- old
+ new
@@ -3,9 +3,10 @@
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 :depth, :integer, :default => 0
t.column :organization_id, :integer
end
create_table :departments, :force => true do |t|
t.column :name, :string