Skip to content

Commit 452dfbc

Browse files
authored
Merge branch 'main' into chore/remove-oauth-provider-kind
2 parents 17afdf4 + 7f4ec8f commit 452dfbc

172 files changed

Lines changed: 9184 additions & 4344 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ apps/code/assets/fonts/BerkeleyMono/
5656

5757
# Local dev skills (override shipped + remote skills in dev mode)
5858
plugins/posthog/local-skills/
59+
60+
# Symlinked copies of posthog, to make developing against those APIs easier
61+
posthog-sym

apps/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
"@codemirror/lang-xml": "^6.1.0",
110110
"@codemirror/lang-yaml": "^6.1.2",
111111
"@codemirror/language": "^6.12.2",
112-
"@codemirror/merge": "^6.12.0",
113112
"@codemirror/search": "^6.6.0",
114113
"@codemirror/state": "^6.5.4",
115114
"@codemirror/view": "^6.39.17",
@@ -125,6 +124,7 @@
125124
"@opentelemetry/semantic-conventions": "^1.39.0",
126125
"@parcel/watcher": "^2.5.6",
127126
"@phosphor-icons/react": "^2.1.10",
127+
"@pierre/diffs": "^1.1.7",
128128
"@posthog/agent": "workspace:*",
129129
"@posthog/electron-trpc": "workspace:*",
130130
"@posthog/git": "workspace:*",
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE `auth_sessions` (
2+
`id` integer PRIMARY KEY NOT NULL CHECK (`id` = 1),
3+
`refresh_token_encrypted` text NOT NULL,
4+
`cloud_region` text NOT NULL,
5+
`selected_project_id` integer,
6+
`scope_version` integer NOT NULL,
7+
`created_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
8+
`updated_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL
9+
);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE `auth_preferences` (
2+
`account_key` text NOT NULL,
3+
`cloud_region` text NOT NULL,
4+
`last_selected_project_id` integer,
5+
`created_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
6+
`updated_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL
7+
);
8+
--> statement-breakpoint
9+
CREATE INDEX `auth_preferences_account_region_idx` ON `auth_preferences` (`account_key`,`cloud_region`);

0 commit comments

Comments
 (0)