Sha256: 5653538054817bf7a613d91fbdbc1a9036badb3bdd2cd685b13cb4ff48445284

Contents?: true

Size: 357 Bytes

Versions: 47

Compression:

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

47 entries across 47 versions & 2 rubygems

Version Path
request-log-analyzer-1.5.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.5.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.4.2 lib/request_log_analyzer/database/source.rb
ngmoco-request-log-analyzer-1.4.2 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.4.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.4.0.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.4.0 lib/request_log_analyzer/database/source.rb