blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

Pluralization oddity

Open discern opened this issue 1 year ago • 5 comments

  • Laravel Version: 10.43.0
  • PHP Version: 8.3.2
  • Blueprint Version: 2.9.0
  • Platform: Mac

Issue:

Blueprint correctly creates a Regatta model and a regattas table; however, in the RaceFactory file, it calls Regattum::factory().

draft.yaml:

models:
  Regatta:
    name: string
    relationships:
      hasMany: Race

  Race:
    regatta_id: id foreign
    result: unsignedSmallInteger nullable
    relationships:
      belongsTo: Regatta

discern avatar Feb 10 '24 17:02 discern