Skip to content

Commit 0b6750e

Browse files
committed
Upgrade dependencies
1 parent ade46f0 commit 0b6750e

Some content is hidden

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

68 files changed

+15424
-7702
lines changed

drizzle/0058_update-drizzle-orm.sql

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
DROP INDEX "posts_visibility_actor_id_sharing_id_index";--> statement-breakpoint
2+
DROP INDEX "posts_visibility_actor_id_reply_target_id_index";--> statement-breakpoint
3+
ALTER TABLE "account_owners" ALTER COLUMN "followed_tags" SET DEFAULT '{}';--> statement-breakpoint
4+
CREATE INDEX "posts_visibility_actor_id_sharing_id_index" ON "posts" USING btree ("visibility","actor_id","sharing_id") WHERE "posts"."sharing_id" is not null;--> statement-breakpoint
5+
CREATE INDEX "posts_visibility_actor_id_reply_target_id_index" ON "posts" USING btree ("visibility","actor_id","reply_target_id") WHERE "posts"."reply_target_id" is not null;--> statement-breakpoint
6+
DELETE FROM "follows" WHERE "follows"."following_id" = "follows"."follower_id";--> statement-breakpoint
7+
ALTER TABLE "follows" ADD CONSTRAINT "ck_follows_self" CHECK ("follows"."following_id" != "follows"."follower_id");

drizzle/meta/0000_snapshot.json

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"id": "f6a7966d-e4a0-4a79-8618-d2fabc21e93d",
3-
"prevId": "00000000-0000-0000-0000-000000000000",
4-
"version": "6",
2+
"version": "7",
53
"dialect": "postgresql",
64
"tables": {
75
"public.credentials": {
@@ -31,14 +29,23 @@
3129
"indexes": {},
3230
"foreignKeys": {},
3331
"compositePrimaryKeys": {},
34-
"uniqueConstraints": {}
32+
"uniqueConstraints": {},
33+
"policies": {},
34+
"isRLSEnabled": false,
35+
"checkConstraints": {}
3536
}
3637
},
3738
"enums": {},
3839
"schemas": {},
3940
"_meta": {
40-
"columns": {},
4141
"schemas": {},
42-
"tables": {}
43-
}
42+
"tables": {},
43+
"columns": {}
44+
},
45+
"id": "f6a7966d-e4a0-4a79-8618-d2fabc21e93d",
46+
"prevId": "00000000-0000-0000-0000-000000000000",
47+
"sequences": {},
48+
"policies": {},
49+
"views": {},
50+
"roles": {}
4451
}

drizzle/meta/0001_snapshot.json

