Sha256: e33bf577dd953acda50137cb48ae4eb76675ecb6a13b27141e8497670a7c0b69
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module DmPanlex class Cp include DataMapper::Resource storage_names[:default] = 'cp' property :lv, Integer, :key => true, :unique_index => :cp_lv_key property :c0, String, :length => 5, :key => true property :c1, String, :length => 5, :required => true, :unique_index => :cp_lv_key belongs_to :lv, :parent_key => :lv, :child_key => :lv end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.0 | lib/dm_panlex/models/cp.rb |