create-efforge 0.0.0-stage → 0.2.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.
Files changed (239) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +88 -2
  3. package/dist/addon.js +115 -0
  4. package/dist/bin.js +13 -0
  5. package/dist/cli.js +28 -0
  6. package/dist/commands/add.js +640 -0
  7. package/dist/commands/create.js +319 -0
  8. package/dist/commands/list.js +80 -0
  9. package/dist/diff.js +72 -0
  10. package/dist/exec.js +33 -0
  11. package/dist/generate.js +181 -0
  12. package/dist/manifest.js +14 -0
  13. package/dist/projectName.js +41 -0
  14. package/dist/prompts/flow.js +122 -0
  15. package/dist/prompts/navigable.js +193 -0
  16. package/dist/routeTree.js +7 -0
  17. package/dist/rules.js +27 -0
  18. package/dist/slots.js +116 -0
  19. package/dist/stack.js +68 -0
  20. package/dist/transforms/addAlchemyResource.js +71 -0
  21. package/dist/transforms/addArrayItem.js +31 -0
  22. package/dist/transforms/addAuthPlugin.js +77 -0
  23. package/dist/transforms/addDevVar.js +18 -0
  24. package/dist/transforms/addExport.js +46 -0
  25. package/dist/transforms/addImport.js +11 -0
  26. package/dist/transforms/addLayer.js +31 -0
  27. package/dist/transforms/addServerFnMiddleware.js +62 -0
  28. package/dist/transforms/addWorkflowSecret.js +43 -0
  29. package/dist/transforms/addWranglerBinding.js +61 -0
  30. package/dist/transforms/appendAgentsSection.js +26 -0
  31. package/dist/transforms/errors.js +7 -0
  32. package/dist/transforms/index.js +40 -0
  33. package/dist/transforms/setWranglerValue.js +40 -0
  34. package/dist/transforms/util.js +219 -0
  35. package/dist/tree.js +1 -0
  36. package/dist/versions.js +73 -0
  37. package/dist/write.js +28 -0
  38. package/package.json +63 -4
  39. package/templates/ai/effect-ai-byok/addon.json +619 -0
  40. package/templates/ai/effect-ai-byok/files/core/llm-crypto.test.ts +52 -0
  41. package/templates/ai/effect-ai-byok/files/core/llm-crypto.ts +76 -0
  42. package/templates/ai/effect-ai-byok/files/core/llm-store.ts +21 -0
  43. package/templates/ai/effect-ai-byok/files/core/llm.ts +32 -0
  44. package/templates/ai/effect-ai-byok/files/drizzle/d1/20261018161056_llm_credential/migration.sql +9 -0
  45. package/templates/ai/effect-ai-byok/files/drizzle/d1/20261018161056_llm_credential/snapshot.json +944 -0
  46. package/templates/ai/effect-ai-byok/files/drizzle/pg/20261018161056_llm_credential/migration.sql +10 -0
  47. package/templates/ai/effect-ai-byok/files/drizzle/pg/20261018161056_llm_credential/snapshot.json +1232 -0
  48. package/templates/ai/effect-ai-byok/files/routes/ai.tsx +193 -0
  49. package/templates/ai/effect-ai-byok/files/schema/d1.ts +16 -0
  50. package/templates/ai/effect-ai-byok/files/schema/pg.ts +14 -0
  51. package/templates/ai/effect-ai-byok/files/server/ai-settings.ts +129 -0
  52. package/templates/ai/effect-ai-byok/files/server/ai.ts +25 -0
  53. package/templates/ai/effect-ai-byok/files/server/llm-env.ts +48 -0
  54. package/templates/ai/effect-ai-byok/files/server/llm-orgs.ts +146 -0
  55. package/templates/ai/effect-ai-byok/files/server/llm-provider.ts +56 -0
  56. package/templates/ai/effect-ai-byok/files/server/llm-store-drizzle.ts +48 -0
  57. package/templates/ai/effect-ai-byok/files/server/llm-store-sql-d1.ts +41 -0
  58. package/templates/ai/effect-ai-byok/files/server/llm-store-sql-pg.ts +41 -0
  59. package/templates/ai/effect-ai-byok/files/sql/d1.sql +8 -0
  60. package/templates/ai/effect-ai-byok/files/sql/pg.sql +8 -0
  61. package/templates/auth/better-auth/addon.json +424 -0
  62. package/templates/auth/better-auth/files/core/Auth.ts +18 -0
  63. package/templates/auth/better-auth/files/drizzle/d1/20261018161054_auth/migration.sql +51 -0
  64. package/templates/auth/better-auth/files/drizzle/d1/20261018161054_auth/snapshot.json +522 -0
  65. package/templates/auth/better-auth/files/drizzle/pg/20261018161053_auth/migration.sql +51 -0
  66. package/templates/auth/better-auth/files/drizzle/pg/20261018161053_auth/snapshot.json +680 -0
  67. package/templates/auth/better-auth/files/lib/auth-client.ts +4 -0
  68. package/templates/auth/better-auth/files/routes/app.tsx +54 -0
  69. package/templates/auth/better-auth/files/schema/d1/auth-schema.ts +86 -0
  70. package/templates/auth/better-auth/files/schema/pg/auth-schema.ts +73 -0
  71. package/templates/auth/better-auth/files/server/auth-live.ts +47 -0
  72. package/templates/auth/better-auth/files/server/session.ts +14 -0
  73. package/templates/auth/better-auth/files/shared/components/auth-card.tsx +32 -0
  74. package/templates/auth/better-auth/files/shared/components/user-menu.tsx +44 -0
  75. package/templates/auth/better-auth/files/shared/drizzle/d1/drizzle.config.ts +7 -0
  76. package/templates/auth/better-auth/files/shared/drizzle/pg/drizzle.config.ts +10 -0
  77. package/templates/auth/better-auth/files/shared/lib/form.ts +5 -0
  78. package/templates/auth/better-auth/files/shared/lib/redirect.ts +6 -0
  79. package/templates/auth/better-auth/files/shared/routes/app/index.tsx +54 -0
  80. package/templates/auth/better-auth/files/shared/routes/sign-in.tsx +85 -0
  81. package/templates/auth/better-auth/files/shared/routes/sign-up.tsx +91 -0
  82. package/templates/auth/better-auth/files/shared/server/auth-route.ts +15 -0
  83. package/templates/auth/better-auth/files/shared/server/auth.ts +22 -0
  84. package/templates/auth/better-auth/files/shared/server/db/d1-drizzle.ts +25 -0
  85. package/templates/auth/better-auth/files/shared/server/db/d1-effect-sql.ts +17 -0
  86. package/templates/auth/better-auth/files/shared/server/db/pg-drizzle.ts +32 -0
  87. package/templates/auth/better-auth/files/shared/server/db/pg-effect-sql.ts +29 -0
  88. package/templates/auth/better-auth/files/shared/server/require-session.ts +20 -0
  89. package/templates/auth/better-auth/files/sql/d1/0002_auth.sql +13 -0
  90. package/templates/auth/better-auth/files/sql/pg/0002_auth.sql +13 -0
  91. package/templates/auth/better-auth-orgs/addon.json +463 -0
  92. package/templates/auth/better-auth-orgs/files/components/org-switcher.tsx +65 -0
  93. package/templates/auth/better-auth-orgs/files/core/Auth.ts +20 -0
  94. package/templates/auth/better-auth-orgs/files/drizzle/d1/20261018161055_auth/migration.sql +88 -0
  95. package/templates/auth/better-auth-orgs/files/drizzle/d1/20261018161055_auth/snapshot.json +862 -0
  96. package/templates/auth/better-auth-orgs/files/drizzle/pg/20261018161055_auth/migration.sql +88 -0
  97. package/templates/auth/better-auth-orgs/files/drizzle/pg/20261018161055_auth/snapshot.json +1127 -0
  98. package/templates/auth/better-auth-orgs/files/lib/auth-client.ts +5 -0
  99. package/templates/auth/better-auth-orgs/files/routes/accept-invite.$id.tsx +68 -0
  100. package/templates/auth/better-auth-orgs/files/routes/app/settings/index.tsx +27 -0
  101. package/templates/auth/better-auth-orgs/files/routes/app/settings/members.tsx +202 -0
  102. package/templates/auth/better-auth-orgs/files/routes/app/settings.tsx +30 -0
  103. package/templates/auth/better-auth-orgs/files/routes/app.tsx +58 -0
  104. package/templates/auth/better-auth-orgs/files/routes/onboarding.tsx +66 -0
  105. package/templates/auth/better-auth-orgs/files/schema/d1/auth-schema.ts +139 -0
  106. package/templates/auth/better-auth-orgs/files/schema/pg/auth-schema.ts +124 -0
  107. package/templates/auth/better-auth-orgs/files/server/auth-live.ts +52 -0
  108. package/templates/auth/better-auth-orgs/files/server/session.ts +44 -0
  109. package/templates/auth/better-auth-orgs/files/sql/d1/0002_auth.sql +27 -0
  110. package/templates/auth/better-auth-orgs/files/sql/pg/0002_auth.sql +27 -0
  111. package/templates/base/addon.json +216 -0
  112. package/templates/base/files/AGENTS.md +82 -0
  113. package/templates/base/files/CLAUDE.md +1 -0
  114. package/templates/base/files/README.md +32 -0
  115. package/templates/base/files/core/package.json +13 -0
  116. package/templates/base/files/core/src/index.ts +2 -0
  117. package/templates/base/files/core/test/core.test.ts +4 -0
  118. package/templates/base/files/core/tsconfig.json +6 -0
  119. package/templates/base/files/gitignore +11 -0
  120. package/templates/base/files/pnpm-workspace.yaml +11 -0
  121. package/templates/base/files/root/lint/effect-tests.js +45 -0
  122. package/templates/base/files/root/package.json +16 -0
  123. package/templates/base/files/root/tsconfig.base.json +19 -0
  124. package/templates/base/files/root/turbo.json +9 -0
  125. package/templates/base/files/root/vite.config.ts +86 -0
  126. package/templates/base/files/web/components.json +21 -0
  127. package/templates/base/files/web/package.json +17 -0
  128. package/templates/base/files/web/src/components/theme-provider.tsx +57 -0
  129. package/templates/base/files/web/src/components/theme-toggle.tsx +34 -0
  130. package/templates/base/files/web/src/components/ui/avatar.tsx +93 -0
  131. package/templates/base/files/web/src/components/ui/button.tsx +61 -0
  132. package/templates/base/files/web/src/components/ui/card.tsx +74 -0
  133. package/templates/base/files/web/src/components/ui/dialog.tsx +141 -0
  134. package/templates/base/files/web/src/components/ui/dropdown-menu.tsx +225 -0
  135. package/templates/base/files/web/src/components/ui/input.tsx +20 -0
  136. package/templates/base/files/web/src/components/ui/label.tsx +18 -0
  137. package/templates/base/files/web/src/components/ui/sonner.tsx +45 -0
  138. package/templates/base/files/web/src/components/widgets.tsx +4 -0
  139. package/templates/base/files/web/src/lib/utils.ts +6 -0
  140. package/templates/base/files/web/src/router.tsx +12 -0
  141. package/templates/base/files/web/src/routes/__root.tsx +42 -0
  142. package/templates/base/files/web/src/routes/app/index.tsx +27 -0
  143. package/templates/base/files/web/src/routes/app/settings.tsx +29 -0
  144. package/templates/base/files/web/src/routes/app.tsx +47 -0
  145. package/templates/base/files/web/src/routes/index.tsx +51 -0
  146. package/templates/base/files/web/src/server/greeting.ts +12 -0
  147. package/templates/base/files/web/src/server/layers.ts +10 -0
  148. package/templates/base/files/web/src/server/runtime.ts +5 -0
  149. package/templates/base/files/web/src/styles.css +81 -0
  150. package/templates/base/files/web/tsconfig.json +11 -0
  151. package/templates/base/files/web/vite.config.ts +9 -0
  152. package/templates/database/d1/addon.json +118 -0
  153. package/templates/database/d1/files/package.json +12 -0
  154. package/templates/database/d1/files/tsconfig.json +5 -0
  155. package/templates/database/postgres/addon.json +142 -0
  156. package/templates/database/postgres/files/docker-compose.yml +21 -0
  157. package/templates/database/postgres/files/package.json +12 -0
  158. package/templates/database/postgres/files/runtime.ts +12 -0
  159. package/templates/database/postgres/files/tsconfig.json +5 -0
  160. package/templates/extras/browser/addon.json +173 -0
  161. package/templates/extras/browser/files/BrowserContainer.ts +14 -0
  162. package/templates/extras/browser/files/app/Dockerfile +15 -0
  163. package/templates/extras/browser/files/app/dockerignore +1 -0
  164. package/templates/extras/browser/files/app/package-lock +605 -0
  165. package/templates/extras/browser/files/app/package.json +9 -0
  166. package/templates/extras/browser/files/app/src/server.ts +78 -0
  167. package/templates/extras/browser/files/app/src/url-policy.ts +115 -0
  168. package/templates/extras/browser/files/app/tsconfig.json +6 -0
  169. package/templates/extras/browser/files/browser.ts +34 -0
  170. package/templates/extras/browser/files/core-browser.ts +21 -0
  171. package/templates/extras/browser/files/run-browser.ts +25 -0
  172. package/templates/extras/email/addon.json +182 -0
  173. package/templates/extras/email/files/core-mailer.ts +28 -0
  174. package/templates/extras/email/files/invitation-email.ts +38 -0
  175. package/templates/extras/email/files/mailer.ts +58 -0
  176. package/templates/extras/realtime/addon.json +135 -0
  177. package/templates/extras/realtime/files/Room.ts +46 -0
  178. package/templates/extras/realtime/files/core-realtime.ts +19 -0
  179. package/templates/extras/realtime/files/realtime-demo.tsx +40 -0
  180. package/templates/extras/realtime/files/realtime-limits.test.ts +32 -0
  181. package/templates/extras/realtime/files/realtime-limits.ts +35 -0
  182. package/templates/extras/realtime/files/realtime-route.ts +39 -0
  183. package/templates/extras/realtime/files/realtime.ts +39 -0
  184. package/templates/extras/realtime/files/use-room.ts +67 -0
  185. package/templates/extras/storage/addon.json +132 -0
  186. package/templates/extras/storage/files/core-storage.ts +64 -0
  187. package/templates/extras/storage/files/storage-route.ts +50 -0
  188. package/templates/extras/storage/files/storage-security.test.ts +71 -0
  189. package/templates/extras/storage/files/storage-security.ts +92 -0
  190. package/templates/extras/storage/files/storage.ts +84 -0
  191. package/templates/extras/workflows/addon.json +95 -0
  192. package/templates/extras/workflows/files/Example.ts +42 -0
  193. package/templates/extras/workflows/files/core-jobs.ts +45 -0
  194. package/templates/extras/workflows/files/example-job.ts +36 -0
  195. package/templates/extras/workflows/files/jobs.ts +34 -0
  196. package/templates/infra/alchemy/addon.json +37 -0
  197. package/templates/infra/alchemy/files/README.md +27 -0
  198. package/templates/infra/alchemy/files/alchemy.run.ts +36 -0
  199. package/templates/infra/alchemy/files/github/deploy.yml +63 -0
  200. package/templates/infra/alchemy/files/tsconfig.json +5 -0
  201. package/templates/infra/alchemy/files/vite.config.ts +30 -0
  202. package/templates/orm/drizzle/addon.json +188 -0
  203. package/templates/orm/drizzle/files/d1/Database.ts +7 -0
  204. package/templates/orm/drizzle/files/d1/drizzle/20261018154417_init/migration.sql +10 -0
  205. package/templates/orm/drizzle/files/d1/drizzle/20261018154417_init/snapshot.json +60 -0
  206. package/templates/orm/drizzle/files/d1/drizzle.config.ts +7 -0
  207. package/templates/orm/drizzle/files/d1/layer.ts +13 -0
  208. package/templates/orm/drizzle/files/d1/migrate.ts +37 -0
  209. package/templates/orm/drizzle/files/d1/schema.ts +15 -0
  210. package/templates/orm/drizzle/files/pg/Database.ts +7 -0
  211. package/templates/orm/drizzle/files/pg/drizzle/20261018154416_init/migration.sql +10 -0
  212. package/templates/orm/drizzle/files/pg/drizzle/20261018154416_init/snapshot.json +75 -0
  213. package/templates/orm/drizzle/files/pg/drizzle.config.ts +10 -0
  214. package/templates/orm/drizzle/files/pg/layer.ts +16 -0
  215. package/templates/orm/drizzle/files/pg/migrate.ts +24 -0
  216. package/templates/orm/drizzle/files/pg/schema.ts +11 -0
  217. package/templates/orm/drizzle/files/shared/index.ts +2 -0
  218. package/templates/orm/drizzle/files/shared/notes.ts +15 -0
  219. package/templates/orm/drizzle/files/shared/page.tsx +50 -0
  220. package/templates/orm/effect-sql/addon.json +124 -0
  221. package/templates/orm/effect-sql/files/d1/layer.ts +13 -0
  222. package/templates/orm/effect-sql/files/d1/migrate.ts +20 -0
  223. package/templates/orm/effect-sql/files/d1/schema.ts +7 -0
  224. package/templates/orm/effect-sql/files/d1-sql/0001_init.sql +10 -0
  225. package/templates/orm/effect-sql/files/pg/layer.ts +16 -0
  226. package/templates/orm/effect-sql/files/pg/migrate.ts +66 -0
  227. package/templates/orm/effect-sql/files/pg/schema.ts +7 -0
  228. package/templates/orm/effect-sql/files/pg-sql/0001_init.sql +10 -0
  229. package/templates/orm/effect-sql/files/shared/Database.ts +7 -0
  230. package/templates/orm/effect-sql/files/shared/index.ts +2 -0
  231. package/templates/orm/effect-sql/files/shared/notes.ts +18 -0
  232. package/templates/orm/effect-sql/files/shared/page.tsx +50 -0
  233. package/templates/runtime/cloudflare/addon.json +52 -0
  234. package/templates/runtime/cloudflare/files/cloudflare.ts +10 -0
  235. package/templates/runtime/cloudflare/files/routes.ts +5 -0
  236. package/templates/runtime/cloudflare/files/server.ts +22 -0
  237. package/templates/runtime/cloudflare/files/tsconfig.json +12 -0
  238. package/templates/runtime/cloudflare/files/vite.config.ts +20 -0
  239. package/templates/runtime/cloudflare/files/wrangler.jsonc +8 -0
