tspace-mysql 1.4.2 → 1.4.3
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.
|
@@ -46,7 +46,7 @@ exports.default = (cmd) => {
|
|
|
46
46
|
new lib_1.DB().loadEnv(env).rawQuery(`SHOW COLUMNS FROM \`${table}\``).then(raws => {
|
|
47
47
|
let schema = [];
|
|
48
48
|
for (const index in raws) {
|
|
49
|
-
const raw = raws[
|
|
49
|
+
const raw = raws[index];
|
|
50
50
|
const str = [
|
|
51
51
|
`${raw.Field} : `,
|
|
52
52
|
`new Blueprint().${/^[^()]*$/.test(raw.Type)
|