diff --git a/public/md-articles/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.md b/public/md-articles/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.md index 3cd79671..7cc4a590 100644 --- a/public/md-articles/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.md +++ b/public/md-articles/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.md @@ -45,7 +45,7 @@ DEFAULT and ON UPDATE clauses can be used together or separately, depending on y - With a constant `DEFAULT` value, the column has the given default and is not automatically initialized to the current timestamp. If the column also has an `ON UPDATE CURRENT_TIMESTAMP` clause, it is automatically updated; otherwise, it has a constant default and is not automatically updated. -For more details, check out the [MySQL Manual](https://dev.mysql.com/doc/refman/8.0/en/timestamp.html). +For more details, check out the [MySQL Manual](https://dev.mysql.com/doc/refman/9.7/en/datetime.html). Note: only one timestamp field can be `DEFAULT CURRENT_TIMESTAMP` in a table. diff --git a/public/md-articles/licensing/mit-versus-lgpl-in-practice-dotkernel-case.md b/public/md-articles/licensing/mit-versus-lgpl-in-practice-dotkernel-case.md index f3c6a29b..f197e9fb 100644 --- a/public/md-articles/licensing/mit-versus-lgpl-in-practice-dotkernel-case.md +++ b/public/md-articles/licensing/mit-versus-lgpl-in-practice-dotkernel-case.md @@ -62,7 +62,7 @@ Dotkernel will not include the package in its applications by default while it l ## Resources -- [LGPL v3 license](https://www.gnu.org/licenses/lgpl-3.0.en.html) +- [LGPL v3 license](https://opensource.org/license/lgpl-3-0) - [MIT license](https://opensource.org/license/mit) - [matomo/device-detector](https://github.com/matomo-org/device-detector) - [dotkernel/dot-user-agent-sniffer](https://github.com/dotkernel/dot-user-agent-sniffer) diff --git a/public/md-pages/wsl2.md b/public/md-pages/wsl2.md index 7a8aa171..c9481c23 100644 --- a/public/md-pages/wsl2.md +++ b/public/md-pages/wsl2.md @@ -12,7 +12,7 @@ Development environment · AlmaLinux 10 · WSL2 Dotkernel's local environment runs AlmaLinux 10 - inside WSL 2 on Windows, or on bare metal with no WSL at all. One Ansible playbook installs PHP, Apache, MariaDB, Composer, Node.js and phpMyAdmin, and every project gets its own `*.localhost` virtualhost without touching a hosts file. -- [Read the docs](https://docs.dotkernel.org/development/v2/) +- [Read the docs](https://docs.dotkernel.org/development/v2/terminal/) - [View on GitHub](https://github.com/dotkernel/development/tree/alma-linux-10) | | | diff --git a/src/App/src/Fixture/articles_cleaned.json b/src/App/src/Fixture/articles_cleaned.json index 2e6e1704..7308a532 100644 --- a/src/App/src/Fixture/articles_cleaned.json +++ b/src/App/src/Fixture/articles_cleaned.json @@ -2086,7 +2086,7 @@ "post_date": "2022-07-27 09:11:49", "post_status": "publish", "author": { - "display_name": "kakapiciu", + "display_name": "SergiuB", "github": "kakapiciu" }, "isObsolete": false, @@ -2100,7 +2100,7 @@ "post_date": "2023-03-29 10:59:39", "post_status": "publish", "author": { - "display_name": "kakapiciu", + "display_name": "SergiuB", "github": "kakapiciu" }, "isObsolete": false, @@ -2555,7 +2555,7 @@ "post_date": "2022-11-07 10:37:56", "post_status": "publish", "author": { - "display_name": "kakapiciu", + "display_name": "SergiuB", "github": "kakapiciu" }, "isObsolete": false, diff --git a/src/Blog/templates/page/blog-resource/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.html.twig b/src/Blog/templates/page/blog-resource/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.html.twig index d4a8236e..bf33eca3 100644 --- a/src/Blog/templates/page/blog-resource/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.html.twig +++ b/src/Blog/templates/page/blog-resource/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.html.twig @@ -16,7 +16,7 @@ CURRENT_TIMESTAMP is also a solution for updating date and time field
DEFAULT clause and with an ON UPDATE CURRENT_TIMESTAMP clause, the column has a default of 0 and is automatically updated.DEFAULT value, the column has the given default and is not automatically initialized to the current timestamp. If the column also has an ON UPDATE CURRENT_TIMESTAMP clause, it is automatically updated; otherwise, it has a constant default and is not automatically updated.DEFAULT CURRENT_TIMESTAMP in a table.
diff --git a/src/Page/templates/page/wsl2.html.twig b/src/Page/templates/page/wsl2.html.twig
index 2e4429db..1136b092 100644
--- a/src/Page/templates/page/wsl2.html.twig
+++ b/src/Page/templates/page/wsl2.html.twig
@@ -52,7 +52,7 @@
phpMyAdmin, and every project gets its own *.localhost virtualhost without touching a hosts file.