mutano 2.6.4 → 2.6.5

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.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -667,7 +667,7 @@ async function generate(config) {
667
667
  });
668
668
  }
669
669
  let describes = [];
670
- for (let table of tables) {
670
+ for (let table of tables.sort((a, b) => a.localeCompare(b))) {
671
671
  if (config.origin.type === "mysql" && db) {
672
672
  const d = await db.raw(`SHOW FULL COLUMNS FROM ${table}`);
673
673
  describes = d[0];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mutano",
3
3
  "type": "module",
4
- "version": "2.6.4",
4
+ "version": "2.6.5",
5
5
  "description": "Converts Prisma/MySQL/PostgreSQL/SQLite schemas to Zod/TS/Kysely interfaces",
6
6
  "author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
7
7
  "license": "MIT",