Sha256: 24c2cdbeba3e9405de8bbae45e906bfd57db7330e679a5e66bed3fa4e526fd63

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

class RequestLogAnalyzer::Database::Source < RequestLogAnalyzer::Database::Base
  def self.create_table!
    unless database.connection.table_exists?(:sources)
      database.connection.create_table(:sources) do |t|
        t.column :filename, :string
        t.column :mtime,    :datetime
        t.column :filesize, :integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
request-log-analyzer-1.13.4 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.13.3 lib/request_log_analyzer/database/source.rb