Browse Source

small issue

pull/1/head
Nicolae Claudius 10 years ago
parent
commit
e4057fc03b
  1. 4
      db/migrate/20120302172252_add_nested_interval_to_domains.rb
  2. 4
      db/schema.rb

4
db/migrate/20120302172252_add_nested_interval_to_domains.rb

@ -3,8 +3,8 @@ class AddNestedIntervalToDomains < ActiveRecord::Migration
add_column :domains, :parent_id, :integer
add_column :domains, :lftp, :integer, null: false, default: 0
add_column :domains, :lftq, :integer, null: false, default: 0
add_column :domains, :rgtp, :integer, null: false
add_column :domains, :rgtq, :integer, null: false
add_column :domains, :rgtp, :integer, null: false, default: 0
add_column :domains, :rgtq, :integer, null: false, default: 0
add_column :domains, :lft, :float, null: false, limit: 53
add_column :domains, :rgt, :float, null: false, limit: 53

4
db/schema.rb

@ -67,8 +67,8 @@ ActiveRecord::Schema.define(version: 20140526093613) do
t.integer "parent_id"
t.integer "lftp", default: 0, null: false
t.integer "lftq", default: 0, null: false
t.integer "rgtp", null: false
t.integer "rgtq", null: false
t.integer "rgtp", default: 0, null: false
t.integer "rgtq", default: 0, null: false
t.float "lft", null: false
t.float "rgt", null: false
end

Loading…
Cancel
Save