|
|
il y a 4 ans | |
|---|---|---|
| migrations | il y a 5 ans | |
| models | il y a 5 ans | |
| .env.sample | il y a 5 ans | |
| .gitignore | il y a 5 ans | |
| README.md | il y a 5 ans | |
| docker-compose.yml | il y a 5 ans | |
| dump.sample.sql | il y a 5 ans | |
| helpers.js | il y a 4 ans | |
| index.js | il y a 5 ans | |
| package-lock.json | il y a 5 ans | |
| package.json | il y a 5 ans |
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