Sha256: 54a41a08d419079f4b1492fd0798c9bc0a9c5bb8d4e076842bd3b486b97cfa58
Contents?: true
Size: 359 Bytes
Versions: 4
Compression:
Stored size: 359 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
4 entries across 4 versions & 2 rubygems