Skip to content

Instantly share code, notes, and snippets.

View thommyhh's full-sized avatar

Thorben Nissen thommyhh

View GitHub Profile
@rfay
rfay / convert-old-db.sh
Created August 18, 2022 23:20
Convert a pre-v1.19.0 in-volume database marker to current usage
#!/bin/bash
# convert the marker on an old pre-ddev v1.19 database to current usage
# See issue at https://github.com/drud/ddev/issues/4129
# First argument should be the project name
# Second argument is the correct value you want, for example,
# mariadb_10.2 or mysql_8.0
# Example: bash convert-old-db.sh fe-kuerschnersmart mariadb_10.2
if [ $# != 2 ]; then