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.13.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.13.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.11 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.10 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.9 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.8 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.7 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.6 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.5 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.4 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.3 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.2 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.12.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.11.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.11.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.10.1 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.10.0 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.10 lib/request_log_analyzer/database/source.rb
request-log-analyzer-1.9.9 lib/request_log_analyzer/database/source.rb