<commit_before>require 'dm-core'

class Node
  include DataMapper::Resource
  property :id, Serial, :required => true
  property :ip_address, String, :required => true
  property :port, Integer, :required => true
  property :uuid, Integer, :required => true, :unique => true
  property :supernode, Boolean, :default => false
  property :created_at, DateTime
  property :updated_at, DateTime
end<commit_msg>Use a string UUID instead of int id for nodes.<commit_after>require 'dm-core'

class Node
  include DataMapper::Resource
  property :uuid, String, :required => true, :unique => true, :key => true
  property :ip_address, String, :required => true
  property :port, Integer, :required => true
  property :supernode, Boolean, :default => false
  property :created_at, DateTime
  property :updated_at, DateTime
end
{'fraction_non_alphanumeric': 0.11151960784313726, 'fraction_numerical': 0.0, 'mean_word_length': 5.1893939393939394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3571650', 'n_tokens_mistral': 230, 'n_tokens_neox': 229, 'n_words': 85}