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