Skip to content

Commit

Permalink
Merge pull request #975 from parlemonde/david/2024-reset
Browse files Browse the repository at this point in the history
Reset database migrations and add initial file
  • Loading branch information
DavidRobertAnsart authored Aug 29, 2024
2 parents 8d38230 + 62624eb commit 3f1f764
Show file tree
Hide file tree
Showing 21 changed files with 225 additions and 971 deletions.
56 changes: 27 additions & 29 deletions docker-compose-windows.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
# services:
# mysql:
# image: mysql:8
# environment:
# - MYSQL_ROOT_PASSWORD=my-secret-pw
# healthcheck:
# test: [ 'CMD', 'mysqladmin', 'ping', '-h', 'localhost' ]
# timeout: 20s
# retries: 10
# ports:
# - '3306:3306'
# - '33060:33060'
# volumes:
# - ./.mysql-data:/var/lib/mysql
# minio:
# image: minio/minio
# ports:
# - '9000:9000'
# - '9090:9090'
# environment:
# - MINIO_ROOT_USER=minioadmin
# - MINIO_ROOT_PASSWORD=minioadmin
# - MINIO_ACCESS_KEY=minio
# - MINIO_SECRET_KEY=minio123
# volumes:
# - ./.minio-data:/data
# command: server --console-address ":9090" /data


services:
mysql:
image: mysql:8
environment:
- MYSQL_ROOT_PASSWORD=my-secret-pw
healthcheck:
test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost']
timeout: 20s
retries: 10
ports:
- '3306:3306'
- '33060:33060'
volumes:
- ./.mysql-data:/var/lib/mysql
minio:
image: minio/minio
ports:
- '9000:9000'
- '9090:9090'
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
- MINIO_ACCESS_KEY=minio
- MINIO_SECRET_KEY=minio123
volumes:
- ./.minio-data:/data
command: server --console-address ":9090" /data
72 changes: 0 additions & 72 deletions server/migrations/1675763011163-AlterGame.ts

This file was deleted.

24 changes: 0 additions & 24 deletions server/migrations/1675763051163-CreateClassroomTable.ts

This file was deleted.

21 changes: 0 additions & 21 deletions server/migrations/1675763075677-CreateStudentTable.ts

This file was deleted.

22 changes: 0 additions & 22 deletions server/migrations/1675763247781-CreateUserStudentTable.ts

This file was deleted.

48 changes: 0 additions & 48 deletions server/migrations/1675763496759-AlterActivityTable.ts

This file was deleted.

118 changes: 0 additions & 118 deletions server/migrations/1675763659256-AlterUserTable.ts

This file was deleted.

11 changes: 0 additions & 11 deletions server/migrations/1678113524215-alterToken.ts

This file was deleted.

Loading

0 comments on commit 3f1f764

Please sign in to comment.