diff options
| -rw-r--r-- | license-generator/.env.sample | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/license-generator/.env.sample b/license-generator/.env.sample index 7ed6243..325a279 100644 --- a/license-generator/.env.sample +++ b/license-generator/.env.sample @@ -1,3 +1,17 @@  export DATABASE_NAME=""  export DATABASE_USER=""  export DATABASE_PASSWORD="" + + +function migrate () { +	local migration_name="$1" + +	command migrate \ +		-database 'mysql://localhost:3306/dome_key' \ +		create \ +		-ext sql \ +		-format '20060102150405' \ +		"$migration_name" + +	mv *.sql migrations/ +} | 
