2017-01-09 13:00:55 +00:00
|
|
|
# frozen_string_literal: true
|
2017-05-02 00:14:47 +00:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: web_settings
|
|
|
|
#
|
|
|
|
# data :json
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2017-11-12 15:18:50 +00:00
|
|
|
# id :bigint not null, primary key
|
|
|
|
# user_id :bigint
|
2017-05-02 00:14:47 +00:00
|
|
|
#
|
2017-01-09 13:00:55 +00:00
|
|
|
|
|
|
|
class Web::Setting < ApplicationRecord
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
validates :user, uniqueness: true
|
|
|
|
end
|