lib/dm_panlex/models/cu.rb in dm_panlex-0.2.0 vs lib/dm_panlex/models/cu.rb in dm_panlex-0.2.1
- old
+ new
@@ -9,8 +9,7 @@
property :c0, String, :length => 5, :key => true, :required => true, :unique_index => :cu_c0_key
property :c1, String, :length => 5, :required => true, :unique_index => :cu_c1_key
property :loc, String, :length => 255, :key => true, :unique_index => [:cu_c0_key, :cu_c1_key]
property :vb, String, :length => 255, :key => true, :required => true, :unique_index => [:cu_c0_key, :cu_c1_key]
- belongs_to :lv, :parent_key => :lv, :child_key => :lv
end
end