dbtasker 3.0.7 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/validation.js +2 -0
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbtasker",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"funding": {
|
|
5
5
|
"type": "patreon",
|
|
6
|
-
"url": "https://www.patreon.com/cw/kormoi"
|
|
6
|
+
"url": "https://www.patreon.com/cw/kormoi/membership"
|
|
7
7
|
},
|
|
8
8
|
"description": "dbtasker is a powerful and developer-friendly MySQL schema automation tool that converts JSON-based definitions into validated SQL that allows developers to declaratively define databases, tables, columns, indexes, and foreign keys using a flexible, case-insensitive JSON schema.",
|
|
9
9
|
"license": "ISC",
|
package/validation.js
CHANGED
|
@@ -1250,6 +1250,8 @@ async function JSONchecker(table_json, config, separator = "_") {
|
|
|
1250
1250
|
`${cstyler.red("- Invalid comment:")} ` +
|
|
1251
1251
|
result.errors.map(e => cstyler.red(e)).join(", ")
|
|
1252
1252
|
)
|
|
1253
|
+
}else {
|
|
1254
|
+
contentObj[databaseName][tableName].comment = commentval;
|
|
1253
1255
|
}
|
|
1254
1256
|
} else {
|
|
1255
1257
|
badColumnNames.push(
|