2019-05-02 17:17:27 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-04-25 08:14:05 -05:00
|
|
|
class CategoryCustomField < ActiveRecord::Base
|
|
|
|
belongs_to :category
|
|
|
|
end
|
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: category_custom_fields
|
|
|
|
#
|
2014-05-08 01:45:49 -05:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# category_id :integer not null
|
|
|
|
# name :string(256) not null
|
|
|
|
# value :text
|
2014-08-27 00:19:25 -05:00
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2014-04-25 08:14:05 -05:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_category_custom_fields_on_category_id_and_name (category_id,name)
|
|
|
|
#
|