Skip to content
This repository was archived by the owner on Aug 22, 2026. It is now read-only.

added command option --abstract-class which makes the resulting model an abstract class - #55

Open
mowses wants to merge 1 commit into
avm87:masterfrom
mowses:master
Open

added command option --abstract-class which makes the resulting model an abstract class#55
mowses wants to merge 1 commit into
avm87:masterfrom
mowses:master

Conversation

@mowses

@mowses mowses commented Jul 19, 2019

Copy link
Copy Markdown

added optional command option --abstract-class which makes the resulting model an abstract class

@mowses

mowses commented Jul 19, 2019

Copy link
Copy Markdown
Author

In my case, I use krlove to generate models for all my tables. These tables may be in constant change via migrations. Its a pain to add/remove new/old fields to the model.
I just run an artisan command that outputs all my tables to a "generated" folder. Then I create new model file extending the abstract generated models from krlove

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant