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