+29-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"id": "ca693333-cc5c-41b8-a4c1-8b750472348b",
3-
"prevId": "f6a7966d-e4a0-4a79-8618-d2fabc21e93d",
4-
"version": "6",
2+
"version": "7",
53
"dialect": "postgresql",
64
"tables": {
75
"public.account_owners": {
@@ -38,19 +36,22 @@
3836
"account_owners_id_accounts_id_fk": {
3937
"name": "account_owners_id_accounts_id_fk",
4038
"tableFrom": "account_owners",
41-
"tableTo": "accounts",
4239
"columnsFrom": [
4340
"id"
4441
],
42+
"tableTo": "accounts",
4543
"columnsTo": [
4644
"id"
4745
],
48-
"onDelete": "no action",
49-
"onUpdate": "no action"
46+
"onUpdate": "no action",
47+
"onDelete": "no action"
5048
}
5149
},
5250
"compositePrimaryKeys": {},
53-
"uniqueConstraints": {}
51+
"uniqueConstraints": {},
52+
"policies": {},
53+
"isRLSEnabled": false,
54+
"checkConstraints": {}
5455
},
5556
"public.accounts": {
5657
"name": "accounts",
@@ -177,19 +178,22 @@
177178
"uniqueConstraints": {
178179
"accounts_iri_unique": {
179180
"name": "accounts_iri_unique",
180-
"nullsNotDistinct": false,
181181
"columns": [
182182
"iri"
183-
]
183+
],
184+
"nullsNotDistinct": false
184185
},
185186
"accounts_handle_unique": {
186187
"name": "accounts_handle_unique",
187-
"nullsNotDistinct": false,
188188
"columns": [
189189
"handle"
190-
]
190+
],
191+
"nullsNotDistinct": false
191192
}
192-
}
193+
},
194+
"policies": {},
195+
"isRLSEnabled": false,
196+
"checkConstraints": {}
193197
},
194198
"public.credentials": {
195199
"name": "credentials",
@@ -218,7 +222,10 @@
218222
"indexes": {},
219223
"foreignKeys": {},
220224
"compositePrimaryKeys": {},
221-
"uniqueConstraints": {}
225+
"uniqueConstraints": {},
226+
"policies": {},
227+
"isRLSEnabled": false,
228+
"checkConstraints": {}
222229
}
223230
},
224231
"enums": {
@@ -236,8 +243,14 @@
236243
},
237244
"schemas": {},
238245
"_meta": {
239-
"columns": {},
240246
"schemas": {},
241-
"tables": {}
242-
}
247+
"tables": {},
248+
"columns": {}
249+
},
250+
"id": "ca693333-cc5c-41b8-a4c1-8b750472348b",
251+
"prevId": "f6a7966d-e4a0-4a79-8618-d2fabc21e93d",
252+
"sequences": {},
253+
"policies": {},
254+
"views": {},
255+
"roles": {}
243256
}

drizzle/meta/0002_snapshot.json

+29-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"id": "14e386a0-1163-4887-ab18-e638a4e624f4",
3-
"prevId": "ca693333-cc5c-41b8-a4c1-8b750472348b",
4-
"version": "6",
2+
"version": "7",
53
"dialect": "postgresql",
64
"tables": {
75
"public.account_owners": {
@@ -38,19 +36,22 @@
3836
"account_owners_id_accounts_id_fk": {
3937
"name": "account_owners_id_accounts_id_fk",
4038
"tableFrom": "account_owners",
41-
"tableTo": "accounts",
4239
"columnsFrom": [
4340
"id"
4441
],
42+
"tableTo": "accounts",
4543
"columnsTo": [
4644
"id"
4745
],
48-
"onDelete": "no action",
49-
"onUpdate": "no action"
46+
"onUpdate": "no action",
47+
"onDelete": "no action"
5048
}
5149
},
5250
"compositePrimaryKeys": {},
53-
"uniqueConstraints": {}
51+
"uniqueConstraints": {},
52+
"policies": {},
53+
"isRLSEnabled": false,
54+
"checkConstraints": {}
5455
},
5556
"public.accounts": {
5657
"name": "accounts",
@@ -177,19 +178,22 @@
177178
"uniqueConstraints": {
178179
"accounts_iri_unique": {
179180
"name": "accounts_iri_unique",
180-
"nullsNotDistinct": false,
181181
"columns": [
182182
"iri"
183-
]
183+
],
184+
"nullsNotDistinct": false
184185
},
185186
"accounts_handle_unique": {
186187
"name": "accounts_handle_unique",
187-
"nullsNotDistinct": false,
188188
"columns": [
189189
"handle"
190-
]
190+
],
191+
"nullsNotDistinct": false
191192
}
192-
}
193+
},
194+
"policies": {},
195+
"isRLSEnabled": false,
196+
"checkConstraints": {}
193197
},
194198
"public.credentials": {
195199
"name": "credentials",
@@ -218,7 +222,10 @@
218222
"indexes": {},
219223
"foreignKeys": {},
220224
"compositePrimaryKeys": {},
221-
"uniqueConstraints": {}
225+
"uniqueConstraints": {},
226+
"policies": {},
227+
"isRLSEnabled": false,
228+
"checkConstraints": {}
222229
}
223230
},
224231
"enums": {
@@ -236,8 +243,14 @@
236243
},
237244
"schemas": {},
238245
"_meta": {
239-
"columns": {},
240246
"schemas": {},
241-
"tables": {}
242-
}
247+
"tables": {},
248+
"columns": {}
249+
},
250+
"id": "14e386a0-1163-4887-ab18-e638a4e624f4",
251+
"prevId": "ca693333-cc5c-41b8-a4c1-8b750472348b",
252+
"sequences": {},
253+
"policies": {},
254+
"views": {},
255+
"roles": {}
243256
}

