aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/uuid_item.rb
blob: 41f68c4c1829f044127f1aaef29e0d6bae7c2b93 (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class UuidItem < ActiveRecord::Base
end

class UuidValidatingItem < UuidItem
  validates_uniqueness_of :uuid
end