drizzle-orm 1.0.0-beta.10-b5fdd85 → 1.0.0-beta.10-9f1399e
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/aws-data-api/pg/migrator.d.cts +2 -2
- package/aws-data-api/pg/migrator.d.ts +2 -2
- package/better-sqlite3/migrator.d.cts +2 -2
- package/better-sqlite3/migrator.d.ts +2 -2
- package/bun-sql/migrator.d.cts +5 -5
- package/bun-sql/migrator.d.ts +5 -5
- package/bun-sql/mysql/migrator.d.cts +2 -2
- package/bun-sql/mysql/migrator.d.ts +2 -2
- package/bun-sql/postgres/migrator.d.cts +2 -2
- package/bun-sql/postgres/migrator.d.ts +2 -2
- package/bun-sql/sqlite/migrator.d.cts +2 -2
- package/bun-sql/sqlite/migrator.d.ts +2 -2
- package/bun-sqlite/migrator.d.cts +2 -2
- package/bun-sqlite/migrator.d.ts +2 -2
- package/cockroach/migrator.d.cts +2 -2
- package/cockroach/migrator.d.ts +2 -2
- package/effect-postgres/migrator.d.cts +2 -2
- package/effect-postgres/migrator.d.ts +2 -2
- package/expo-sqlite/migrator.d.ts +2 -2
- package/gel-core/utils.d.cts +3 -3
- package/gel-core/utils.d.ts +3 -3
- package/mysql-core/utils.d.cts +2 -2
- package/mysql2/migrator.d.cts +2 -2
- package/mysql2/migrator.d.ts +2 -2
- package/neon/neon-auth.d.cts +3 -10
- package/neon/neon-auth.d.ts +9 -16
- package/neon/rls.d.ts +2 -2
- package/neon-serverless/migrator.d.cts +2 -2
- package/neon-serverless/migrator.d.ts +2 -2
- package/node-mssql/migrator.d.cts +2 -2
- package/node-mssql/migrator.d.ts +2 -2
- package/node-postgres/migrator.d.cts +2 -2
- package/node-postgres/migrator.d.ts +2 -2
- package/op-sqlite/migrator.d.cts +2 -2
- package/op-sqlite/migrator.d.ts +2 -2
- package/package.json +1 -1
- package/pg-core/columns/char.cjs.map +1 -1
- package/pg-core/columns/char.d.cts +12 -12
- package/pg-core/columns/char.d.ts +12 -12
- package/pg-core/columns/char.js.map +1 -1
- package/pg-core/columns/common.cjs.map +1 -1
- package/pg-core/columns/common.d.cts +0 -2
- package/pg-core/columns/common.d.ts +0 -2
- package/pg-core/columns/common.js.map +1 -1
- package/pg-core/columns/text.cjs.map +1 -1
- package/pg-core/columns/text.d.cts +10 -10
- package/pg-core/columns/text.d.ts +10 -10
- package/pg-core/columns/text.js.map +1 -1
- package/pg-core/columns/varchar.cjs.map +1 -1
- package/pg-core/columns/varchar.d.cts +12 -12
- package/pg-core/columns/varchar.d.ts +12 -12
- package/pg-core/columns/varchar.js.map +1 -1
- package/pg-core/index.d.cts +2 -2
- package/pg-core/index.d.ts +2 -2
- package/pg-core/table.cjs.map +1 -1
- package/pg-core/table.d.cts +2 -4
- package/pg-core/table.d.ts +2 -4
- package/pg-core/table.js.map +1 -1
- package/pg-core/utils.d.cts +3 -3
- package/pg-core/utils.d.ts +3 -3
- package/pglite/migrator.d.cts +2 -2
- package/pglite/migrator.d.ts +2 -2
- package/postgres-js/migrator.d.cts +2 -2
- package/postgres-js/migrator.d.ts +2 -2
- package/sql-js/migrator.d.cts +2 -2
- package/sqlite-core/query-builders/raw.d.cts +2 -2
- package/sqlite-core/query-builders/raw.d.ts +2 -2
- package/sqlite-core/utils.d.cts +2 -2
- package/sqlite-core/utils.d.ts +2 -2
- package/supabase/rls.d.cts +3 -14
- package/supabase/rls.d.ts +17 -28
- package/tidb-serverless/migrator.d.cts +2 -2
- package/tidb-serverless/migrator.d.ts +2 -2
- package/tursodatabase/migrator.d.cts +2 -2
- package/vercel-postgres/migrator.d.cts +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AwsDataApiPgDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts16 from "../../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/aws-data-api/pg/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts16.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AwsDataApiPgDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts11 from "../../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/aws-data-api/pg/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts11.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts9 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/better-sqlite3/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void | __migrator_ts9.MigratorInitFailResponse;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts9 from "../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/better-sqlite3/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void | __migrator_ts9.MigratorInitFailResponse;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
package/bun-sql/migrator.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { BunMySqlDatabase } from "./mysql/driver.cjs";
|
|
2
2
|
import { BunSQLDatabase } from "./postgres/driver.cjs";
|
|
3
3
|
import { BunSQLiteDatabase } from "./sqlite/driver.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __migrator_ts10 from "../migrator.cjs";
|
|
5
5
|
import { MigrationConfig } from "../migrator.cjs";
|
|
6
6
|
import { AnyRelations } from "../relations.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/bun-sql/migrator.d.ts
|
|
9
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
9
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts10.MigratorInitFailResponse>;
|
|
10
10
|
declare namespace migrate {
|
|
11
|
-
function postgres<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
12
|
-
function sqlite<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
13
|
-
function mysql<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
11
|
+
function postgres<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts10.MigratorInitFailResponse>;
|
|
12
|
+
function sqlite<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts10.MigratorInitFailResponse>;
|
|
13
|
+
function mysql<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts10.MigratorInitFailResponse>;
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
16
|
export { migrate };
|
package/bun-sql/migrator.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { BunMySqlDatabase } from "./mysql/driver.js";
|
|
2
2
|
import { BunSQLDatabase } from "./postgres/driver.js";
|
|
3
3
|
import { BunSQLiteDatabase } from "./sqlite/driver.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __migrator_ts16 from "../migrator.js";
|
|
5
5
|
import { MigrationConfig } from "../migrator.js";
|
|
6
6
|
import { AnyRelations } from "../relations.js";
|
|
7
7
|
|
|
8
8
|
//#region src/bun-sql/migrator.d.ts
|
|
9
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
9
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts16.MigratorInitFailResponse>;
|
|
10
10
|
declare namespace migrate {
|
|
11
|
-
function postgres<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
12
|
-
function sqlite<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
13
|
-
function mysql<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
11
|
+
function postgres<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts16.MigratorInitFailResponse>;
|
|
12
|
+
function sqlite<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts16.MigratorInitFailResponse>;
|
|
13
|
+
function mysql<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts16.MigratorInitFailResponse>;
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
16
|
export { migrate };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunMySqlDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts15 from "../../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/mysql/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts15.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunMySqlDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts22 from "../../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/mysql/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunMySqlDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts22.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunSQLDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts17 from "../../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/postgres/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts17.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunSQLDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts20 from "../../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/postgres/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts20.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunSQLiteDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts14 from "../../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/sqlite/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts14.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunSQLiteDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts21 from "../../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/sqlite/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BunSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts21.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SQLiteBunDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts18 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
import { AnyRelations, EmptyRelations } from "../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sqlite/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: SQLiteBunDatabase<TSchema, TRelations>, config: MigrationConfig): void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: SQLiteBunDatabase<TSchema, TRelations>, config: MigrationConfig): void | __migrator_ts18.MigratorInitFailResponse;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
package/bun-sqlite/migrator.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SQLiteBunDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts10 from "../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../migrator.js";
|
|
4
4
|
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sqlite/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: SQLiteBunDatabase<TSchema, TRelations>, config: MigrationConfig): void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: SQLiteBunDatabase<TSchema, TRelations>, config: MigrationConfig): void | __migrator_ts10.MigratorInitFailResponse;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
package/cockroach/migrator.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NodeCockroachDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts19 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/cockroach/migrator.d.ts
|
|
6
|
-
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeCockroachDatabase<TSchema>, config: MigrationConfig): Promise<void |
|
|
6
|
+
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeCockroachDatabase<TSchema>, config: MigrationConfig): Promise<void | __migrator_ts19.MigratorInitFailResponse>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { migrate };
|
|
9
9
|
//# sourceMappingURL=migrator.d.cts.map
|
package/cockroach/migrator.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NodeCockroachDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts23 from "../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../migrator.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cockroach/migrator.d.ts
|
|
6
|
-
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeCockroachDatabase<TSchema>, config: MigrationConfig): Promise<void |
|
|
6
|
+
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeCockroachDatabase<TSchema>, config: MigrationConfig): Promise<void | __migrator_ts23.MigratorInitFailResponse>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { migrate };
|
|
9
9
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TaggedDrizzleQueryError } from "../effect-core/errors.cjs";
|
|
2
2
|
import { EffectPgDatabase } from "./driver.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __migrator_ts8 from "../migrator.cjs";
|
|
4
4
|
import { MigrationConfig } from "../migrator.cjs";
|
|
5
5
|
import { AnyRelations } from "../relations.cjs";
|
|
6
6
|
import * as effect_Effect0 from "effect/Effect";
|
|
7
7
|
|
|
8
8
|
//#region src/effect-postgres/migrator.d.ts
|
|
9
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: EffectPgDatabase<TSchema, TRelations>, config: MigrationConfig): effect_Effect0.Effect<void |
|
|
9
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: EffectPgDatabase<TSchema, TRelations>, config: MigrationConfig): effect_Effect0.Effect<void | __migrator_ts8.MigratorInitFailResponse, TaggedDrizzleQueryError, never>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { migrate };
|
|
12
12
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TaggedDrizzleQueryError } from "../effect-core/errors.js";
|
|
2
2
|
import { EffectPgDatabase } from "./driver.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __migrator_ts8 from "../migrator.js";
|
|
4
4
|
import { MigrationConfig } from "../migrator.js";
|
|
5
5
|
import { AnyRelations } from "../relations.js";
|
|
6
6
|
import * as effect_Effect0 from "effect/Effect";
|
|
7
7
|
|
|
8
8
|
//#region src/effect-postgres/migrator.d.ts
|
|
9
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: EffectPgDatabase<TSchema, TRelations>, config: MigrationConfig): effect_Effect0.Effect<void |
|
|
9
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: EffectPgDatabase<TSchema, TRelations>, config: MigrationConfig): effect_Effect0.Effect<void | __migrator_ts8.MigratorInitFailResponse, TaggedDrizzleQueryError, never>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { migrate };
|
|
12
12
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ExpoSQLiteDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts12 from "../migrator.js";
|
|
3
3
|
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
4
4
|
|
|
5
5
|
//#region src/expo-sqlite/migrator.d.ts
|
|
6
6
|
interface MigrationConfig$1 {
|
|
7
7
|
migrations: Record<string, string>;
|
|
8
8
|
}
|
|
9
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: ExpoSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig$1): Promise<void |
|
|
9
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations = EmptyRelations>(db: ExpoSQLiteDatabase<TSchema, TRelations>, config: MigrationConfig$1): Promise<void | __migrator_ts12.MigratorInitFailResponse>;
|
|
10
10
|
interface State {
|
|
11
11
|
success: boolean;
|
|
12
12
|
error?: Error;
|
package/gel-core/utils.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ import "./columns/index.cjs";
|
|
|
10
10
|
import { GelViewBase } from "./view-base.cjs";
|
|
11
11
|
import { GelMaterializedView, GelMaterializedViewWithConfig, GelView, ViewWithConfig } from "./view.cjs";
|
|
12
12
|
import "./index.cjs";
|
|
13
|
-
import * as
|
|
13
|
+
import * as __sql_sql_ts3 from "../sql/sql.cjs";
|
|
14
14
|
import { SQL } from "../sql/sql.cjs";
|
|
15
15
|
import { Subquery } from "../subquery.cjs";
|
|
16
16
|
|
|
@@ -33,7 +33,7 @@ declare function getViewConfig<TName extends string = string, TExisting extends
|
|
|
33
33
|
name: TName;
|
|
34
34
|
originalName: TName;
|
|
35
35
|
schema: string | undefined;
|
|
36
|
-
selectedFields:
|
|
36
|
+
selectedFields: __sql_sql_ts3.ColumnsSelection;
|
|
37
37
|
isExisting: TExisting;
|
|
38
38
|
query: TExisting extends true ? undefined : SQL<unknown>;
|
|
39
39
|
isAlias: boolean;
|
|
@@ -46,7 +46,7 @@ declare function getMaterializedViewConfig<TName extends string = string, TExist
|
|
|
46
46
|
name: TName;
|
|
47
47
|
originalName: TName;
|
|
48
48
|
schema: string | undefined;
|
|
49
|
-
selectedFields:
|
|
49
|
+
selectedFields: __sql_sql_ts3.ColumnsSelection;
|
|
50
50
|
isExisting: TExisting;
|
|
51
51
|
query: TExisting extends true ? undefined : SQL<unknown>;
|
|
52
52
|
isAlias: boolean;
|
package/gel-core/utils.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GelViewBase } from "./view-base.js";
|
|
|
11
11
|
import { GelMaterializedView, GelMaterializedViewWithConfig, GelView, ViewWithConfig } from "./view.js";
|
|
12
12
|
import "./index.js";
|
|
13
13
|
import { Subquery } from "../subquery.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as __sql_sql_ts5 from "../sql/sql.js";
|
|
15
15
|
import { SQL } from "../sql/sql.js";
|
|
16
16
|
|
|
17
17
|
//#region src/gel-core/utils.d.ts
|
|
@@ -33,7 +33,7 @@ declare function getViewConfig<TName extends string = string, TExisting extends
|
|
|
33
33
|
name: TName;
|
|
34
34
|
originalName: TName;
|
|
35
35
|
schema: string | undefined;
|
|
36
|
-
selectedFields:
|
|
36
|
+
selectedFields: __sql_sql_ts5.ColumnsSelection;
|
|
37
37
|
isExisting: TExisting;
|
|
38
38
|
query: TExisting extends true ? undefined : SQL<unknown>;
|
|
39
39
|
isAlias: boolean;
|
|
@@ -46,7 +46,7 @@ declare function getMaterializedViewConfig<TName extends string = string, TExist
|
|
|
46
46
|
name: TName;
|
|
47
47
|
originalName: TName;
|
|
48
48
|
schema: string | undefined;
|
|
49
|
-
selectedFields:
|
|
49
|
+
selectedFields: __sql_sql_ts5.ColumnsSelection;
|
|
50
50
|
isExisting: TExisting;
|
|
51
51
|
query: TExisting extends true ? undefined : SQL<unknown>;
|
|
52
52
|
isAlias: boolean;
|
package/mysql-core/utils.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ import { MySqlViewBase } from "./view-base.cjs";
|
|
|
9
9
|
import { IndexForHint } from "./query-builders/select.cjs";
|
|
10
10
|
import { MySqlView } from "./view.cjs";
|
|
11
11
|
import "./index.cjs";
|
|
12
|
-
import * as
|
|
12
|
+
import * as __sql_sql_ts7 from "../sql/sql.cjs";
|
|
13
13
|
import { SQL } from "../sql/sql.cjs";
|
|
14
14
|
import { Subquery } from "../subquery.cjs";
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ declare function getViewConfig<TName extends string = string, TExisting extends
|
|
|
33
33
|
name: TName;
|
|
34
34
|
originalName: TName;
|
|
35
35
|
schema: string | undefined;
|
|
36
|
-
selectedFields:
|
|
36
|
+
selectedFields: __sql_sql_ts7.ColumnsSelection;
|
|
37
37
|
isExisting: TExisting;
|
|
38
38
|
query: TExisting extends true ? undefined : SQL<unknown>;
|
|
39
39
|
isAlias: boolean;
|
package/mysql2/migrator.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MySql2Database } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts7 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/mysql2/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: MySql2Database<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: MySql2Database<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts7.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
package/mysql2/migrator.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MySql2Database } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts7 from "../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/mysql2/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: MySql2Database<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: MySql2Database<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts7.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
package/neon/neon-auth.d.cts
CHANGED
|
@@ -27,9 +27,8 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
27
27
|
enumValues: undefined;
|
|
28
28
|
identity: undefined;
|
|
29
29
|
generated: undefined;
|
|
30
|
-
insertType: unknown;
|
|
31
30
|
}>;
|
|
32
|
-
id: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.SetNotNull<__pg_core_index_ts29.SetIsPrimaryKey<__pg_core_index_ts29.PgTextBuilder<
|
|
31
|
+
id: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.SetNotNull<__pg_core_index_ts29.SetIsPrimaryKey<__pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>>>, {
|
|
33
32
|
name: string;
|
|
34
33
|
tableName: "users_sync";
|
|
35
34
|
dataType: "string";
|
|
@@ -43,9 +42,8 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
43
42
|
enumValues: undefined;
|
|
44
43
|
identity: undefined;
|
|
45
44
|
generated: undefined;
|
|
46
|
-
insertType: string;
|
|
47
45
|
}>;
|
|
48
|
-
name: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<
|
|
46
|
+
name: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>, {
|
|
49
47
|
name: string;
|
|
50
48
|
tableName: "users_sync";
|
|
51
49
|
dataType: "string";
|
|
@@ -59,9 +57,8 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
59
57
|
enumValues: undefined;
|
|
60
58
|
identity: undefined;
|
|
61
59
|
generated: undefined;
|
|
62
|
-
insertType: string | null | undefined;
|
|
63
60
|
}>;
|
|
64
|
-
email: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<
|
|
61
|
+
email: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>, {
|
|
65
62
|
name: string;
|
|
66
63
|
tableName: "users_sync";
|
|
67
64
|
dataType: "string";
|
|
@@ -75,7 +72,6 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
75
72
|
enumValues: undefined;
|
|
76
73
|
identity: undefined;
|
|
77
74
|
generated: undefined;
|
|
78
|
-
insertType: string | null | undefined;
|
|
79
75
|
}>;
|
|
80
76
|
createdAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
81
77
|
name: string;
|
|
@@ -91,7 +87,6 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
91
87
|
enumValues: undefined;
|
|
92
88
|
identity: undefined;
|
|
93
89
|
generated: undefined;
|
|
94
|
-
insertType: string | null | undefined;
|
|
95
90
|
}>;
|
|
96
91
|
deletedAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
97
92
|
name: string;
|
|
@@ -107,7 +102,6 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
107
102
|
enumValues: undefined;
|
|
108
103
|
identity: undefined;
|
|
109
104
|
generated: undefined;
|
|
110
|
-
insertType: string | null | undefined;
|
|
111
105
|
}>;
|
|
112
106
|
updatedAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
113
107
|
name: string;
|
|
@@ -123,7 +117,6 @@ declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
|
123
117
|
enumValues: undefined;
|
|
124
118
|
identity: undefined;
|
|
125
119
|
generated: undefined;
|
|
126
|
-
insertType: string | null | undefined;
|
|
127
120
|
}>;
|
|
128
121
|
};
|
|
129
122
|
dialect: "pg";
|
package/neon/neon-auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as __pg_core_index_ts29 from "../pg-core/index.js";
|
|
2
2
|
|
|
3
3
|
//#region src/neon/neon-auth.d.ts
|
|
4
4
|
|
|
@@ -9,11 +9,11 @@ import * as __pg_core_index_ts0 from "../pg-core/index.js";
|
|
|
9
9
|
* @schema neon_auth
|
|
10
10
|
* @table users_sync
|
|
11
11
|
*/
|
|
12
|
-
declare const usersSync:
|
|
12
|
+
declare const usersSync: __pg_core_index_ts29.PgTableWithColumns<{
|
|
13
13
|
name: "users_sync";
|
|
14
14
|
schema: "neon_auth";
|
|
15
15
|
columns: {
|
|
16
|
-
rawJson:
|
|
16
|
+
rawJson: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.SetNotNull<__pg_core_index_ts29.PgJsonbBuilder>, {
|
|
17
17
|
name: string;
|
|
18
18
|
tableName: "users_sync";
|
|
19
19
|
dataType: "object json";
|
|
@@ -27,9 +27,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
27
27
|
enumValues: undefined;
|
|
28
28
|
identity: undefined;
|
|
29
29
|
generated: undefined;
|
|
30
|
-
insertType: unknown;
|
|
31
30
|
}>;
|
|
32
|
-
id:
|
|
31
|
+
id: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.SetNotNull<__pg_core_index_ts29.SetIsPrimaryKey<__pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>>>, {
|
|
33
32
|
name: string;
|
|
34
33
|
tableName: "users_sync";
|
|
35
34
|
dataType: "string";
|
|
@@ -43,9 +42,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
43
42
|
enumValues: undefined;
|
|
44
43
|
identity: undefined;
|
|
45
44
|
generated: undefined;
|
|
46
|
-
insertType: string;
|
|
47
45
|
}>;
|
|
48
|
-
name:
|
|
46
|
+
name: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>, {
|
|
49
47
|
name: string;
|
|
50
48
|
tableName: "users_sync";
|
|
51
49
|
dataType: "string";
|
|
@@ -59,9 +57,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
59
57
|
enumValues: undefined;
|
|
60
58
|
identity: undefined;
|
|
61
59
|
generated: undefined;
|
|
62
|
-
insertType: string | null | undefined;
|
|
63
60
|
}>;
|
|
64
|
-
email:
|
|
61
|
+
email: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTextBuilder<[string, ...string[]]>, {
|
|
65
62
|
name: string;
|
|
66
63
|
tableName: "users_sync";
|
|
67
64
|
dataType: "string";
|
|
@@ -75,9 +72,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
75
72
|
enumValues: undefined;
|
|
76
73
|
identity: undefined;
|
|
77
74
|
generated: undefined;
|
|
78
|
-
insertType: string | null | undefined;
|
|
79
75
|
}>;
|
|
80
|
-
createdAt:
|
|
76
|
+
createdAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
81
77
|
name: string;
|
|
82
78
|
tableName: "users_sync";
|
|
83
79
|
dataType: "string timestamp";
|
|
@@ -91,9 +87,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
91
87
|
enumValues: undefined;
|
|
92
88
|
identity: undefined;
|
|
93
89
|
generated: undefined;
|
|
94
|
-
insertType: string | null | undefined;
|
|
95
90
|
}>;
|
|
96
|
-
deletedAt:
|
|
91
|
+
deletedAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
97
92
|
name: string;
|
|
98
93
|
tableName: "users_sync";
|
|
99
94
|
dataType: "string timestamp";
|
|
@@ -107,9 +102,8 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
107
102
|
enumValues: undefined;
|
|
108
103
|
identity: undefined;
|
|
109
104
|
generated: undefined;
|
|
110
|
-
insertType: string | null | undefined;
|
|
111
105
|
}>;
|
|
112
|
-
updatedAt:
|
|
106
|
+
updatedAt: __pg_core_index_ts29.PgBuildColumn<"users_sync", __pg_core_index_ts29.PgTimestampStringBuilder, {
|
|
113
107
|
name: string;
|
|
114
108
|
tableName: "users_sync";
|
|
115
109
|
dataType: "string timestamp";
|
|
@@ -123,7 +117,6 @@ declare const usersSync: __pg_core_index_ts0.PgTableWithColumns<{
|
|
|
123
117
|
enumValues: undefined;
|
|
124
118
|
identity: undefined;
|
|
125
119
|
generated: undefined;
|
|
126
|
-
insertType: string | null | undefined;
|
|
127
120
|
}>;
|
|
128
121
|
};
|
|
129
122
|
dialect: "pg";
|
package/neon/rls.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SQL } from "../sql/sql.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __pg_core_index_ts28 from "../pg-core/index.js";
|
|
3
3
|
import { AnyPgColumn, PgPolicyToOption } from "../pg-core/index.js";
|
|
4
4
|
import { PgRole } from "../pg-core/roles.js";
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ declare const crudPolicy: (options: {
|
|
|
18
18
|
role: PgPolicyToOption;
|
|
19
19
|
read: SQL | boolean | null;
|
|
20
20
|
modify: SQL | boolean | null;
|
|
21
|
-
}) => (
|
|
21
|
+
}) => (__pg_core_index_ts28.PgPolicy | undefined)[];
|
|
22
22
|
declare const authenticatedRole: PgRole;
|
|
23
23
|
declare const anonymousRole: PgRole;
|
|
24
24
|
declare const authUid: (userIdColumn: AnyPgColumn) => SQL<unknown>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NeonDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts23 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
import { AnyRelations } from "../relations.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/neon-serverless/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: NeonDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: NeonDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts23.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NeonDatabase } from "./driver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts24 from "../migrator.js";
|
|
3
3
|
import { MigrationConfig } from "../migrator.js";
|
|
4
4
|
import { AnyRelations } from "../relations.js";
|
|
5
5
|
|
|
6
6
|
//#region src/neon-serverless/migrator.d.ts
|
|
7
|
-
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: NeonDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void |
|
|
7
|
+
declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: NeonDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | __migrator_ts24.MigratorInitFailResponse>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { migrate };
|
|
10
10
|
//# sourceMappingURL=migrator.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NodeMsSqlDatabase } from "./driver.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as __migrator_ts24 from "../migrator.cjs";
|
|
3
3
|
import { MigrationConfig } from "../migrator.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/node-mssql/migrator.d.ts
|
|
6
|
-
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeMsSqlDatabase<TSchema>, config: MigrationConfig): Promise<void |
|
|
6
|
+
declare function migrate<TSchema extends Record<string, unknown>>(db: NodeMsSqlDatabase<TSchema>, config: MigrationConfig): Promise<void | __migrator_ts24.MigratorInitFailResponse>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { migrate };
|
|
9
9
|
//# sourceMappingURL=migrator.d.cts.map
|