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

[5.8] Add option to create policy in art make:model command #28845

Closed
wants to merge 1 commit into from
Closed

[5.8] Add option to create policy in art make:model command #28845

wants to merge 1 commit into from

Conversation

cwilby
Copy link
Contributor

@cwilby cwilby commented Jun 14, 2019

I regularly use policies so I figured this would be helpful - I'm not sure about the shorthand that I chose for this option as p is occupied by the pivot option.

...
['policy', 'pc', InputOption::VALUE_NONE, 'Create a new policy for the model'],
['pivot', 'p', InputOption::VALUE_NONE, 'Indicates if the generated model should be a custom intermediate table model'],
...

@bonzai
Copy link
Contributor

bonzai commented Jun 14, 2019

#25787

@cwilby
Copy link
Contributor Author

cwilby commented Jun 14, 2019

Closing - if @taylorotwell reconsiders he should use #25787.

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.

2 participants