Open deiucanta opened 6 years ago
Nice post. But lobby for votes is against the rules, buddy. See here.
@castroalves I thought it's about lobbying on social media. Am I wrong?
To be fair to those with smaller audiences, you may not lobby for votes via Twitter, etc.
@deiucanta I think you can't lobby anywhere. @taylorotwell is the best person to help with it.
@castroalves I just removed the link to the contest from my blog post, just to be on the safe side :)
@deiucanta totally agree 👍
@deiucanta Interesting proposal. I share the pain and am curious what some seasoned core contributors think about it.
@minthemiddle Thanks for the feedback! This is something that goes beyond the blog contest and I'm curious as well what they think about it.
@taylorotwell @themsaid @barryvdh @adamwathan @GrahamCampbell
I think the same problem will apply to #57, even though they don't have a direct link to the issue the article is about the contest so… it attracts people here. Tricky to set the limit though! ^^
I like the idea. We can then generate a migration directly from the model class.
The issue might be with versioning. Like if you, on a 2nd migration, need to change the fields... how would the migration know what to change given the first model fields structure that were defined earlier.
@laraning django framework makes the same idea , it generates the migrations from the model class , and if any changes happened on the model class , then we must execute this command in order to create a new migration with the changes
so i think if there's some sort of artisan command that reads the fields from model , and compare them to current database table columns , then generate migrations with only the changes , it would solve the problem , but not sure if there's a better solution .
https://medium.com/@deiucanta/make-laravel-fluent-again-with-smartfields-7d543e725365