Skip to content

Commit 7063a10

Browse files
committed
Automated deployment: Wed Sep 24 07:26:16 UTC 2025 0.2.3
1 parent 29fbdb4 commit 7063a10

File tree

5 files changed

+58
-62
lines changed

5 files changed

+58
-62
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,5 +706,5 @@ <h5 class="modal-title">Search</h5>
706706

707707
<!--
708708
MkDocs version : 1.6.1
709-
Build Date UTC : 2025-09-11 10:25:22.572249+00:00
709+
Build Date UTC : 2025-09-24 07:26:15.795813+00:00
710710
-->

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,146 +2,146 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://docs.dotkernel.org/admin-documentation/</loc>
5-
<lastmod>2025-09-11</lastmod>
5+
<lastmod>2025-09-24</lastmod>
66
</url>
77
<url>
88
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/authorization/</loc>
9-
<lastmod>2025-09-11</lastmod>
9+
<lastmod>2025-09-24</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/creating-fixtures/</loc>
13-
<lastmod>2025-09-11</lastmod>
13+
<lastmod>2025-09-24</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/creating-migrations/</loc>
17-
<lastmod>2025-09-11</lastmod>
17+
<lastmod>2025-09-24</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/csrf/</loc>
21-
<lastmod>2025-09-11</lastmod>
21+
<lastmod>2025-09-24</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/dependency-injection/</loc>
25-
<lastmod>2025-09-11</lastmod>
25+
<lastmod>2025-09-24</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://docs.dotkernel.org/admin-documentation/v5/how-to/npm_commands/</loc>
29-
<lastmod>2025-09-11</lastmod>
29+
<lastmod>2025-09-24</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/composer/</loc>
33-
<lastmod>2025-09-11</lastmod>
33+
<lastmod>2025-09-24</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/configuration-files/</loc>
37-
<lastmod>2025-09-11</lastmod>
37+
<lastmod>2025-09-24</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/doctrine-orm/</loc>
41-
<lastmod>2025-09-11</lastmod>
41+
<lastmod>2025-09-24</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/getting-started/</loc>
45-
<lastmod>2025-09-11</lastmod>
45+
<lastmod>2025-09-24</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/installation-intro/</loc>
49-
<lastmod>2025-09-11</lastmod>
49+
<lastmod>2025-09-24</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/manage-geolite2/</loc>
53-
<lastmod>2025-09-11</lastmod>
53+
<lastmod>2025-09-24</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://docs.dotkernel.org/admin-documentation/v5/installation/test-the-installation/</loc>
57-
<lastmod>2025-09-11</lastmod>
57+
<lastmod>2025-09-24</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://docs.dotkernel.org/admin-documentation/v5/introduction/file-structure/</loc>
61-
<lastmod>2025-09-11</lastmod>
61+
<lastmod>2025-09-24</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://docs.dotkernel.org/admin-documentation/v5/introduction/introduction/</loc>
65-
<lastmod>2025-09-11</lastmod>
65+
<lastmod>2025-09-24</lastmod>
6666
</url>
6767
<url>
6868
<loc>https://docs.dotkernel.org/admin-documentation/v5/introduction/packages/</loc>
69-
<lastmod>2025-09-11</lastmod>
69+
<lastmod>2025-09-24</lastmod>
7070
</url>
7171
<url>
7272
<loc>https://docs.dotkernel.org/admin-documentation/v5/introduction/server-requirements/</loc>
73-
<lastmod>2025-09-11</lastmod>
73+
<lastmod>2025-09-24</lastmod>
7474
</url>
7575
<url>
7676
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/authorization/</loc>
77-
<lastmod>2025-09-11</lastmod>
77+
<lastmod>2025-09-24</lastmod>
7878
</url>
7979
<url>
8080
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/creating-fixtures/</loc>
81-
<lastmod>2025-09-11</lastmod>
81+
<lastmod>2025-09-24</lastmod>
8282
</url>
8383
<url>
8484
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/creating-migrations/</loc>
85-
<lastmod>2025-09-11</lastmod>
85+
<lastmod>2025-09-24</lastmod>
8686
</url>
8787
<url>
8888
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/csrf/</loc>
89-
<lastmod>2025-09-11</lastmod>
89+
<lastmod>2025-09-24</lastmod>
9090
</url>
9191
<url>
9292
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/dependency-injection/</loc>
93-
<lastmod>2025-09-11</lastmod>
93+
<lastmod>2025-09-24</lastmod>
9494
</url>
9595
<url>
9696
<loc>https://docs.dotkernel.org/admin-documentation/v6/how-to/npm_commands/</loc>
97-
<lastmod>2025-09-11</lastmod>
97+
<lastmod>2025-09-24</lastmod>
9898
</url>
9999
<url>
100100
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/composer/</loc>
101-
<lastmod>2025-09-11</lastmod>
101+
<lastmod>2025-09-24</lastmod>
102102
</url>
103103
<url>
104104
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/configuration-files/</loc>
105-
<lastmod>2025-09-11</lastmod>
105+
<lastmod>2025-09-24</lastmod>
106106
</url>
107107
<url>
108108
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/doctrine-orm/</loc>
109-
<lastmod>2025-09-11</lastmod>
109+
<lastmod>2025-09-24</lastmod>
110110
</url>
111111
<url>
112112
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/getting-started/</loc>
113-
<lastmod>2025-09-11</lastmod>
113+
<lastmod>2025-09-24</lastmod>
114114
</url>
115115
<url>
116116
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/installation-intro/</loc>
117-
<lastmod>2025-09-11</lastmod>
117+
<lastmod>2025-09-24</lastmod>
118118
</url>
119119
<url>
120120
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/manage-geolite2/</loc>
121-
<lastmod>2025-09-11</lastmod>
121+
<lastmod>2025-09-24</lastmod>
122122
</url>
123123
<url>
124124
<loc>https://docs.dotkernel.org/admin-documentation/v6/installation/test-the-installation/</loc>
125-
<lastmod>2025-09-11</lastmod>
125+
<lastmod>2025-09-24</lastmod>
126126
</url>
127127
<url>
128128
<loc>https://docs.dotkernel.org/admin-documentation/v6/introduction/file-structure/</loc>
129-
<lastmod>2025-09-11</lastmod>
129+
<lastmod>2025-09-24</lastmod>
130130
</url>
131131
<url>
132132
<loc>https://docs.dotkernel.org/admin-documentation/v6/introduction/introduction/</loc>
133-
<lastmod>2025-09-11</lastmod>
133+
<lastmod>2025-09-24</lastmod>
134134
</url>
135135
<url>
136136
<loc>https://docs.dotkernel.org/admin-documentation/v6/introduction/packages/</loc>
137-
<lastmod>2025-09-11</lastmod>
137+
<lastmod>2025-09-24</lastmod>
138138
</url>
139139
<url>
140140
<loc>https://docs.dotkernel.org/admin-documentation/v6/introduction/server-requirements/</loc>
141-
<lastmod>2025-09-11</lastmod>
141+
<lastmod>2025-09-24</lastmod>
142142
</url>
143143
<url>
144144
<loc>https://docs.dotkernel.org/admin-documentation/v6/tutorials/create-book-module-via-dot-maker/</loc>
145-
<lastmod>2025-09-11</lastmod>
145+
<lastmod>2025-09-24</lastmod>
146146
</url>
147147
</urlset>

