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