@@ -0,0 +1,1127 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "8e6f8310-20e4-4feb-bc5b-5274cdbd0dfd",
5
+ "prevIds": ["667d2c3b-3819-4efd-98e5-4035d041970c"],
6
+ "ddl": [
7
+ {
8
+ "isRlsEnabled": false,
9
+ "name": "note",
10
+ "entityType": "tables",
11
+ "schema": "public"
12
+ },
13
+ {
14
+ "isRlsEnabled": false,
15
+ "name": "account",
16
+ "entityType": "tables",
17
+ "schema": "public"
18
+ },
19
+ {
20
+ "isRlsEnabled": false,
21
+ "name": "invitation",
22
+ "entityType": "tables",
23
+ "schema": "public"
24
+ },
25
+ {
26
+ "isRlsEnabled": false,
27
+ "name": "member",
28
+ "entityType": "tables",
29
+ "schema": "public"
30
+ },
31
+ {
32
+ "isRlsEnabled": false,
33
+ "name": "organization",
34
+ "entityType": "tables",
35
+ "schema": "public"
36
+ },
37
+ {
38
+ "isRlsEnabled": false,
39
+ "name": "session",
40
+ "entityType": "tables",
41
+ "schema": "public"
42
+ },
43
+ {
44
+ "isRlsEnabled": false,
45
+ "name": "user",
46
+ "entityType": "tables",
47
+ "schema": "public"
48
+ },
49
+ {
50
+ "isRlsEnabled": false,
51
+ "name": "verification",
52
+ "entityType": "tables",
53
+ "schema": "public"
54
+ },
55
+ {
56
+ "type": "uuid",
57
+ "typeSchema": null,
58
+ "notNull": true,
59
+ "dimensions": 0,
60
+ "default": "gen_random_uuid()",
61
+ "generated": null,
62
+ "identity": null,
63
+ "name": "id",
64
+ "entityType": "columns",
65
+ "schema": "public",
66
+ "table": "note"
67
+ },
68
+ {
69
+ "type": "text",
70
+ "typeSchema": null,
71
+ "notNull": false,
72
+ "dimensions": 0,
73
+ "default": null,
74
+ "generated": null,
75
+ "identity": null,
76
+ "name": "org_id",
77
+ "entityType": "columns",
78
+ "schema": "public",
79
+ "table": "note"
80
+ },
81
+ {
82
+ "type": "text",
83
+ "typeSchema": null,
84
+ "notNull": true,
85
+ "dimensions": 0,
86
+ "default": null,
87
+ "generated": null,
88
+ "identity": null,
89
+ "name": "title",
90
+ "entityType": "columns",
91
+ "schema": "public",
92
+ "table": "note"
93
+ },
94
+ {
95
+ "type": "timestamp with time zone",
96
+ "typeSchema": null,
97
+ "notNull": true,
98
+ "dimensions": 0,
99
+ "default": "now()",
100
+ "generated": null,
101
+ "identity": null,
102
+ "name": "created_at",
103
+ "entityType": "columns",
104
+ "schema": "public",
105
+ "table": "note"
106
+ },
107
+ {
108
+ "type": "text",
109
+ "typeSchema": null,
110
+ "notNull": true,
111
+ "dimensions": 0,
112
+ "default": null,
113
+ "generated": null,
114
+ "identity": null,
115
+ "name": "id",
116
+ "entityType": "columns",
117
+ "schema": "public",
118
+ "table": "account"
119
+ },
120
+ {
121
+ "type": "text",
122
+ "typeSchema": null,
123
+ "notNull": true,
124
+ "dimensions": 0,
125
+ "default": null,
126
+ "generated": null,
127
+ "identity": null,
128
+ "name": "account_id",
129
+ "entityType": "columns",
130
+ "schema": "public",
131
+ "table": "account"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "typeSchema": null,
136
+ "notNull": true,
137
+ "dimensions": 0,
138
+ "default": null,
139
+ "generated": null,
140
+ "identity": null,
141
+ "name": "provider_id",
142
+ "entityType": "columns",
143
+ "schema": "public",
144
+ "table": "account"
145
+ },
146
+ {
147
+ "type": "text",
148
+ "typeSchema": null,
149
+ "notNull": true,
150
+ "dimensions": 0,
151
+ "default": null,
152
+ "generated": null,
153
+ "identity": null,
154
+ "name": "user_id",
155
+ "entityType": "columns",
156
+ "schema": "public",
157
+ "table": "account"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "typeSchema": null,
162
+ "notNull": false,
163
+ "dimensions": 0,
164
+ "default": null,
165
+ "generated": null,
166
+ "identity": null,
167
+ "name": "access_token",
168
+ "entityType": "columns",
169
+ "schema": "public",
170
+ "table": "account"
171
+ },
172
+ {
173
+ "type": "text",
174
+ "typeSchema": null,
175
+ "notNull": false,
176
+ "dimensions": 0,
177
+ "default": null,
178
+ "generated": null,
179
+ "identity": null,
180
+ "name": "refresh_token",
181
+ "entityType": "columns",
182
+ "schema": "public",
183
+ "table": "account"
184
+ },
185
+ {
186
+ "type": "text",
187
+ "typeSchema": null,
188
+ "notNull": false,
189
+ "dimensions": 0,
190
+ "default": null,
191
+ "generated": null,
192
+ "identity": null,
193
+ "name": "id_token",
194
+ "entityType": "columns",
195
+ "schema": "public",
196
+ "table": "account"
197
+ },
198
+ {
199
+ "type": "timestamp",
200
+ "typeSchema": null,
201
+ "notNull": false,
202
+ "dimensions": 0,
203
+ "default": null,
204
+ "generated": null,
205
+ "identity": null,
206
+ "name": "access_token_expires_at",
207
+ "entityType": "columns",
208
+ "schema": "public",
209
+ "table": "account"
210
+ },
211
+ {
212
+ "type": "timestamp",
213
+ "typeSchema": null,
214
+ "notNull": false,
215
+ "dimensions": 0,
216
+ "default": null,
217
+ "generated": null,
218
+ "identity": null,
219
+ "name": "refresh_token_expires_at",
220
+ "entityType": "columns",
221
+ "schema": "public",
222
+ "table": "account"
223
+ },
224
+ {
225
+ "type": "text",
226
+ "typeSchema": null,
227
+ "notNull": false,
228
+ "dimensions": 0,
229
+ "default": null,
230
+ "generated": null,
231
+ "identity": null,
232
+ "name": "scope",
233
+ "entityType": "columns",
234
+ "schema": "public",
235
+ "table": "account"
236
+ },
237
+ {
238
+ "type": "text",
239
+ "typeSchema": null,
240
+ "notNull": false,
241
+ "dimensions": 0,
242
+ "default": null,
243
+ "generated": null,
244
+ "identity": null,
245
+ "name": "password",
246
+ "entityType": "columns",
247
+ "schema": "public",
248
+ "table": "account"
249
+ },
250
+ {
251
+ "type": "timestamp",
252
+ "typeSchema": null,
253
+ "notNull": true,
254
+ "dimensions": 0,
255
+ "default": "now()",
256
+ "generated": null,
257
+ "identity": null,
258
+ "name": "created_at",
259
+ "entityType": "columns",
260
+ "schema": "public",
261
+ "table": "account"
262
+ },
263
+ {
264
+ "type": "timestamp",
265
+ "typeSchema": null,
266
+ "notNull": true,
267
+ "dimensions": 0,
268
+ "default": null,
269
+ "generated": null,
270
+ "identity": null,
271
+ "name": "updated_at",
272
+ "entityType": "columns",
273
+ "schema": "public",
274
+ "table": "account"
275
+ },
276
+ {
277
+ "type": "text",
278
+ "typeSchema": null,
279
+ "notNull": true,
280
+ "dimensions": 0,
281
+ "default": null,
282
+ "generated": null,
283
+ "identity": null,
284
+ "name": "id",
285
+ "entityType": "columns",
286
+ "schema": "public",
287
+ "table": "invitation"
288
+ },
289
+ {
290
+ "type": "text",
291
+ "typeSchema": null,
292
+ "notNull": true,
293
+ "dimensions": 0,
294
+ "default": null,
295
+ "generated": null,
296
+ "identity": null,
297
+ "name": "organization_id",
298
+ "entityType": "columns",
299
+ "schema": "public",
300
+ "table": "invitation"
301
+ },
302
+ {
303
+ "type": "text",
304
+ "typeSchema": null,
305
+ "notNull": true,
306
+ "dimensions": 0,
307
+ "default": null,
308
+ "generated": null,
309
+ "identity": null,
310
+ "name": "email",
311
+ "entityType": "columns",
312
+ "schema": "public",
313
+ "table": "invitation"
314
+ },
315
+ {
316
+ "type": "text",
317
+ "typeSchema": null,
318
+ "notNull": false,
319
+ "dimensions": 0,
320
+ "default": null,
321
+ "generated": null,
322
+ "identity": null,
323
+ "name": "role",
324
+ "entityType": "columns",
325
+ "schema": "public",
326
+ "table": "invitation"
327
+ },
328
+ {
329
+ "type": "text",
330
+ "typeSchema": null,
331
+ "notNull": true,
332
+ "dimensions": 0,
333
+ "default": "'pending'",
334
+ "generated": null,
335
+ "identity": null,
336
+ "name": "status",
337
+ "entityType": "columns",
338
+ "schema": "public",
339
+ "table": "invitation"
340
+ },
341
+ {
342
+ "type": "timestamp",
343
+ "typeSchema": null,
344
+ "notNull": true,
345
+ "dimensions": 0,
346
+ "default": null,
347
+ "generated": null,
348
+ "identity": null,
349
+ "name": "expires_at",
350
+ "entityType": "columns",
351
+ "schema": "public",
352
+ "table": "invitation"
353
+ },
354
+ {
355
+ "type": "timestamp",
356
+ "typeSchema": null,
357
+ "notNull": true,
358
+ "dimensions": 0,
359
+ "default": "now()",
360
+ "generated": null,
361
+ "identity": null,
362
+ "name": "created_at",
363
+ "entityType": "columns",
364
+ "schema": "public",
365
+ "table": "invitation"
366
+ },
367
+ {
368
+ "type": "text",
369
+ "typeSchema": null,
370
+ "notNull": true,
371
+ "dimensions": 0,
372
+ "default": null,
373
+ "generated": null,
374
+ "identity": null,
375
+ "name": "inviter_id",
376
+ "entityType": "columns",
377
+ "schema": "public",
378
+ "table": "invitation"
379
+ },
380
+ {
381
+ "type": "text",
382
+ "typeSchema": null,
383
+ "notNull": true,
384
+ "dimensions": 0,
385
+ "default": null,
386
+ "generated": null,
387
+ "identity": null,
388
+ "name": "id",
389
+ "entityType": "columns",
390
+ "schema": "public",
391
+ "table": "member"
392
+ },
393
+ {
394
+ "type": "text",
395
+ "typeSchema": null,
396
+ "notNull": true,
397
+ "dimensions": 0,
398
+ "default": null,
399
+ "generated": null,
400
+ "identity": null,
401
+ "name": "organization_id",
402
+ "entityType": "columns",
403
+ "schema": "public",
404
+ "table": "member"
405
+ },
406
+ {
407
+ "type": "text",
408
+ "typeSchema": null,
409
+ "notNull": true,
410
+ "dimensions": 0,
411
+ "default": null,
412
+ "generated": null,
413
+ "identity": null,
414
+ "name": "user_id",
415
+ "entityType": "columns",
416
+ "schema": "public",
417
+ "table": "member"
418
+ },
419
+ {
420
+ "type": "text",
421
+ "typeSchema": null,
422
+ "notNull": true,
423
+ "dimensions": 0,
424
+ "default": "'member'",
425
+ "generated": null,
426
+ "identity": null,
427
+ "name": "role",
428
+ "entityType": "columns",
429
+ "schema": "public",
430
+ "table": "member"
431
+ },
432
+ {
433
+ "type": "timestamp",
434
+ "typeSchema": null,
435
+ "notNull": true,
436
+ "dimensions": 0,
437
+ "default": null,
438
+ "generated": null,
439
+ "identity": null,
440
+ "name": "created_at",
441
+ "entityType": "columns",
442
+ "schema": "public",
443
+ "table": "member"
444
+ },
445
+ {
446
+ "type": "text",
447
+ "typeSchema": null,
448
+ "notNull": true,
449
+ "dimensions": 0,
450
+ "default": null,
451
+ "generated": null,
452
+ "identity": null,
453
+ "name": "id",
454
+ "entityType": "columns",
455
+ "schema": "public",
456
+ "table": "organization"
457
+ },
458
+ {
459
+ "type": "text",
460
+ "typeSchema": null,
461
+ "notNull": true,
462
+ "dimensions": 0,
463
+ "default": null,
464
+ "generated": null,
465
+ "identity": null,
466
+ "name": "name",
467
+ "entityType": "columns",
468
+ "schema": "public",
469
+ "table": "organization"
470
+ },
471
+ {
472
+ "type": "text",
473
+ "typeSchema": null,
474
+ "notNull": true,
475
+ "dimensions": 0,
476
+ "default": null,
477
+ "generated": null,
478
+ "identity": null,
479
+ "name": "slug",
480
+ "entityType": "columns",
481
+ "schema": "public",
482
+ "table": "organization"
483
+ },
484
+ {
485
+ "type": "text",
486
+ "typeSchema": null,
487
+ "notNull": false,
488
+ "dimensions": 0,
489
+ "default": null,
490
+ "generated": null,
491
+ "identity": null,
492
+ "name": "logo",
493
+ "entityType": "columns",
494
+ "schema": "public",
495
+ "table": "organization"
496
+ },
497
+ {
498
+ "type": "timestamp",
499
+ "typeSchema": null,
500
+ "notNull": true,
501
+ "dimensions": 0,
502
+ "default": null,
503
+ "generated": null,
504
+ "identity": null,
505
+ "name": "created_at",
506
+ "entityType": "columns",
507
+ "schema": "public",
508
+ "table": "organization"
509
+ },
510
+ {
511
+ "type": "text",
512
+ "typeSchema": null,
513
+ "notNull": false,
514
+ "dimensions": 0,
515
+ "default": null,
516
+ "generated": null,
517
+ "identity": null,
518
+ "name": "metadata",
519
+ "entityType": "columns",
520
+ "schema": "public",
521
+ "table": "organization"
522
+ },
523
+ {
524
+ "type": "text",
525
+ "typeSchema": null,
526
+ "notNull": true,
527
+ "dimensions": 0,
528
+ "default": null,
529
+ "generated": null,
530
+ "identity": null,
531
+ "name": "id",
532
+ "entityType": "columns",
533
+ "schema": "public",
534
+ "table": "session"
535
+ },
536
+ {
537
+ "type": "timestamp",
538
+ "typeSchema": null,
539
+ "notNull": true,
540
+ "dimensions": 0,
541
+ "default": null,
542
+ "generated": null,
543
+ "identity": null,
544
+ "name": "expires_at",
545
+ "entityType": "columns",
546
+ "schema": "public",
547
+ "table": "session"
548
+ },
549
+ {
550
+ "type": "text",
551
+ "typeSchema": null,
552
+ "notNull": true,
553
+ "dimensions": 0,
554
+ "default": null,
555
+ "generated": null,
556
+ "identity": null,
557
+ "name": "token",
558
+ "entityType": "columns",
559
+ "schema": "public",
560
+ "table": "session"
561
+ },
562
+ {
563
+ "type": "timestamp",
564
+ "typeSchema": null,
565
+ "notNull": true,
566
+ "dimensions": 0,
567
+ "default": "now()",
568
+ "generated": null,
569
+ "identity": null,
570
+ "name": "created_at",
571
+ "entityType": "columns",
572
+ "schema": "public",
573
+ "table": "session"
574
+ },
575
+ {
576
+ "type": "timestamp",
577
+ "typeSchema": null,
578
+ "notNull": true,
579
+ "dimensions": 0,
580
+ "default": null,
581
+ "generated": null,
582
+ "identity": null,
583
+ "name": "updated_at",
584
+ "entityType": "columns",
585
+ "schema": "public",
586
+ "table": "session"
587
+ },
588
+ {
589
+ "type": "text",
590
+ "typeSchema": null,
591
+ "notNull": false,
592
+ "dimensions": 0,
593
+ "default": null,
594
+ "generated": null,
595
+ "identity": null,
596
+ "name": "ip_address",
597
+ "entityType": "columns",
598
+ "schema": "public",
599
+ "table": "session"
600
+ },
601
+ {
602
+ "type": "text",
603
+ "typeSchema": null,
604
+ "notNull": false,
605
+ "dimensions": 0,
606
+ "default": null,
607
+ "generated": null,
608
+ "identity": null,
609
+ "name": "user_agent",
610
+ "entityType": "columns",
611
+ "schema": "public",
612
+ "table": "session"
613
+ },
614
+ {
615
+ "type": "text",
616
+ "typeSchema": null,
617
+ "notNull": true,
618
+ "dimensions": 0,
619
+ "default": null,
620
+ "generated": null,
621
+ "identity": null,
622
+ "name": "user_id",
623
+ "entityType": "columns",
624
+ "schema": "public",
625
+ "table": "session"
626
+ },
627
+ {
628
+ "type": "text",
629
+ "typeSchema": null,
630
+ "notNull": false,
631
+ "dimensions": 0,
632
+ "default": null,
633
+ "generated": null,
634
+ "identity": null,
635
+ "name": "active_organization_id",
636
+ "entityType": "columns",
637
+ "schema": "public",
638
+ "table": "session"
639
+ },
640
+ {
641
+ "type": "text",
642
+ "typeSchema": null,
643
+ "notNull": true,
644
+ "dimensions": 0,
645
+ "default": null,
646
+ "generated": null,
647
+ "identity": null,
648
+ "name": "id",
649
+ "entityType": "columns",
650
+ "schema": "public",
651
+ "table": "user"
652
+ },
653
+ {
654
+ "type": "text",
655
+ "typeSchema": null,
656
+ "notNull": true,
657
+ "dimensions": 0,
658
+ "default": null,
659
+ "generated": null,
660
+ "identity": null,
661
+ "name": "name",
662
+ "entityType": "columns",
663
+ "schema": "public",
664
+ "table": "user"
665
+ },
666
+ {
667
+ "type": "text",
668
+ "typeSchema": null,
669
+ "notNull": true,
670
+ "dimensions": 0,
671
+ "default": null,
672
+ "generated": null,
673
+ "identity": null,
674
+ "name": "email",
675
+ "entityType": "columns",
676
+ "schema": "public",
677
+ "table": "user"
678
+ },
679
+ {
680
+ "type": "boolean",
681
+ "typeSchema": null,
682
+ "notNull": true,
683
+ "dimensions": 0,
684
+ "default": "false",
685
+ "generated": null,
686
+ "identity": null,
687
+ "name": "email_verified",
688
+ "entityType": "columns",
689
+ "schema": "public",
690
+ "table": "user"
691
+ },
692
+ {
693
+ "type": "text",
694
+ "typeSchema": null,
695
+ "notNull": false,
696
+ "dimensions": 0,
697
+ "default": null,
698
+ "generated": null,
699
+ "identity": null,
700
+ "name": "image",
701
+ "entityType": "columns",
702
+ "schema": "public",
703
+ "table": "user"
704
+ },
705
+ {
706
+ "type": "timestamp",
707
+ "typeSchema": null,
708
+ "notNull": true,
709
+ "dimensions": 0,
710
+ "default": "now()",
711
+ "generated": null,
712
+ "identity": null,
713
+ "name": "created_at",
714
+ "entityType": "columns",
715
+ "schema": "public",
716
+ "table": "user"
717
+ },
718
+ {
719
+ "type": "timestamp",
720
+ "typeSchema": null,
721
+ "notNull": true,
722
+ "dimensions": 0,
723
+ "default": "now()",
724
+ "generated": null,
725
+ "identity": null,
726
+ "name": "updated_at",
727
+ "entityType": "columns",
728
+ "schema": "public",
729
+ "table": "user"
730
+ },
731
+ {
732
+ "type": "text",
733
+ "typeSchema": null,
734
+ "notNull": true,
735
+ "dimensions": 0,
736
+ "default": null,
737
+ "generated": null,
738
+ "identity": null,
739
+ "name": "id",
740
+ "entityType": "columns",
741
+ "schema": "public",
742
+ "table": "verification"
743
+ },
744
+ {
745
+ "type": "text",
746
+ "typeSchema": null,
747
+ "notNull": true,
748
+ "dimensions": 0,
749
+ "default": null,
750
+ "generated": null,
751
+ "identity": null,
752
+ "name": "identifier",
753
+ "entityType": "columns",
754
+ "schema": "public",
755
+ "table": "verification"
756
+ },
757
+ {
758
+ "type": "text",
759
+ "typeSchema": null,
760
+ "notNull": true,
761
+ "dimensions": 0,
762
+ "default": null,
763
+ "generated": null,
764
+ "identity": null,
765
+ "name": "value",
766
+ "entityType": "columns",
767
+ "schema": "public",
768
+ "table": "verification"
769
+ },
770
+ {
771
+ "type": "timestamp",
772
+ "typeSchema": null,
773
+ "notNull": true,
774
+ "dimensions": 0,
775
+ "default": null,
776
+ "generated": null,
777
+ "identity": null,
778
+ "name": "expires_at",
779
+ "entityType": "columns",
780
+ "schema": "public",
781
+ "table": "verification"
782
+ },
783
+ {
784
+ "type": "timestamp",
785
+ "typeSchema": null,
786
+ "notNull": true,
787
+ "dimensions": 0,
788
+ "default": "now()",
789
+ "generated": null,
790
+ "identity": null,
791
+ "name": "created_at",
792
+ "entityType": "columns",
793
+ "schema": "public",
794
+ "table": "verification"
795
+ },
796
+ {
797
+ "type": "timestamp",
798
+ "typeSchema": null,
799
+ "notNull": true,
800
+ "dimensions": 0,
801
+ "default": "now()",
802
+ "generated": null,
803
+ "identity": null,
804
+ "name": "updated_at",
805
+ "entityType": "columns",
806
+ "schema": "public",
807
+ "table": "verification"
808
+ },
809
+ {
810
+ "nameExplicit": true,
811
+ "columns": [
812
+ {
813
+ "value": "user_id",
814
+ "isExpression": false,
815
+ "asc": true,
816
+ "nullsFirst": false,
817
+ "opclass": null
818
+ }
819
+ ],
820
+ "isUnique": false,
821
+ "where": null,
822
+ "with": "",
823
+ "method": "btree",
824
+ "concurrently": false,
825
+ "name": "account_userId_idx",
826
+ "entityType": "indexes",
827
+ "schema": "public",
828
+ "table": "account"
829
+ },
830
+ {
831
+ "nameExplicit": true,
832
+ "columns": [
833
+ {
834
+ "value": "organization_id",
835
+ "isExpression": false,
836
+ "asc": true,
837
+ "nullsFirst": false,
838
+ "opclass": null
839
+ }
840
+ ],
841
+ "isUnique": false,
842
+ "where": null,
843
+ "with": "",
844
+ "method": "btree",
845
+ "concurrently": false,
846
+ "name": "invitation_organizationId_idx",
847
+ "entityType": "indexes",
848
+ "schema": "public",
849
+ "table": "invitation"
850
+ },
851
+ {
852
+ "nameExplicit": true,
853
+ "columns": [
854
+ {
855
+ "value": "email",
856
+ "isExpression": false,
857
+ "asc": true,
858
+ "nullsFirst": false,
859
+ "opclass": null
860
+ }
861
+ ],
862
+ "isUnique": false,
863
+ "where": null,
864
+ "with": "",
865
+ "method": "btree",
866
+ "concurrently": false,
867
+ "name": "invitation_email_idx",
868
+ "entityType": "indexes",
869
+ "schema": "public",
870
+ "table": "invitation"
871
+ },
872
+ {
873
+ "nameExplicit": true,
874
+ "columns": [
875
+ {
876
+ "value": "organization_id",
877
+ "isExpression": false,
878
+ "asc": true,
879
+ "nullsFirst": false,
880
+ "opclass": null
881
+ }
882
+ ],
883
+ "isUnique": false,
884
+ "where": null,
885
+ "with": "",
886
+ "method": "btree",
887
+ "concurrently": false,
888
+ "name": "member_organizationId_idx",
889
+ "entityType": "indexes",
890
+ "schema": "public",
891
+ "table": "member"
892
+ },
893
+ {
894
+ "nameExplicit": true,
895
+ "columns": [
896
+ {
897
+ "value": "user_id",
898
+ "isExpression": false,
899
+ "asc": true,
900
+ "nullsFirst": false,
901
+ "opclass": null
902
+ }
903
+ ],
904
+ "isUnique": false,
905
+ "where": null,
906
+ "with": "",
907
+ "method": "btree",
908
+ "concurrently": false,
909
+ "name": "member_userId_idx",
910
+ "entityType": "indexes",
911
+ "schema": "public",
912
+ "table": "member"
913
+ },
914
+ {
915
+ "nameExplicit": true,
916
+ "columns": [
917
+ {
918
+ "value": "user_id",
919
+ "isExpression": false,
920
+ "asc": true,
921
+ "nullsFirst": false,
922
+ "opclass": null
923
+ }
924
+ ],
925
+ "isUnique": false,
926
+ "where": null,
927
+ "with": "",
928
+ "method": "btree",
929
+ "concurrently": false,
930
+ "name": "session_userId_idx",
931
+ "entityType": "indexes",
932
+ "schema": "public",
933
+ "table": "session"
934
+ },
935
+ {
936
+ "nameExplicit": true,
937
+ "columns": [
938
+ {
939
+ "value": "identifier",
940
+ "isExpression": false,
941
+ "asc": true,
942
+ "nullsFirst": false,
943
+ "opclass": null
944
+ }
945
+ ],
946
+ "isUnique": false,
947
+ "where": null,
948
+ "with": "",
949
+ "method": "btree",
950
+ "concurrently": false,
951
+ "name": "verification_identifier_idx",
952
+ "entityType": "indexes",
953
+ "schema": "public",
954
+ "table": "verification"
955
+ },
956
+ {
957
+ "nameExplicit": false,
958
+ "columns": ["user_id"],
959
+ "schemaTo": "public",
960
+ "tableTo": "user",
961
+ "columnsTo": ["id"],
962
+ "onUpdate": "NO ACTION",
963
+ "onDelete": "CASCADE",
964
+ "name": "account_user_id_user_id_fkey",
965
+ "entityType": "fks",
966
+ "schema": "public",
967
+ "table": "account"
968
+ },
969
+ {
970
+ "nameExplicit": false,
971
+ "columns": ["organization_id"],
972
+ "schemaTo": "public",
973
+ "tableTo": "organization",
974
+ "columnsTo": ["id"],
975
+ "onUpdate": "NO ACTION",
976
+ "onDelete": "CASCADE",
977
+ "name": "invitation_organization_id_organization_id_fkey",
978
+ "entityType": "fks",
979
+ "schema": "public",
980
+ "table": "invitation"
981
+ },
982
+ {
983
+ "nameExplicit": false,
984
+ "columns": ["inviter_id"],
985
+ "schemaTo": "public",
986
+ "tableTo": "user",
987
+ "columnsTo": ["id"],
988
+ "onUpdate": "NO ACTION",
989
+ "onDelete": "CASCADE",
990
+ "name": "invitation_inviter_id_user_id_fkey",
991
+ "entityType": "fks",
992
+ "schema": "public",
993
+ "table": "invitation"
994
+ },
995
+ {
996
+ "nameExplicit": false,
997
+ "columns": ["organization_id"],
998
+ "schemaTo": "public",
999
+ "tableTo": "organization",
1000
+ "columnsTo": ["id"],
1001
+ "onUpdate": "NO ACTION",
1002
+ "onDelete": "CASCADE",
1003
+ "name": "member_organization_id_organization_id_fkey",
1004
+ "entityType": "fks",
1005
+ "schema": "public",
1006
+ "table": "member"
1007
+ },
1008
+ {
1009
+ "nameExplicit": false,
1010
+ "columns": ["user_id"],
1011
+ "schemaTo": "public",
1012
+ "tableTo": "user",
1013
+ "columnsTo": ["id"],
1014
+ "onUpdate": "NO ACTION",
1015
+ "onDelete": "CASCADE",
1016
+ "name": "member_user_id_user_id_fkey",
1017
+ "entityType": "fks",
1018
+ "schema": "public",
1019
+ "table": "member"
1020
+ },
1021
+ {
1022
+ "nameExplicit": false,
1023
+ "columns": ["user_id"],
1024
+ "schemaTo": "public",
1025
+ "tableTo": "user",
1026
+ "columnsTo": ["id"],
1027
+ "onUpdate": "NO ACTION",
1028
+ "onDelete": "CASCADE",
1029
+ "name": "session_user_id_user_id_fkey",
1030
+ "entityType": "fks",
1031
+ "schema": "public",
1032
+ "table": "session"
1033
+ },
1034
+ {
1035
+ "columns": ["id"],
1036
+ "nameExplicit": false,
1037
+ "name": "note_pkey",
1038
+ "schema": "public",
1039
+ "table": "note",
1040
+ "entityType": "pks"
1041
+ },
1042
+ {
1043
+ "columns": ["id"],
1044
+ "nameExplicit": false,
1045
+ "name": "account_pkey",
1046
+ "schema": "public",
1047
+ "table": "account",
1048
+ "entityType": "pks"
1049
+ },
1050
+ {
1051
+ "columns": ["id"],
1052
+ "nameExplicit": false,
1053
+ "name": "invitation_pkey",
1054
+ "schema": "public",
1055
+ "table": "invitation",
1056
+ "entityType": "pks"
1057
+ },
1058
+ {
1059
+ "columns": ["id"],
1060
+ "nameExplicit": false,
1061
+ "name": "member_pkey",
1062
+ "schema": "public",
1063
+ "table": "member",
1064
+ "entityType": "pks"
1065
+ },
1066
+ {
1067
+ "columns": ["id"],
1068
+ "nameExplicit": false,
1069
+ "name": "organization_pkey",
1070
+ "schema": "public",
1071
+ "table": "organization",
1072
+ "entityType": "pks"
1073
+ },
1074
+ {
1075
+ "columns": ["id"],
1076
+ "nameExplicit": false,
1077
+ "name": "session_pkey",
1078
+ "schema": "public",
1079
+ "table": "session",
1080
+ "entityType": "pks"
1081
+ },
1082
+ {
1083
+ "columns": ["id"],
1084
+ "nameExplicit": false,
1085
+ "name": "user_pkey",
1086
+ "schema": "public",
1087
+ "table": "user",
1088
+ "entityType": "pks"
1089
+ },
1090
+ {
1091
+ "columns": ["id"],
1092
+ "nameExplicit": false,
1093
+ "name": "verification_pkey",
1094
+ "schema": "public",
1095
+ "table": "verification",
1096
+ "entityType": "pks"
1097
+ },
1098
+ {
1099
+ "nameExplicit": false,
1100
+ "columns": ["slug"],
1101
+ "nullsNotDistinct": false,
1102
+ "name": "organization_slug_key",
1103
+ "schema": "public",
1104
+ "table": "organization",
1105
+ "entityType": "uniques"
1106
+ },
1107
+ {
1108
+ "nameExplicit": false,
1109
+ "columns": ["token"],
1110
+ "nullsNotDistinct": false,
1111
+ "name": "session_token_key",
1112
+ "schema": "public",
1113
+ "table": "session",
1114
+ "entityType": "uniques"
1115
+ },
1116
+ {
1117
+ "nameExplicit": false,
1118
+ "columns": ["email"],
1119
+ "nullsNotDistinct": false,
1120
+ "name": "user_email_key",
1121
+ "schema": "public",
1122
+ "table": "user",
1123
+ "entityType": "uniques"
1124
+ }
1125
+ ],
1126
+ "renames": []
1127
+ }