Sha256: 15b2821d55d4b71340bbcc1646da466051587ede0c66189b635a8f3fbb12fa7b

Contents?: true

Size: 273 Bytes

Versions: 26

Compression:

Stored size: 273 Bytes

Contents

module Ring
class SQA
class Database

  class Ping < Sequel::Model
    set_schema do
      primary_key :id
      Fixnum      :time
      String      :peer
      Fixnum      :latency
      String      :result
    end
    create_table unless table_exists?
  end

end
end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ring-sqa-0.0.21 lib/ring/sqa/database/model.rb
ring-sqa-0.0.20 lib/ring/sqa/database/model.rb
ring-sqa-0.0.19 lib/ring/sqa/database/model.rb
ring-sqa-0.0.18 lib/ring/sqa/database/model.rb
ring-sqa-0.0.16 lib/ring/sqa/database/model.rb
ring-sqa-0.0.15 lib/ring/sqa/database/model.rb