db-model-router 1.0.11 → 1.0.12
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
CHANGED
|
@@ -131,16 +131,16 @@ function autoIncrementType(adapter) {
|
|
|
131
131
|
switch (adapter) {
|
|
132
132
|
case "postgres":
|
|
133
133
|
case "cockroachdb":
|
|
134
|
-
return "
|
|
134
|
+
return "BIGSERIAL";
|
|
135
135
|
case "mssql":
|
|
136
|
-
return "
|
|
136
|
+
return "BIGINT IDENTITY(1,1)";
|
|
137
137
|
case "oracle":
|
|
138
|
-
return "NUMBER GENERATED BY DEFAULT AS IDENTITY";
|
|
138
|
+
return "NUMBER(19) GENERATED BY DEFAULT AS IDENTITY";
|
|
139
139
|
case "sqlite3":
|
|
140
140
|
return "INTEGER";
|
|
141
141
|
default:
|
|
142
142
|
// mysql, mariadb
|
|
143
|
-
return "
|
|
143
|
+
return "BIGINT AUTO_INCREMENT";
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|