Sha256: dc0672710b58df9f1489ddab1ccf40269519237f0f84f4e464930cb00314bced

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

class UploadedFiles < ActiveRecord::Base
  set_table_name  :files
  set_primary_key :fid

  # Relationships
  

  # Constraints
  validates_numericality_of :uid, :filesize, :status, :timestamp
  validates_presence_of :uid, :filename, :filepath, :filemime, :filesize, :status, :timestamp
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
legacy_data-0.2.1 examples/generated/drupal_mysql/uploaded_files.rb
legacy_data-0.2.0 examples/generated/drupal_mysql/uploaded_files.rb
legacy_data-0.1.12 examples/generated/drupal_mysql/uploaded_files.rb
legacy_data-0.1.11 examples/generated/drupal_mysql/uploaded_files.rb
legacy_data-0.1.10 examples/generated/drupal_mysql/uploaded_files.rb