db-model-router 1.0.18 → 1.0.19

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.
@@ -8,7 +8,7 @@
8
8
  "logger": true,
9
9
  "loki": false,
10
10
  "output": null,
11
- "saasStructure": true,
11
+ "saasStructure": false,
12
12
  "apiBasePath": "/api",
13
13
  "port": 3000
14
14
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "db-model-router",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Generative API Creation using mysql2 and express libraries in node js",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -26,6 +26,7 @@ const { generateSaasOpenAPIPaths } = require("../saas/generate-saas-openapi");
26
26
  const SUPPORTED_ADAPTERS = [
27
27
  "postgres",
28
28
  "mysql",
29
+ "mariadb",
29
30
  "sqlite3",
30
31
  "mssql",
31
32
  "oracle",
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Generates CREATE TABLE migration files for all SaaS tables with proper
7
7
  * column types, foreign key constraints, and unique constraints per adapter.
8
- * Supports SQL adapters (postgres, mysql, sqlite3, mssql, oracle, cockroachdb)
8
+ * Supports SQL adapters (postgres, mysql, mariadb, sqlite3, mssql, oracle, cockroachdb)
9
9
  * and NoSQL adapters (mongodb, dynamodb, redis).
10
10
  */
11
11
 
@@ -17,6 +17,7 @@ const { mapColumnType } = require("../generate-migration");
17
17
 
18
18
  const SQL_ADAPTERS = [
19
19
  "mysql",
20
+ "mariadb",
20
21
  "postgres",
21
22
  "sqlite3",
22
23
  "mssql",