The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

18 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. # data :json
  8. # created_at :datetime not null
  9. # updated_at :datetime not null
  10. # user_id :integer
  11. #
  12. class Web::Setting < ApplicationRecord
  13. belongs_to :user
  14. validates :user, uniqueness: true
  15. end