N
N
Nikita Neskuchaev2018-04-17 17:09:30
Node.js
Nikita Neskuchaev, 2018-04-17 17:09:30

Is it possible to collect a "snapshot" of the database state on sequalize?

In the framework Sequalize.js (nodes, MySQL). Is it possible to make a "snapshot" of the database (architecture, structure, without data) in order to then perform the migration? Or how to make a migration file from dev base to master base?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shashenkov, 2018-04-17
@teknik2008

It's probably easier to write a bash script for this. Make a dump from dev and send to master
This is how backups are made for me. Through exec I call the right time with the nodejs script, it makes a backup and sends it to another server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question