@authhero/drizzle 1.12.0 → 1.13.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.
@@ -0,0 +1,39 @@
1
+ CREATE TABLE `organization_connections` (
2
+ `tenant_id` text(191) NOT NULL,
3
+ `organization_id` text(21) NOT NULL,
4
+ `connection_id` text(191) NOT NULL,
5
+ `assign_membership_on_login` integer DEFAULT 0 NOT NULL,
6
+ `show_as_button` integer DEFAULT 1 NOT NULL,
7
+ `is_signup_enabled` integer DEFAULT 1 NOT NULL,
8
+ `created_at` text(35) NOT NULL,
9
+ `updated_at` text(35) NOT NULL,
10
+ PRIMARY KEY(`tenant_id`, `organization_id`, `connection_id`)
11
+ );
12
+ --> statement-breakpoint
13
+ CREATE TABLE `log_streams` (
14
+ `id` text(64) PRIMARY KEY NOT NULL,
15
+ `tenant_id` text(191) NOT NULL,
16
+ `name` text(255) NOT NULL,
17
+ `type` text(64) NOT NULL,
18
+ `status` text(32) NOT NULL,
19
+ `sink` text NOT NULL,
20
+ `filters` text,
21
+ `is_priority` integer,
22
+ `created_at` text(35) NOT NULL,
23
+ `updated_at` text(35) NOT NULL
24
+ );
25
+ --> statement-breakpoint
26
+ CREATE INDEX `idx_log_streams_tenant_id` ON `log_streams` (`tenant_id`);--> statement-breakpoint
27
+ CREATE TABLE `migration_sources` (
28
+ `id` text(64) PRIMARY KEY NOT NULL,
29
+ `tenant_id` text(191) NOT NULL,
30
+ `name` text(255) NOT NULL,
31
+ `provider` text(32) NOT NULL,
32
+ `connection` text(255) NOT NULL,
33
+ `enabled` integer NOT NULL,
34
+ `credentials` text NOT NULL,
35
+ `created_at` text(35) NOT NULL,
36
+ `updated_at` text(35) NOT NULL
37
+ );
38
+ --> statement-breakpoint
39
+ CREATE INDEX `idx_migration_sources_tenant_id` ON `migration_sources` (`tenant_id`);