<<

NAME

Koha::Schema::Result::ItemGroupItem

TABLE: item_group_items

ACCESSORS

item_group_items_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

id for the group/item link

item_group_id

  data_type: 'integer'
  default_value: 0
  is_foreign_key: 1
  is_nullable: 0

foreign key making this table a 1 to 1 join from items to item groups

item_id

  data_type: 'integer'
  default_value: 0
  is_foreign_key: 1
  is_nullable: 0

foreign key linking this table to the items table

PRIMARY KEY

UNIQUE CONSTRAINTS

item_id

RELATIONS

item

Type: belongs_to

Related object: Koha::Schema::Result::Item

item_group

Type: belongs_to

Related object: Koha::Schema::Result::ItemGroup

<<