Log message #4124038

# At Username Text
# Mar 12th 2018, 11:47 neon1024 Sure, you can see the edge of the cliff, but you wouldn’t run off it without a good reason
# Mar 12th 2018, 11:47 birdy247 its all about adding
# Mar 12th 2018, 11:46 birdy247 I have had a look at the rules checker
# Mar 12th 2018, 11:46 birdy247 @neon1024 I can see how to remove it though
# Mar 12th 2018, 11:46 neon1024 @dereuromark I believe there is a ticket open for that
# Mar 12th 2018, 11:46 joddit But you want to force pass a rule no?
# Mar 12th 2018, 11:46 neon1024 Although I rules are for data integrity, so if you want to remove one, I’d stop and think why
# Mar 12th 2018, 11:45 dereuromark Is anyone planning to make migrations upgrade to phinx 0.9.*? That would be super awesome
# Mar 12th 2018, 11:45 neon1024 As marshalling is for validating request data
# Mar 12th 2018, 11:45 joddit I think you can whitelist it?
# Mar 12th 2018, 11:45 neon1024 You’ll want to modify it in beforeSave
# Mar 12th 2018, 11:45 birdy247 How can I remove the rule from there?
# Mar 12th 2018, 11:44 joddit Use beforemarshal
# Mar 12th 2018, 11:44 joddit https://book.cakephp.org/3.0/en/orm/saving-data.html#modifying-request-data-before-building-entities
# Mar 12th 2018, 11:43 birdy247 Is it possible to remove a specific rule before a saveOperation?
# Mar 12th 2018, 11:42 dorxy in case you're interested in my issue: https://github.com/cakephp/migrations/issues/353
# Mar 12th 2018, 11:28 neon1024 Good idea :slightly_smiling_face:
# Mar 12th 2018, 11:28 dorxy but perhaps it's best to create an issue on github for this, since I believe it might be a bug
# Mar 12th 2018, 11:28 neon1024 Probably best to just ask an open question to the community I would think then
# Mar 12th 2018, 11:28 dorxy yeah I was hoping I wouldn't have to cross reference online slack with the contributors ;)
# Mar 12th 2018, 11:27 neon1024 Or you could just ask the community
# Mar 12th 2018, 11:27 neon1024 I’d reckon some of these people, https://github.com/cakephp/migrations/graphs/contributors
# Mar 12th 2018, 11:27 dorxy hi! anyone here who has in-depth knowledge about the migrations plugin?
# Mar 12th 2018, 11:22 joddit Hi
# Mar 12th 2018, 11:22 mansi helllo
# Mar 12th 2018, 10:33 joddit Here is a plugin that may be useful https://github.com/dereuromark/cakephp-queue
# Mar 12th 2018, 10:28 joddit Or Scheduler
# Mar 12th 2018, 10:27 joddit If system is Linux, I would use batch
# Mar 12th 2018, 10:26 pjadhav how to create and handle Queue on system side with Throttle
# Mar 12th 2018, 10:22 joddit Ok
# Mar 12th 2018, 10:22 joddit If it's working you will see "WHERE player IS NULL"
# Mar 12th 2018, 10:22 turkles I am doing this in a shell :S but yes it is working great
# Mar 12th 2018, 10:21 joddit Depending on your query, check the SQL in your debug kit
# Mar 12th 2018, 10:21 turkles Ah, ok I will try thanks
# Mar 12th 2018, 10:21 joddit 'player IS' => NULL
# Mar 12th 2018, 10:21 joddit not equal
# Mar 12th 2018, 10:21 joddit Use IS clause
# Mar 12th 2018, 10:20 turkles what is best way to find rows where a value is null? I tried where(['player' => null])->limit(5) and got a syntax error: syntax to use near 'NULL LIMIT 5'
# Mar 12th 2018, 10:17 joddit And interact with that via cake
# Mar 12th 2018, 10:17 joddit I would handle the queue on the system side
# Mar 12th 2018, 10:16 pjadhav or component