drizzle-orm 0.39.1 → 0.39.2

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.
@@ -22,8 +22,8 @@ __export(neon_identity_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(neon_identity_exports);
24
24
  var import_pg_core = require("../pg-core/index.cjs");
25
- const neonIdentitySchema = (0, import_pg_core.pgSchema)("neon_identity");
26
- const usersSync = neonIdentitySchema.table("users_sync", {
25
+ const neonAuthSchema = (0, import_pg_core.pgSchema)("neon_auth");
26
+ const usersSync = neonAuthSchema.table("users_sync", {
27
27
  rawJson: (0, import_pg_core.jsonb)("raw_json").notNull(),
28
28
  id: (0, import_pg_core.text)().primaryKey().notNull(),
29
29
  name: (0, import_pg_core.text)(),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/neon/neon-identity.ts"],"sourcesContent":["import { jsonb, pgSchema, text, timestamp } from '~/pg-core/index.ts';\n\nconst neonIdentitySchema = pgSchema('neon_identity');\n\n/**\n * Table schema of the `users_sync` table used by Neon Identity.\n * This table automatically synchronizes and stores user data from external authentication providers.\n *\n * @schema neon_identity\n * @table users_sync\n */\nexport const usersSync = neonIdentitySchema.table('users_sync', {\n\trawJson: jsonb('raw_json').notNull(),\n\tid: text().primaryKey().notNull(),\n\tname: text(),\n\temail: text(),\n\tcreatedAt: timestamp('created_at', { withTimezone: true, mode: 'string' }),\n\tdeletedAt: timestamp('deleted_at', { withTimezone: true, mode: 'string' }),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAiD;AAEjD,MAAM,yBAAqB,yBAAS,eAAe;AAS5C,MAAM,YAAY,mBAAmB,MAAM,cAAc;AAAA,EAC/D,aAAS,sBAAM,UAAU,EAAE,QAAQ;AAAA,EACnC,QAAI,qBAAK,EAAE,WAAW,EAAE,QAAQ;AAAA,EAChC,UAAM,qBAAK;AAAA,EACX,WAAO,qBAAK;AAAA,EACZ,eAAW,0BAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAAA,EACzE,eAAW,0BAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAC1E,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/neon/neon-identity.ts"],"sourcesContent":["import { jsonb, pgSchema, text, timestamp } from '~/pg-core/index.ts';\n\nconst neonAuthSchema = pgSchema('neon_auth');\n\n/**\n * Table schema of the `users_sync` table used by Neon Auth.\n * This table automatically synchronizes and stores user data from external authentication providers.\n *\n * @schema neon_auth\n * @table users_sync\n */\nexport const usersSync = neonAuthSchema.table('users_sync', {\n\trawJson: jsonb('raw_json').notNull(),\n\tid: text().primaryKey().notNull(),\n\tname: text(),\n\temail: text(),\n\tcreatedAt: timestamp('created_at', { withTimezone: true, mode: 'string' }),\n\tdeletedAt: timestamp('deleted_at', { withTimezone: true, mode: 'string' }),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAiD;AAEjD,MAAM,qBAAiB,yBAAS,WAAW;AASpC,MAAM,YAAY,eAAe,MAAM,cAAc;AAAA,EAC3D,aAAS,sBAAM,UAAU,EAAE,QAAQ;AAAA,EACnC,QAAI,qBAAK,EAAE,WAAW,EAAE,QAAQ;AAAA,EAChC,UAAM,qBAAK;AAAA,EACX,WAAO,qBAAK;AAAA,EACZ,eAAW,0BAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAAA,EACzE,eAAW,0BAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAC1E,CAAC;","names":[]}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Table schema of the `users_sync` table used by Neon Identity.
2
+ * Table schema of the `users_sync` table used by Neon Auth.
3
3
  * This table automatically synchronizes and stores user data from external authentication providers.
4
4
  *
5
- * @schema neon_identity
5
+ * @schema neon_auth
6
6
  * @table users_sync
7
7
  */
8
8
  export declare const usersSync: import("../pg-core/index.ts").PgTableWithColumns<{
9
9
  name: "users_sync";
10
- schema: "neon_identity";
10
+ schema: "neon_auth";
11
11
  columns: {
12
12
  rawJson: import("../pg-core/index.ts").PgColumn<{
13
13
  name: "raw_json";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Table schema of the `users_sync` table used by Neon Identity.
2
+ * Table schema of the `users_sync` table used by Neon Auth.
3
3
  * This table automatically synchronizes and stores user data from external authentication providers.
4
4
  *
5
- * @schema neon_identity
5
+ * @schema neon_auth
6
6
  * @table users_sync
7
7
  */
8
8
  export declare const usersSync: import("../pg-core/index.js").PgTableWithColumns<{
9
9
  name: "users_sync";
10
- schema: "neon_identity";
10
+ schema: "neon_auth";
11
11
  columns: {
12
12
  rawJson: import("../pg-core/index.js").PgColumn<{
13
13
  name: "raw_json";
@@ -1,6 +1,6 @@
1
1
  import { jsonb, pgSchema, text, timestamp } from "../pg-core/index.js";
2
- const neonIdentitySchema = pgSchema("neon_identity");
3
- const usersSync = neonIdentitySchema.table("users_sync", {
2
+ const neonAuthSchema = pgSchema("neon_auth");
3
+ const usersSync = neonAuthSchema.table("users_sync", {
4
4
  rawJson: jsonb("raw_json").notNull(),
5
5
  id: text().primaryKey().notNull(),
6
6
  name: text(),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/neon/neon-identity.ts"],"sourcesContent":["import { jsonb, pgSchema, text, timestamp } from '~/pg-core/index.ts';\n\nconst neonIdentitySchema = pgSchema('neon_identity');\n\n/**\n * Table schema of the `users_sync` table used by Neon Identity.\n * This table automatically synchronizes and stores user data from external authentication providers.\n *\n * @schema neon_identity\n * @table users_sync\n */\nexport const usersSync = neonIdentitySchema.table('users_sync', {\n\trawJson: jsonb('raw_json').notNull(),\n\tid: text().primaryKey().notNull(),\n\tname: text(),\n\temail: text(),\n\tcreatedAt: timestamp('created_at', { withTimezone: true, mode: 'string' }),\n\tdeletedAt: timestamp('deleted_at', { withTimezone: true, mode: 'string' }),\n});\n"],"mappings":"AAAA,SAAS,OAAO,UAAU,MAAM,iBAAiB;AAEjD,MAAM,qBAAqB,SAAS,eAAe;AAS5C,MAAM,YAAY,mBAAmB,MAAM,cAAc;AAAA,EAC/D,SAAS,MAAM,UAAU,EAAE,QAAQ;AAAA,EACnC,IAAI,KAAK,EAAE,WAAW,EAAE,QAAQ;AAAA,EAChC,MAAM,KAAK;AAAA,EACX,OAAO,KAAK;AAAA,EACZ,WAAW,UAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAAA,EACzE,WAAW,UAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAC1E,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/neon/neon-identity.ts"],"sourcesContent":["import { jsonb, pgSchema, text, timestamp } from '~/pg-core/index.ts';\n\nconst neonAuthSchema = pgSchema('neon_auth');\n\n/**\n * Table schema of the `users_sync` table used by Neon Auth.\n * This table automatically synchronizes and stores user data from external authentication providers.\n *\n * @schema neon_auth\n * @table users_sync\n */\nexport const usersSync = neonAuthSchema.table('users_sync', {\n\trawJson: jsonb('raw_json').notNull(),\n\tid: text().primaryKey().notNull(),\n\tname: text(),\n\temail: text(),\n\tcreatedAt: timestamp('created_at', { withTimezone: true, mode: 'string' }),\n\tdeletedAt: timestamp('deleted_at', { withTimezone: true, mode: 'string' }),\n});\n"],"mappings":"AAAA,SAAS,OAAO,UAAU,MAAM,iBAAiB;AAEjD,MAAM,iBAAiB,SAAS,WAAW;AASpC,MAAM,YAAY,eAAe,MAAM,cAAc;AAAA,EAC3D,SAAS,MAAM,UAAU,EAAE,QAAQ;AAAA,EACnC,IAAI,KAAK,EAAE,WAAW,EAAE,QAAQ;AAAA,EAChC,MAAM,KAAK;AAAA,EACX,OAAO,KAAK;AAAA,EACZ,WAAW,UAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAAA,EACzE,WAAW,UAAU,cAAc,EAAE,cAAc,MAAM,MAAM,SAAS,CAAC;AAC1E,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-orm",
3
- "version": "0.39.1",
3
+ "version": "0.39.2",
4
4
  "description": "Drizzle ORM package for SQL databases",
5
5
  "type": "module",
6
6
  "scripts": {
package/version.cjs CHANGED
@@ -26,7 +26,7 @@ __export(version_exports, {
26
26
  module.exports = __toCommonJS(version_exports);
27
27
 
28
28
  // package.json
29
- var version = "0.39.1";
29
+ var version = "0.39.2";
30
30
 
31
31
  // src/version.ts
32
32
  var compatibilityVersion = 10;
package/version.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- var version = "0.39.1";
1
+ var version = "0.39.2";
2
2
 
3
3
  declare const compatibilityVersion = 10;
4
4
 
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- var version = "0.39.1";
1
+ var version = "0.39.2";
2
2
 
3
3
  declare const compatibilityVersion = 10;
4
4
 
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.39.1";
2
+ var version = "0.39.2";
3
3
 
4
4
  // src/version.ts
5
5
  var compatibilityVersion = 10;