This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
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
|