Class: RoomPlanFixture
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- RoomPlanFixture
- Defined in:
- app/models/room_plan_fixture.rb
Overview
== Schema Information
Table name: room_plan_fixtures
Database name: primary
id :bigint not null, primary key
fixture_data :jsonb
design_tool_fixture_id :integer not null
room_plan_id :integer not null
Indexes
index_room_plan_fixtures_on_design_tool_fixture_id (design_tool_fixture_id)
index_room_plan_fixtures_on_room_plan_id (room_plan_id)
Foreign Keys
fk_rails_... (design_tool_fixture_id => design_tool_fixtures.id)
fk_rails_... (room_plan_id => room_plans.id) ON DELETE => cascade
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#design_tool_fixture ⇒ DesignToolFixture
24 |
# File 'app/models/room_plan_fixture.rb', line 24 belongs_to :design_tool_fixture |
#room_plan ⇒ RoomPlan
23 |
# File 'app/models/room_plan_fixture.rb', line 23 belongs_to :room_plan, counter_cache: true |