sitemap.xml.gz

0 Bytes
Binary file not shown.

v6/installation/doctrine-orm/index.html

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -504,14 +504,6 @@ <h6 class="toc__headline">On this page</h6>
504504
<a href="#setup-database" class="toc__link nav-link">Setup database</a>
505505
</li>
506506

507-
<li class="toc__entry">
508-
<a href="#running-migrations" class="toc__link nav-link">Running migrations</a>
509-
</li>
510-
511-
<li class="toc__entry">
512-
<a href="#fixtures" class="toc__link nav-link">Fixtures</a>
513-
</li>
514-
515507
</ul>
516508
</div>
517509

@@ -534,12 +526,9 @@ <h1 id="doctrine-orm">Doctrine ORM</h1>
534526
<p>This step saves the database connection credentials in an Admin configuration file.
535527
We do not cover the creation steps of the database itself.</p>
536528
<h2 id="setup-database">Setup database</h2>
537-
<p>Create a new MySQL database and set its collation to <code>utf8mb4_general_ci</code>.</p>
529+
<p>Create a new <strong>MariaDB</strong>/<strong>MySQL</strong> database and set its collation to <code>utf8mb4_general_ci</code>.</p>
538530
<p>Make sure you fill out the database credentials in <code>config/autoload/local.php</code> under <code>$databases['default']</code>.
539-
Below is the item you need to focus on.</p>
540-
<blockquote>
541-
<p><code>my_database</code>, <code>my_user</code>, <code>my_password</code> are provided only as an example.</p>
542-
</blockquote>
531+
Below is the item you need to focus on:</p>
543532
<pre class="highlight"><code class="language-php">$databases = [
544533
'default' =&gt; [
545534
'host' =&gt; 'localhost',
@@ -553,26 +542,33 @@ <h2 id="setup-database">Setup database</h2>
553542
],
554543
// you can add more database connections into this array
555544
];</code></pre>
556-
<h2 id="running-migrations">Running migrations</h2>
557-
<p>Run the database migrations by using the following command:</p>
545+
<blockquote>
546+
<p><code>my_database</code>, <code>my_user</code>, <code>my_password</code> are provided only as an example.</p>
547+
</blockquote>
548+
<h3 id="creating-migrations">Creating migrations</h3>
549+
<p>Create a database migration by executing the following command:</p>
550+
<pre class="highlight"><code class="language-shell">php ./vendor/bin/doctrine-migrations diff</code></pre>
551+
<p>The new migration file will be placed in <code>src/Core/src/App/src/Migration/</code>.</p>
552+
<h3 id="running-migrations">Running migrations</h3>
553+
<p>Run the database migrations by executing the following command:</p>
558554
<pre class="highlight"><code class="language-shell">php ./vendor/bin/doctrine-migrations migrate</code></pre>
559555
<blockquote>
560-
<p>If you have already run the migrations, you may get this message.
561-
You should double-check to make sure the new migrations are ok to run.</p>
556+
<p>If you have already run the migrations, you may get the below message:</p>
562557
</blockquote>
563558
<pre class="highlight"><code class="language-text">WARNING! You have x previously executed migrations in the database that are not registered migrations.
564559
{migration list}
565560
Are you sure you wish to continue? (y/n)</code></pre>
566-
<p>When using an empty database, you will get this confirmation message instead.</p>
561+
<blockquote>
562+
<p>In this case, you should double-check to make sure the new migrations are ok to run.</p>
563+
</blockquote>
564+
<p>When using an empty database, you will get this confirmation message:</p>
567565
<pre class="highlight"><code class="language-text">WARNING! You are about to execute a migration in database "&lt;your_database_name&gt;" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no)</code></pre>
568-
<p>Again, submit <code>y</code> to run all the migrations in chronological order.
566+
<p>Hit <code>Enter</code> to confirm the operation.
567+
This will run all the migrations in chronological order.
569568
Each migration will be logged in the <code>migrations</code> table to prevent running the same migration more than once, which is often not desirable.</p>
570569
<p>If everything ran correctly, you will get this confirmation.</p>
571-
<pre class="highlight"><code class="language-text">[OK] Successfully migrated to version: Core\App\Migration\Version20250407142911</code></pre>
572-
<blockquote>
573-
<p>The migration name <code>Version20250407142911</code> may differ in future Admin updates.</p>
574-
</blockquote>
575-
<h2 id="fixtures">Fixtures</h2>
570+
<pre class="highlight"><code class="language-text">[OK] Successfully migrated to version: Core\App\Migration\VersionYYYYMMDDHHMMSS</code></pre>
571+
<h3 id="fixtures">Fixtures</h3>
576572
<p>Run this command to populate the admin tables with the default values:</p>
577573
<pre class="highlight"><code class="language-shell">php ./bin/doctrine fixtures:execute</code></pre>
578574
<p>You should see our galloping horse in the command line.</p>

0 commit comments

Comments
 (0)