forked from zanfranceschi/rinha-de-backend-2023-q3
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev): Rename plural People to unified singular Person
- Loading branch information
1 parent
615b344
commit 41c2021
Showing
7 changed files
with
54 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
APP_NAME=skeleton | ||
APP_NAME=rinha-de-backend | ||
APP_ENV=dev | ||
|
||
DB_DRIVER=mysql | ||
DB_HOST=localhost | ||
DB_PORT=3306 | ||
DB_DATABASE=hyperf | ||
DB_DATABASE=opencodeco | ||
DB_USERNAME=root | ||
DB_PASSWORD= | ||
DB_PASSWORD=opencodeco | ||
DB_CHARSET=utf8mb4 | ||
DB_COLLATION=utf8mb4_unicode_ci | ||
DB_PREFIX= | ||
|
||
REDIS_HOST=localhost | ||
REDIS_AUTH=(null) | ||
REDIS_PORT=6379 | ||
REDIS_DB=0 | ||
REDIS_DB=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: '3' | ||
services: | ||
db: | ||
container_name: rinha-de-backend-db | ||
image: mysql:8.1 | ||
command: --default-authentication-plugin=mysql_native_password | ||
environment: | ||
MYSQL_ROOT_PASSWORD: opencodeco | ||
MYSQL_DATABASE: opencodeco | ||
volumes: | ||
- ./migrations.sql:/docker-entrypoint-initdb.d/migrations.sql | ||
ports: | ||
- 3306:3306 | ||
|
||
networks: | ||
default: | ||
name: rinha-de-backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
create table person( | ||
id binary(16) primary key, | ||
nick varchar(32) not null, | ||
name varchar(100) not null, | ||
birth date not null, | ||
stack json | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters