Skip to content
/ DB2XLS Public

the script that outputs db schema into xls file

Notifications You must be signed in to change notification settings

offich/DB2XLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB2XLS

This repository allows you to print out all tables structures in MySql Database.

Requirement

Ruby version: 2.4.3

How To Use

  1. Add .env file like below. The names of the variables are designated.
MYSQL_USERNAME=username
MYSQL_PASSWORD=password
MYSQL_PORT=port
MYSQL_DATABASE=database
MYSQL_HOST=host
  1. Execute the command below and enter the name of the file you would like to output.
bundle install --path vendor/bundle
bundle exec ruby main_script.rb {file_name}
  1. Then all table structures in your database will be printed into the file in the output directory!!

  2. Any brand new feature, pull request, or issue is welcome!

About

the script that outputs db schema into xls file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages