Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion public/md-pages/wsl2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

| | |
Expand Down
6 changes: 3 additions & 3 deletions src/App/src/Fixture/articles_cleaned.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CURRENT_TIMESTAMP is also a solution for  <em>updating </em>date and time field
<li>With no <code>DEFAULT</code> clause and with an <code>ON UPDATE CURRENT_TIMESTAMP</code> clause, the column has a default of 0 and is automatically updated.</li>
<li>With a constant <code>DEFAULT</code> value, the column has the given default and is not automatically initialized to the current timestamp. If the column also has an <code>ON UPDATE CURRENT_TIMESTAMP</code> clause, it is automatically updated; otherwise, it has a constant default and is not automatically updated.</li>
</ul>
For more details check out <a href="https://dev.mysql.com/doc/refman/8.0/en/timestamp.html">MySQL Manual</a>
For more details check out <a href="https://dev.mysql.com/doc/refman/9.7/en/datetime.html">MySQL Manual</a>

<strong>Note*:</strong> Only one timestamp field can be <code>DEFAULT CURRENT_TIMESTAMP</code> in a table.

Expand Down
2 changes: 1 addition & 1 deletion src/Page/templates/page/wsl2.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
phpMyAdmin, and every project gets its own <code>*.localhost</code> virtualhost without touching a hosts file.
</p>
<div class="hero-ctas">
<a class="btn btn-primary" href="https://docs.dotkernel.org/development/v2/" target="_blank" rel="noopener">
<a class="btn btn-primary" href="https://docs.dotkernel.org/development/v2/terminal/" target="_blank" rel="noopener">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
Read the docs
</a>
Expand Down