drizzle-kit 0.19.13-a511135 → 0.19.13-ad1f24b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils.d.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.19.13-a511135",
3
+ "version": "0.19.13-ad1f24b",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
package/utils.d.ts CHANGED
@@ -16,17 +16,17 @@ export declare const pushSchema: (imports: Record<string, unknown>, db: PgDataba
16
16
  export declare const prepareFrom: (connection: DbConnection) => Promise<{
17
17
  db: import("drizzle-orm/node-postgres").NodePgDatabase<Record<string, never>>;
18
18
  type: "pg";
19
- schema: Record<string, AnyPgTable<{}> | Relations>;
19
+ schema: Record<string, AnyPgTable<{}> | Relations> | undefined;
20
20
  } | {
21
21
  db: import("drizzle-orm/mysql2").MySql2Database<Record<string, never>>;
22
22
  type: "mysql";
23
- schema: Record<string, AnyMySqlTable<{}> | Relations>;
23
+ schema: Record<string, AnyMySqlTable<{}> | Relations> | undefined;
24
24
  } | {
25
25
  db: import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>>;
26
26
  type: "sqlite";
27
- schema: Record<string, AnySQLiteTable<{}> | Relations>;
27
+ schema: Record<string, AnySQLiteTable<{}> | Relations> | undefined;
28
28
  } | {
29
29
  db: import("drizzle-orm/libsql").LibSQLDatabase<Record<string, never>>;
30
30
  type: "sqlite";
31
- schema: Record<string, AnySQLiteTable<{}> | Relations>;
31
+ schema: Record<string, AnySQLiteTable<{}> | Relations> | undefined;
32
32
  }>;