-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I think the documentation should be updated to show the new .cfmigrations.json format, specifically in the connectionInfo struct:
"connectionInfo": {
"password": "${DB_PASSWORD}",
"connectionString": "${DB_CONNECTIONSTRING}",
"class": "${DB_CLASS}",
"username": "${DB_USER}",
"bundleName": "${DB_BUNDLENAME}",
"bundleVersion": "${DB_BUNDLEVERSION}"
}
I also think the .env section should show examples for both MySQL and MSSQL because the Class, BundleName, and BundleVersion are specific to Commandbox and not easily found. Here's an example for MSSQL:
DB_CONNECTIONSTRING=jdbc:sqlserver://127.0.0.1:1433;databaseName=mydsn;useSSL=false;useUnicode=true;characterEncoding=UTF-8;serverTimezone=UTC;useLegacyDatetimeCode=true;allowPublicKeyRetrieval=true
DB_CLASS=com.microsoft.sqlserver.jdbc.SQLServerDriver
DB_BUNDLENAME=org.lucee.mssql
DB_BUNDLEVERSION=7.2.2.jre8
I didn't want to step on your toes by completely rewriting the readme, and I'm still relatively new to cfmigrations, so I didn't want to make any false statements. Would you like to collaborate on updating the docs with me?
Metadata
Metadata
Assignees
Labels
No labels