Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Generates Sequelize migrations from an existing database structure.

License

Notifications You must be signed in to change notification settings

vinivia/sequelize-migration-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequelize Migration Generator

Generates Sequelize migrations from an existing database structure.

Enviroment

Python >=3.6 < 3.7

Installation And Run

Download and run project in local environment

  git clone https://github.com/vinivia/sequelize-migration-generator.git
  cd sequelize-migration-generator
  pip install -r requirement.txt
  sequelize.py -H <database_host> -P <database_port> -u <database_username> 
  -p <database_password> -d <database_name> --path <path_of_migrations_file>

Command Help

sequelize.py -h for help
usage: sequelize.py [-h] [-H [host]] [-P [port]] [-u [username]]
                    [-p [password]] -d [database] [--path [path]]

Sequelize Migration Generator.

optional arguments:
  -h, --help            show this help message and exit
  -H [host], --host [host]
                        Mysql database host default <localhost>
  -P [port], --port [port]
                        Mysql database port default <3306>
  -u [username], --username [username]
                        Mysql database username default <root>
  -p [password], --password [password]
                        Mysql database password default<>
  -d [database], --database [database]
                        Mysql database name
  --path [path]         Migration store path


About

Generates Sequelize migrations from an existing database structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages