Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/append connection #213

Open
wants to merge 3 commits into
base: v2.x
Choose a base branch
from
Open

Conversation

CristianLlanos
Copy link
Member

@CristianLlanos CristianLlanos commented May 9, 2021

  • Added PhpTypeEnum::absentTypeEnum() to support properties with no type such as Eloquent's $table and $connection properties
  • SchemaBlueprint now has the connection name from which it was analyzed. It has also been given SchemaBlueprint::getConnectionName() and SchemaBlueprint::setConnectionName()
  • The AppendConnection key has been added to the reliese.php config file to support appending the $connection property to generated models
  • ClassFormatter::formatProperty() has been updated to account for property without types
  • The ModelGeneratorConfiguration constructor now handles default values when possible
  • Behat and PhpUnit tests have been updated to support appending the $connection property to Eloquent models

@CristianLlanos CristianLlanos changed the title Feature/append connection feature/append connection May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants