Skip to content

Commit 78868b5

Browse files
Merge pull request #46 from serlo/run-db-migrations.2.0.2
Run DB-migrations for 2.0.2
2 parents 89783f6 + ec342cf commit 78868b5

File tree

5 files changed

+9
-904
lines changed

5 files changed

+9
-904
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sql filter=lfs diff=lfs merge=lfs -text

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ This repository contains a custom `mysql` docker image. Changes we have made:
77
- The command line tool `pv` is available as well. It provides a progress bar
88
when a `.sql` file is imported. Usage: `pv file.sql | serlo-mysql`
99

10+
## Requirements
11+
- Docker
12+
- [Git LFS](https://github.com/git-lfs/git-lfs)
13+
1014
## Change DB via migrations
1115

1216
In order to change the DB image via DB migrations do the following:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
2.0.0

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.9'
2-
31
services:
42
mysql:
53
build:

docker-entrypoint-initdb.d/001-init.sql

Lines changed: 3 additions & 901 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)