Update .gitlab-ci.yml delete old table name exercise_types
This commit is contained in:
parent
afa3042e7c
commit
a5e560f78e
@ -43,7 +43,7 @@ connect:
|
||||
script:
|
||||
- apt-get update && apt-get --assume-yes install mysql-client
|
||||
- mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql -e "use $MYSQL_DATABASE; show tables;"
|
||||
- mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql -e "use $MYSQL_DATABASE; DROP table customer; DROP table exercises; DROP table exercise_type; DROP table exercise_ages;"
|
||||
- mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql -e "use $MYSQL_DATABASE; DROP table customer; DROP table exercises; DROP table exercise_types; DROP table exercise_ages;"
|
||||
- mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql < "data/db/install.sql" #first time
|
||||
|
||||
test:
|
||||
|
Loading…
Reference in New Issue
Block a user