This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2017-01-09 05:00:55 -08:00
|
|
|
# frozen_string_literal: true
|
2017-05-01 17:14:47 -07:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: web_settings
|
|
|
|
#
|
2017-11-17 15:16:48 -08:00
|
|
|
# id :integer not null, primary key
|
2017-05-01 17:14:47 -07:00
|
|
|
# data :json
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2018-02-07 07:35:44 -08:00
|
|
|
# user_id :integer not null
|
2017-05-01 17:14:47 -07:00
|
|
|
#
|
2017-01-09 05:00:55 -08:00
|
|
|
|
|
|
|
class Web::Setting < ApplicationRecord
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
validates :user, uniqueness: true
|
|
|
|
end
|