Project

General

Profile

Actions

Bug #21609

open

Migrations on clean db with rails 5 fails

Added by Ori Rabin over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The error is:
ActiveRecord::SubclassNotFound: Invalid single-table inheritance type: Host::Discovered is not a subclass of FakeDiscoveredHost

From the migration: FillDiscoveryAttributeSetsForExistingHosts.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #14983: Faking host and other models with STI in migrations doesn't work due to STINew05/10/2016Actions
Actions #1

Updated by Ori Rabin over 6 years ago

  • Related to Bug #14983: Faking host and other models with STI in migrations doesn't work due to STI added
Actions

Also available in: Atom PDF