logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

setting.rb (384B)


  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: web_settings
  5. #
  6. # id :integer not null, primary key
  7. # data :json
  8. # created_at :datetime not null
  9. # updated_at :datetime not null
  10. # user_id :integer not null
  11. #
  12. class Web::Setting < ApplicationRecord
  13. belongs_to :user
  14. validates :user, uniqueness: true
  15. end