Updated Migrating from MariaDB (MySQL) to SQLite (markdown)

Mathijs van Veluw
2021-10-22 18:17:57 +02:00
parent 0e35a80739
commit 7501f98b2b

@@ -40,8 +40,8 @@ mysqldump \
--hex-blob \
--skip-quote-names <database> \
| grep "^INSERT INTO" | grep -v "__diesel_schema_migrations" \
| sed 's#\\"#"#g' \
| sed -sE "s#,0x([^,]*)#,X'\L\1'#g" \
| sed 's#\\"#"#gm' \
| sed -sE "s#,0x([^,]*)#,X'\L\1'#gm" \
> mysql-to-sqlite.sql
```