2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-04-25 09:14:05 -04:00
|
|
|
class CategoryCustomField < ActiveRecord::Base
|
|
|
|
belongs_to :category
|
|
|
|
end
|
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: category_custom_fields
|
|
|
|
#
|
2014-05-08 02:45:49 -04:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# category_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_category_custom_fields_on_category_id_and_name (category_id,name)
|
|
|
|
#
|