drizzle-kit 0.22.7-d059930 → 0.22.7-fbc7b5c
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +579 -502
- package/index.d.mts +2 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/payload.d.mts +6 -6
- package/payload.d.ts +6 -6
- package/payload.js +158 -122
- package/payload.mjs +158 -122
package/index.d.mts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ConnectionOptions } from 'tls';
|
2
2
|
|
3
|
+
type Prefix = "index" | "timestamp" | "supabase" | "unix" | "none";
|
3
4
|
type Driver = "turso" | "d1-http" | "expo" | "aws-data-api";
|
4
5
|
|
5
6
|
type Dialect = "postgresql" | "mysql" | "sqlite";
|
@@ -121,6 +122,7 @@ type Config = {
|
|
121
122
|
migrations?: {
|
122
123
|
table?: string;
|
123
124
|
schema?: string;
|
125
|
+
prefix?: Prefix;
|
124
126
|
};
|
125
127
|
introspect?: {
|
126
128
|
casing: "camel" | "preserve";
|
package/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ConnectionOptions } from 'tls';
|
2
2
|
|
3
|
+
type Prefix = "index" | "timestamp" | "supabase" | "unix" | "none";
|
3
4
|
type Driver = "turso" | "d1-http" | "expo" | "aws-data-api";
|
4
5
|
|
5
6
|
type Dialect = "postgresql" | "mysql" | "sqlite";
|
@@ -121,6 +122,7 @@ type Config = {
|
|
121
122
|
migrations?: {
|
122
123
|
table?: string;
|
123
124
|
schema?: string;
|
125
|
+
prefix?: Prefix;
|
124
126
|
};
|
125
127
|
introspect?: {
|
126
128
|
casing: "camel" | "preserve";
|
package/package.json
CHANGED
package/payload.d.mts
CHANGED
@@ -1050,14 +1050,14 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1050
1050
|
isUnique: boolean;
|
1051
1051
|
using?: "btree" | "hash" | undefined;
|
1052
1052
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1053
|
-
lock?: "
|
1053
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1054
1054
|
}, {
|
1055
1055
|
name: string;
|
1056
1056
|
columns: string[];
|
1057
1057
|
isUnique: boolean;
|
1058
1058
|
using?: "btree" | "hash" | undefined;
|
1059
1059
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1060
|
-
lock?: "
|
1060
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1061
1061
|
}>>;
|
1062
1062
|
foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1063
1063
|
name: zod.ZodString;
|
@@ -1125,7 +1125,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1125
1125
|
isUnique: boolean;
|
1126
1126
|
using?: "btree" | "hash" | undefined;
|
1127
1127
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1128
|
-
lock?: "
|
1128
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1129
1129
|
}>;
|
1130
1130
|
foreignKeys: Record<string, {
|
1131
1131
|
name: string;
|
@@ -1165,7 +1165,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1165
1165
|
isUnique: boolean;
|
1166
1166
|
using?: "btree" | "hash" | undefined;
|
1167
1167
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1168
|
-
lock?: "
|
1168
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1169
1169
|
}>;
|
1170
1170
|
foreignKeys: Record<string, {
|
1171
1171
|
name: string;
|
@@ -1278,7 +1278,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1278
1278
|
isUnique: boolean;
|
1279
1279
|
using?: "btree" | "hash" | undefined;
|
1280
1280
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1281
|
-
lock?: "
|
1281
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1282
1282
|
}>;
|
1283
1283
|
foreignKeys: Record<string, {
|
1284
1284
|
name: string;
|
@@ -1340,7 +1340,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1340
1340
|
isUnique: boolean;
|
1341
1341
|
using?: "btree" | "hash" | undefined;
|
1342
1342
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1343
|
-
lock?: "
|
1343
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1344
1344
|
}>;
|
1345
1345
|
foreignKeys: Record<string, {
|
1346
1346
|
name: string;
|
package/payload.d.ts
CHANGED
@@ -1050,14 +1050,14 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1050
1050
|
isUnique: boolean;
|
1051
1051
|
using?: "btree" | "hash" | undefined;
|
1052
1052
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1053
|
-
lock?: "
|
1053
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1054
1054
|
}, {
|
1055
1055
|
name: string;
|
1056
1056
|
columns: string[];
|
1057
1057
|
isUnique: boolean;
|
1058
1058
|
using?: "btree" | "hash" | undefined;
|
1059
1059
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1060
|
-
lock?: "
|
1060
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1061
1061
|
}>>;
|
1062
1062
|
foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1063
1063
|
name: zod.ZodString;
|
@@ -1125,7 +1125,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1125
1125
|
isUnique: boolean;
|
1126
1126
|
using?: "btree" | "hash" | undefined;
|
1127
1127
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1128
|
-
lock?: "
|
1128
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1129
1129
|
}>;
|
1130
1130
|
foreignKeys: Record<string, {
|
1131
1131
|
name: string;
|
@@ -1165,7 +1165,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1165
1165
|
isUnique: boolean;
|
1166
1166
|
using?: "btree" | "hash" | undefined;
|
1167
1167
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1168
|
-
lock?: "
|
1168
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1169
1169
|
}>;
|
1170
1170
|
foreignKeys: Record<string, {
|
1171
1171
|
name: string;
|
@@ -1278,7 +1278,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1278
1278
|
isUnique: boolean;
|
1279
1279
|
using?: "btree" | "hash" | undefined;
|
1280
1280
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1281
|
-
lock?: "
|
1281
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1282
1282
|
}>;
|
1283
1283
|
foreignKeys: Record<string, {
|
1284
1284
|
name: string;
|
@@ -1340,7 +1340,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1340
1340
|
isUnique: boolean;
|
1341
1341
|
using?: "btree" | "hash" | undefined;
|
1342
1342
|
algorithm?: "default" | "inplace" | "copy" | undefined;
|
1343
|
-
lock?: "
|
1343
|
+
lock?: "none" | "default" | "shared" | "exclusive" | undefined;
|
1344
1344
|
}>;
|
1345
1345
|
foreignKeys: Record<string, {
|
1346
1346
|
name: string;
|