Skip to content

avocatl/dbee-github-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

dbee-github-source

This template allows you to use Github as migration source for dbee.

Adding new schemas

If you want to manage multiple schemas using dbee, you need to create a folder under migrations with the schema name. To specify the connection
details you must provide the following env variables.

⚠️ Note that currently only MySQL is supported as database.

schema is the same name as database in your folder structure (no need to uppercase).

DBee will read the values as specicied here:

DB_USERNAME_{SCHEMA}=root
DB_USERNAME_{SCHEMA}=safeP@ssw0rd!
DB_HOST_{SCHEMA}=localhost
DB_PORT_{SCHEMA}=3306
DB_NAME_{SCHEMA}=myDatabaseName

## Example for production DB

# DB_USERNAME_PRODUCTION=root
# DB_USERNAME_PRODUCTION=safeP@ssw0rd!
# DB_HOST_PRODUCTION=localhost
# DB_PORT_PRODUCTION=3306
# DB_NAME_PRODUCTION=myDatabaseName

About

This template allows you to use Github as migration source for dbee.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors