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.9.8 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.7 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.6 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.5 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.4 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.3 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.2 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.8.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.8.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.7.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.6.4 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.6.3 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.6.2 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.6.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.6.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.5.4 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.5.3 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.5.2 lib/request_log_analyzer/database/source.rb