drizzle/meta/0003_snapshot.json

+35-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"id": "71774c27-b28a-47e3-9d52-0f220e172770",
3-
"prevId": "14e386a0-1163-4887-ab18-e638a4e624f4",
4-
"version": "6",
2+
"version": "7",
53
"dialect": "postgresql",
64
"tables": {
75
"public.account_owners": {
@@ -38,19 +36,22 @@
3836
"account_owners_id_accounts_id_fk": {
3937
"name": "account_owners_id_accounts_id_fk",
4038
"tableFrom": "account_owners",
41-
"tableTo": "accounts",
4239
"columnsFrom": [
4340
"id"
4441
],
42+
"tableTo": "accounts",
4543
"columnsTo": [
4644
"id"
4745
],
48-
"onDelete": "no action",
49-
"onUpdate": "no action"
46+
"onUpdate": "no action",
47+
"onDelete": "no action"
5048
}
5149
},
5250
"compositePrimaryKeys": {},
53-
"uniqueConstraints": {}
51+
"uniqueConstraints": {},
52+
"policies": {},
53+
"isRLSEnabled": false,
54+
"checkConstraints": {}
5455
},
5556
"public.accounts": {
5657
"name": "accounts",
@@ -177,19 +178,22 @@
177178
"uniqueConstraints": {
178179
"accounts_iri_unique": {
179180
"name": "accounts_iri_unique",
180-
"nullsNotDistinct": false,
181181
"columns": [
182182
"iri"
183-
]
183+
],
184+
"nullsNotDistinct": false
184185
},
185186
"accounts_handle_unique": {
186187
"name": "accounts_handle_unique",
187-
"nullsNotDistinct": false,
188188
"columns": [
189189
"handle"
190-
]
190+
],
191+
"nullsNotDistinct": false
191192
}
192-
}
193+
},
194+
"policies": {},
195+
"isRLSEnabled": false,
196+
"checkConstraints": {}
193197
},
194198
"public.applications": {
195199
"name": "applications",
@@ -244,12 +248,15 @@
244248
"uniqueConstraints": {
245249
"applications_client_id_unique": {
246250
"name": "applications_client_id_unique",
247-
"nullsNotDistinct": false,
248251
"columns": [
249252
"client_id"
250-
]
253+
],
254+
"nullsNotDistinct": false
251255
}
252-
}
256+
},
257+
"policies": {},
258+
"isRLSEnabled": false,
259+
"checkConstraints": {}
253260
},
254261
"public.credentials": {
255262
"name": "credentials",
@@ -278,7 +285,10 @@
278285
"indexes": {},
279286
"foreignKeys": {},
280287
"compositePrimaryKeys": {},
281-
"uniqueConstraints": {}
288+
"uniqueConstraints": {},
289+
"policies": {},
290+
"isRLSEnabled": false,
291+
"checkConstraints": {}
282292
}
283293
},
284294
"enums": {
@@ -330,8 +340,14 @@
330340
},
331341
"schemas": {},
332342
"_meta": {
333-
"columns": {},
334343
"schemas": {},
335-
"tables": {}
336-
}
344+
"tables": {},
345+
"columns": {}
346+
},
347+
"id": "71774c27-b28a-47e3-9d52-0f220e172770",
348+
"prevId": "14e386a0-1163-4887-ab18-e638a4e624f4",
349+
"sequences": {},
350+
"policies": {},
351+
"views": {},
352+
"roles": {}
337353
}

0 commit comments

Comments
 (0)