Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
j db1612d8ea :bug: correctly parsing env vars for post_type and metakey il y a 4 ans
migrations :tada: first commit | more generic version il y a 5 ans
models :tada: first commit | more generic version il y a 5 ans
.env.sample :tada: first commit | more generic version il y a 5 ans
.gitignore :tada: first commit | more generic version il y a 5 ans
README.md :tada: first commit | more generic version il y a 5 ans
docker-compose.yml :tada: first commit | more generic version il y a 5 ans
dump.sample.sql :tada: first commit | more generic version il y a 5 ans
helpers.js :bug: correctly parsing env vars for post_type and metakey il y a 4 ans
index.js :tada: first commit | more generic version il y a 5 ans
package-lock.json :tada: first commit | more generic version il y a 5 ans
package.json :tada: first commit | more generic version il y a 5 ans

README.md

moving.co CLI

A CLI to move sql databases around.

:white_check_mark: Prerequisites

You will need…

Node.js 14+

:package: Installation

  1. Please enter your dB details in the .env.sample file, and rename to .env
  2. Add entries for the POST_TYPES you’re interested in
  3. Add any custom METAKEYS associated with your posts
  4. Start up the seed container using docker-compose up -d
  5. Load your dirty database docker exec -i scratch-mariadb mysql -uroot -proot --database=unclean < ./dump.sql

:electric_plug: Run

  1. Run npm get to grab data-models from your existing database
  2. Run npm run migrate to create tables from data-models in a temproary sqlite database

:robot: Deployment

TBD

:pill: Tests & Code Quality

TBD

:heart: Built With