From e71134d832bb1fae7ae096c3921608ab4cae7743 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Tue, 1 Jul 2025 16:51:59 +0200 Subject: [PATCH] refactor README to simplify SQL table creation instructions --- README.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index c7d39a6..390fbfa 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,5 @@ This is an app which I am currently working on... ('test1', 'John', 'Doe', 'jdoe@example.com', '1test'), ('test2', 'Alice', 'Smith', 'asmith@example.com', '2test'); ``` -7. For that, just paste this command in the mysql command line: - ``` sql - CREATE TABLE users ( - id INT PRIMARY KEY AUTO_INCREMENT, - username VARCHAR(50) NOT NULL UNIQUE, - first_name VARCHAR(50) NOT NULL, - last_name VARCHAR(50) NOT NULL, - email VARCHAR(100) NOT NULL UNIQUE, - password VARCHAR(255) NOT NULL, - created TIMESTAMP NOT NULL DEFAULT NOW() - ); - ``` +7. For that, just paste the command shown above in the mysql command line. 8. If you are confident with sql you can change the mock data, and create your own user. \ No newline at end of file