mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-11 12:32:22 +01:00
Updated Migrating from MariaDB (MySQL) to SQLite (markdown)
parent
0e35a80739
commit
7501f98b2b
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ mysqldump \
|
||||||
--hex-blob \
|
--hex-blob \
|
||||||
--skip-quote-names <database> \
|
--skip-quote-names <database> \
|
||||||
| grep "^INSERT INTO" | grep -v "__diesel_schema_migrations" \
|
| grep "^INSERT INTO" | grep -v "__diesel_schema_migrations" \
|
||||||
| sed 's#\\"#"#g' \
|
| sed 's#\\"#"#gm' \
|
||||||
| sed -sE "s#,0x([^,]*)#,X'\L\1'#g" \
|
| sed -sE "s#,0x([^,]*)#,X'\L\1'#gm" \
|
||||||
> mysql-to-sqlite.sql
|
> mysql-to-sqlite.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue