I spent a couple of years playing and working with Drupal before actually joining drupal.org. It's been a fun ride!
It's things like this that you can find in facebook's js that makes me chuckle.
Leaving the headline to the side for a second, reading the article, it sounds like the point of the sermon is that it was sinful and he needed to be forgiven. He was using it as a teaching moment for how not to act / think. Even the best of is have dark thoughts, I think it takes a good person to says "I had this dark thought, it was wrong and I need to be forgiven"
I have lost count of the amount of times I google how to do something technical and google points me to someplace where I've answered the question in stack exchange, a forum or on my blog.
Is this what getting old feels like?
Writing this mostly as a note to myself.
I'm in the process of migrating nodes from three different Drupal sites into a new Drupal 8 site. Over the last day or so, I've been working on building out the Migration YML (Migration API FTW). Of course as I've been debugging I've been importing and rolling back migrations. Of course, as I do this, my starting NID is getting larger and larger. It was over after me test data nigrations. When the time comes for the final import of content, I want the first NID to be 1 (just for cleanliness sake).
In Drupal 7 the delete all module did this with a "--reset" flag but doesn't in D8. Here's the couple of lines of SQL code to reset the auto increment on the necessary tables:
ALTER TABLE `node` AUTO_INCREMENT=1; ALTER TABLE `node_revision` AUTO_INCREMENT=1; ALTER TABLE `node_field_data` AUTO_INCREMENT=1; ALTER TABLE `node_field_revision` AUTO_INCREMENT=1;
Make sure you DELETE all nodes before doing this, otherwise you are likely to cause data corruption down the line,
Share and Enjoy!
Job Ad for a Web Developer Position :
Must pass a testing for "110wpm typing with 98% accuracy".
You have no idea what a developer does, do you?
My Current Mood