-
Notifications
You must be signed in to change notification settings - Fork 371
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
Refactor Staff model #1793
base: 1.x
Are you sure you want to change the base?
Refactor Staff model #1793
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@adevade Sorry this one took a while, looks pretty okay to me. I've added a small test (which didn't exist before) lmk your thoughts and we can get this merged. |
@alecritson Nice work with the test! 👍 One thing I noticed is that |
I think if anything we'd be better to migrate |
I guess if we don't do it now, then it may never get another look. So maybe we get it done in this PR? |
"SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification."
I've now updated the code base to use Since users might be referencing I did not update the CLI argument keys on I have not yet touched any documentation. |
Note: This PR is easiest to review commit by commit. Feel free to pick and choose what you like and revert the ones you don't.
The reason for removing the Docblocks is because Filament barely uses any. With clear property/method names, type hints and return types they often feel superfluous.
I think that we can remove the custom route binding after this PR was merged in Livewire(?)
I usually use my accessors as the rest of my attributes (snake cased), but don't know if you have a strong preference? Both still works. Especially in
$appends
I think it should be snake cased, since otherwise it would be mixing case with the other fields from the DB.Marking as draft for now, to let the tests run and get some feedback.