Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

Commit d383eab

Browse files
committed
THE CHOSEN ONE
1 parent 365ceda commit d383eab

6 files changed

Lines changed: 4 additions & 26 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MYSQL_HOST=mysql
2-
MYSQL_DATABASE=
2+
MYSQL_DATABASE=wonka_db
33
MYSQL_USER=
44
MYSQL_PASSWORD=
55
MYSQL_ROOT_PASSWORD=

db/init/01_schema.sql

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
1-
CREATE DATABASE IF NOT EXISTS test_db;
2-
USE test_db;
3-
4-
CREATE TABLE users (
5-
id INT AUTO_INCREMENT PRIMARY KEY,
6-
name VARCHAR(100) NOT NULL,
7-
email VARCHAR(100) UNIQUE NOT NULL,
8-
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
9-
);
10-
11-
CREATE TABLE products (
12-
id INT AUTO_INCREMENT PRIMARY KEY,
13-
name VARCHAR(100) NOT NULL,
14-
price DECIMAL(10,2) NOT NULL
15-
);
1+
CREATE DATABASE IF NOT EXISTS wonka_db;
2+
USE wonka_db;

db/init/02_seed.sql

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
USE test_db;
2-
3-
INSERT INTO users (name, email) VALUES
4-
('Alice', 'alice@example.com'),
5-
('Bob', 'bob@example.com');
6-
7-
INSERT INTO products (name, price) VALUES
8-
('Widget A', 9.99),
9-
('Widget B', 19.99);
1+
/*USE wonka_db;*/

src/info.php

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/resources/test.jpg

889 KB
Loading

src/style/style.css

Whitespace-only changes.

0 commit comments

Comments
 (0)