2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-04-25 09:14:05 -04:00
|
|
|
class GroupCustomField < ActiveRecord::Base
|
2023-12-14 12:06:21 -05:00
|
|
|
include CustomField
|
|
|
|
|
2014-04-25 09:14:05 -04:00
|
|
|
belongs_to :group
|
|
|
|
end
|
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: group_custom_fields
|
|
|
|
#
|
2014-05-08 02:45:49 -04:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# group_id :integer not null
|
|
|
|
# name :string(256) not null
|
|
|
|
# value :text
|
2014-08-27 01:19:25 -04:00
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2014-04-25 09:14:05 -04:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_group_custom_fields_on_group_id_and_name (group_id,name)
|
|
|
|
#
|