Skip to content

Commit 702ce17

Browse files
committed
Explain how to drop the dev database
1 parent 975f7fb commit 702ce17

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dev.exs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ defmodule ErrorTrackerDev.Live do
101101
102102
<.link href="/dev/errors" target="_blank">Open the ErrorTracker dashboard</.link>
103103
104-
<h2>LiveView example</h2>
104+
<p>
105+
Errors are stored in the <code>priv/repo/dev.db</code>
106+
database, which is automatically created by this script.<br />
107+
If you want to clear the state stop the script, run the following command and start it again. <pre>rm priv/repo/dev.db priv/repo/dev.db-shm priv/repo/dev.db-wal</pre>
108+
</p>
109+
110+
<h2>LiveView examples</h2>
105111
106112
<ul>
107113
<li>

0 commit comments

Comments
 (0)