Project

General

Profile

Actions

Bug #29504

closed

DB creation fails if the plugin extends graphql types

Added by Kamil Szubrycht about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If the plugin extends graphql types, eg. https://github.com/theforeman/foreman_omaha/blob/ed679561e9bbc3d02e4f2e813ef1b3d14136b80b/lib/foreman_omaha/engine.rb#L100-L103, bundle exec rake db:create command fails with error message:

ActiveRecord::NoDatabaseError: FATAL:  database "foreman_development" does not exist

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7577 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #3

Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF