Sha256: b0009c29d7bd507321ccd6350891037c0e7c9fc9677ea674a9072154d1601964

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 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

   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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