Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mastodon/app/models/web/setting.rb

7 lines
130 B
Ruby

# frozen_string_literal: true
class Web::Setting < ApplicationRecord
belongs_to :user
validates :user, uniqueness: true
end