You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
366 B

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