|
|
vor 4 Jahren | |
|---|---|---|
| migrations | vor 5 Jahren | |
| models | vor 5 Jahren | |
| .env.sample | vor 5 Jahren | |
| .gitignore | vor 5 Jahren | |
| README.md | vor 5 Jahren | |
| docker-compose.yml | vor 5 Jahren | |
| dump.sample.sql | vor 5 Jahren | |
| helpers.js | vor 4 Jahren | |
| index.js | vor 5 Jahren | |
| package-lock.json | vor 5 Jahren | |
| package.json | vor 5 Jahren |
A CLI to move sql databases around.
You will need…
brew install node using Homebrewapt install nodejs (see Ubuntu/Debian specific instructions) or pacman -S nodejs (Arch Linux).env.sample file, and rename to .envPOST_TYPES you’re interested inMETAKEYS associated with your postsdocker-compose up -ddocker exec -i scratch-mariadb mysql -uroot -proot --database=unclean < ./dump.sqlnpm get to grab data-models from your existing databasenpm run migrate to create tables from data-models in a temproary sqlite databaseTBD
TBD