2017-01-09 13:00:55 +00:00
|
|
|
# frozen_string_literal: true
|
2017-05-02 01:14:47 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: web_settings
|
|
|
|
#
|
2017-11-17 23:16:48 +00:00
|
|
|
# id :integer not null, primary key
|
2017-05-02 01:14:47 +01:00
|
|
|
# data :json
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2018-02-07 15:35:44 +00:00
|
|
|
# user_id :integer not null
|
2017-05-02 01:14:47 +01:00
|
|
|
#
|
2017-01-09 13:00:55 +00:00
|
|
|
|
|
|
|
class Web::Setting < ApplicationRecord
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
validates :user, uniqueness: true
|
|
|
|
end
|