# |
Dec 29th 2018, 12:41 |
admad |
though i prefer `git pull upstream --rebase` instead of merging |
# |
Dec 29th 2018, 12:41 |
admad |
yes |
# |
Dec 29th 2018, 12:40 |
birdy247 |
add the upstreat to the original project and then merge upstream/master? |
# |
Dec 29th 2018, 12:39 |
birdy247 |
@admad I have already forked this project sometime ago, I am wondering the best way to update it |
# |
Dec 29th 2018, 12:39 |
admad |
@birdy247 yes most likely likely you'll need a new config |
# |
Dec 29th 2018, 12:38 |
asdfgh |
THANKS |
# |
Dec 29th 2018, 12:38 |
asdfgh |
:D |
# |
Dec 29th 2018, 12:38 |
dereuromark |
^^ please read the beginner docs |
# |
Dec 29th 2018, 12:37 |
admad |
cake bake all |
# |
Dec 29th 2018, 12:36 |
asdfgh |
so if there is a magic command that bake the entire app will be better :D |
# |
Dec 29th 2018, 12:36 |
asdfgh |
i have more than 50 tables :D |
# |
Dec 29th 2018, 12:36 |
asdfgh |
dereuromark yes but i need to bake every single table? |
# |
Dec 29th 2018, 12:27 |
madbbb |
\Cake\I18n\FrozenDate::setToStringFormat('dd.MM.yyyy'); saved me. |
# |
Dec 29th 2018, 12:25 |
dereuromark |
its that easy |
# |
Dec 29th 2018, 12:25 |
dereuromark |
just connect the cake app to the db |
# |
Dec 29th 2018, 12:19 |
asdfgh |
guys ihave a model in mysqlworkbench now, how can i transform it for cake to let bake everything ? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
preserveCompositeKeyIndex? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
make it a config? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
@admad ok, but how would I solve the assumption of which keys to remove? |
# |
Dec 29th 2018, 11:56 |
admad |
i don't use composite keys hence dont care :slightly_smiling_face: You can make a PR if you have a proper fix without assumptions you mentioned |
# |
Dec 29th 2018, 11:45 |
birdy247 |
@admad ? |
# |
Dec 29th 2018, 11:45 |
birdy247 |
for anyone using the duplicatable plugin |
# |
Dec 29th 2018, 11:45 |
birdy247 |
https://github.com/riesenia/cakephp-duplicatable/issues/37 |
# |
Dec 29th 2018, 10:49 |
madbbb |
Hello. Need help with Form->control() helper method. When I pass frozen date property in it and set type of control to text I get input field with date in form 12.12.18 how can I make it to show full 4 digit year inside? |
# |
Dec 29th 2018, 09:47 |
asdfgh |
thanks |
# |
Dec 29th 2018, 09:47 |
asdfgh |
ok i try |
# |
Dec 29th 2018, 09:47 |
challgren |
¯\_(ツ)_/¯ |
# |
Dec 29th 2018, 09:32 |
asdfgh |
challgran do you think if i call it "assessments" cake cannot recognize the relathionship ? |
# |
Dec 29th 2018, 09:31 |
asdfgh |
thanks challgren |
# |
Dec 29th 2018, 09:21 |
challgren |
agent_job_assessments IMHO |
# |
Dec 29th 2018, 09:20 |
asdfgh |
which follow the cake conventions? |
# |
Dec 29th 2018, 09:19 |
asdfgh |
agents_jobs_assessments or agent_job_assessments or agent_jobs_assessments |
# |
Dec 29th 2018, 09:19 |
asdfgh |
what name should i use? |
# |
Dec 29th 2018, 09:19 |
asdfgh |
i have these tables: agents, jobs, agents_jobs now i have to create something like agents_jobs_assessments so basically i table that is pointing to the PK of the agents_jobs table |
# |
Dec 29th 2018, 09:19 |
asdfgh |
hello |
# |
Dec 29th 2018, 08:18 |
admad |
there are plenty of examples in the test cases of the PR :slightly_smiling_face: |
# |
Dec 29th 2018, 08:16 |
admad |
as for allow empty read the code of the PR for e.g. ->notEmpty('title')` would be changed to `->allowEmptyString('title', false)` |
# |
Dec 29th 2018, 08:14 |
admad |
"and hasRendered is still used in render() call" no it's not in 4.x |
# |
Dec 29th 2018, 05:05 |
NickBusey |
Thanks :) |
# |
Dec 29th 2018, 04:58 |
challgren |
Good luck with your brewing and app! |
# |
Dec 29th 2018, 04:57 |
challgren |
Ahh that would be it! |