Sha256: 4e431d551ac2d0a5eed974c2077c848ec9d0ac0276ae03277052803ea9a62498

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

module DmPanlex
   class Md
      include DataMapper::Resource

      storage_names[:default] = 'md'

      property :md, Integer, :key => true
      property :dn, Integer, :required => true, :unique_index => :md_dn_key
      property :vb, Text, :required => true, :unique_index => :md_dn_key
      property :vl, Text, :required => true, :unique_index => :md_dn_key

   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 lib/dm_panlex/models/md.rb
dm_panlex-0.2.1 lib/dm_panlex/models/md.rb