@authhero/drizzle 0.7.0 → 0.9.0

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
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.7.0",
14
+ "version": "0.9.0",
15
15
  "files": [
16
16
  "dist",
17
17
  "src/schema"
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "drizzle-orm": "^0.44.2",
43
- "@authhero/adapter-interfaces": "0.111.0"
43
+ "@authhero/adapter-interfaces": "0.112.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc && vite build",
@@ -18,6 +18,7 @@ export const connections = sqliteTable(
18
18
  display_name: text("display_name", { length: 255 }),
19
19
  is_domain_connection: integer("is_domain_connection"),
20
20
  show_as_button: integer("show_as_button"),
21
+ is_system: integer("is_system").notNull().default(0),
21
22
  metadata: text("metadata", { length: 4096 }),
22
23
  },
23
24
  (table) => [index("connections_tenant_id_index").on(table.tenant_id)],
@@ -13,6 +13,7 @@ export const roles = sqliteTable(
13
13
  tenant_id: text("tenant_id", { length: 191 }).notNull(),
14
14
  name: text("name", { length: 50 }).notNull(),
15
15
  description: text("description", { length: 255 }),
16
+ is_system: integer("is_system").notNull().default(0),
16
17
  created_at: text("created_at", { length: 35 }).notNull(),
17
18
  updated_at: text("updated_at", { length: 35 }).notNull(),
18
19
  },
@@ -131,6 +132,7 @@ export const resourceServers = sqliteTable(
131
132
  allow_offline_access: integer("allow_offline_access"),
132
133
  verification_key: text("verification_key", { length: 4096 }),
133
134
  options: text("options", { length: 4096 }),
135
+ is_system: integer("is_system").notNull().default(0),
134
136
  created_at: text("created_at", { length: 35 }).notNull(),
135
137
  updated_at: text("updated_at", { length: 35 }).notNull(),
136
138
  },