Log message #4181738

# At Username Text
# Apr 1st 2019, 23:34 challgren Then just bake your own migration that will include that table
# Apr 1st 2019, 23:34 abdualelah.mdy thank you <3
# Apr 1st 2019, 23:33 challgren Here’s the create statement
# Apr 1st 2019, 23:33 challgren 1 Min I’ll pull mine up
# Apr 1st 2019, 23:31 abdualelah.mdy can I have the table structure to set manually ?
# Apr 1st 2019, 23:29 abdualelah.mdy I used the above command but it stops at users table because it is already there
# Apr 1st 2019, 23:28 abdualelah.mdy I have the users and it is working(for login and registration ). but I don't know social structure ( i need for facebook and google login)
# Apr 1st 2019, 23:25 challgren even if you dont use social
# Apr 1st 2019, 23:25 challgren Yeah you need both users and social
# Apr 1st 2019, 23:25 abdualelah.mdy in need social table
# Apr 1st 2019, 23:24 challgren No, I use CakeDC/Users and I use my tables instead of the provided ones
# Apr 1st 2019, 23:24 flashios09 why ? honestly, for me the `.ctp` extension makes more sense - `.php` -> this is a regular php file - `.ctp` -> this is a template file even with editor, search for template is more easy with `.ctp` extension another question, what about debugkit ? is it compatible with cake4 ? now i’m playing a little bit with it but i don’t have the debugkit toolbar ! i don’t have any error
# Apr 1st 2019, 23:22 abdualelah.mdy bin/cake migrations migrate -p CakeDC/Users -> can i choose what table to migrate ?
# Apr 1st 2019, 23:18 markstory That’s correct.
# Apr 1st 2019, 22:28 challgren https://book.cakephp.org/3.0/en/core-libraries/email.html#configuring-transports
# Apr 1st 2019, 22:19 abdualelah.mdy how to connect to mail server using STARTTLS ?
# Apr 1st 2019, 21:31 challgren https://book.cakephp.org/3.0/en/development/testing.html#test-database-setup
# Apr 1st 2019, 21:31 challgren https://book.cakephp.org/3.0/en/development/testing.html#fixtures
# Apr 1st 2019, 21:30 challgren Test tables are done via fixtures
# Apr 1st 2019, 21:04 numeo hello. i am struggling to find a way to set the migration_table (phinxlog) per environment. i saw configuration examples where test_ was set as the prefix for a given environment, and presumably you need a different phinxlog for the test tables
# Apr 1st 2019, 20:31 flashios09 hi @markstory, in cake4 we will use `.php` instead of `.ctp` for template files ?
# Apr 1st 2019, 20:30 flashios09 hi
# Apr 1st 2019, 20:30 slackebot2 <abdualelah.mdy>
# Apr 1st 2019, 20:28 slackebot2 <abdualelah.mdy>
# Apr 1st 2019, 20:26 abdualelah.mdy I don't want to use php.ini
# Apr 1st 2019, 20:25 abdualelah.mdy how to fix this :thinking_face:
# Apr 1st 2019, 20:25 abdualelah.mdy I did set the transport using transport('default')
# Apr 1st 2019, 20:24 abdualelah.mdy 'Could not send email: mail(): Failed to connect to mailserver at andquot;localhostandquot; port 25, verify your andquot;SMTPandquot; and andquot;smtp_portandquot; setting in php.ini or use ini_set()'
# Apr 1st 2019, 20:23 abdualelah.mdy I have a problem with sending email . it uses smtp informtion from php.ini
# Apr 1st 2019, 20:22 abdualelah.mdy im using cakedc/users
# Apr 1st 2019, 20:22 abdualelah.mdy hello
# Apr 1st 2019, 19:06 etipaced Is there a way to configure a plugin to always use a define table prefix (for baking migrations, etc.)?
# Apr 1st 2019, 18:50 etipaced Also, if you’re migrating from a legacy app, consider storing the legacy id in a separate column, and using fresh ids as primary in the new app. Something like `legacy_id`, etc. Unless they really do need to be identical.
# Apr 1st 2019, 18:49 etipaced Interesting, I’ve not seen that before.
# Apr 1st 2019, 18:41 ricksaccous since i probably don't need hydration
# Apr 1st 2019, 18:41 ricksaccous but funnily enough the thing you linked could be useful
# Apr 1st 2019, 18:41 ricksaccous no i think i want this https://book.cakephp.org/3.0/en/orm/query-builder.html#inserting-data
# Apr 1st 2019, 18:40 etipaced @ricksaccous Something like this? https://book.cakephp.org/3.0/en/orm/query-builder.html#getting-arrays-instead-of-entities
# Apr 1st 2019, 18:35 ricksaccous ie i'm importing data from another db and i want to preserve the ids
# Apr 1st 2019, 18:35 ricksaccous what's the best way to insert a bunch of rows in cake without entity hydration?
# Apr 1st 2019, 18:34 ricksaccous remove the register/applymiddleware lines