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