Skip to content

Commit

Permalink
Pref: add tips for database
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleChair committed Jul 9, 2024
1 parent bcaaad9 commit 141aaae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/web-server/initial/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ Check the data with:
SELECT * FROM `users`;
```

| uid | username | password |
| ----------- | ----------- | ----------- |
| 0000000000 | admin | 123456 |

{{< callout type="info" >}}
This record is needed for CRUD operations, since we have added `FOREIGN KEY` in `messages` table.
- Saving password without encryption is not recommended, you could add your it later.
- This record is needed for CRUD operations, since we have added `FOREIGN KEY` in `messages` table.
{{< /callout>}}

0 comments on commit 141aaae

Please sign in to comment.