mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 09:49:20 -07:00
Updated Migrating from MariaDB (MySQL) to SQLite (markdown)
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user