Sha256: b5d4fa0ecf6ddd65bc2b7118c22a3b063483f7edccecadb2c84224c72b79ae82
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 Bytes
Contents
class RequestLogAnalyzer::Database::Warning < RequestLogAnalyzer::Database::Base def self.create_table! unless database.connection.table_exists?(:warnings) database.connection.create_table(:warnings) do |t| t.column :warning_type, :string, limit: 30, null: false t.column :message, :string t.column :source_id, :integer t.column :lineno, :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/warning.rb |
request-log-analyzer-1.13.3 | lib/request_log_analyzer/database/warning.rb |