Merge pull request #43 from atridadl/dev

2.0.3
🚧 Optimized upset query for Votes: ~2x performance improvement
🚧 Moved all webhooks and public/private functions to edge functions
🚧 Upstash rate limiting now works on the middleware level instead of needing to be done in each function call
This commit is contained in:
Atridad Lahiji 2023-08-20 19:11:25 -06:00 committed by GitHub
commit 5677d0f659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "sprintpadawan", "name": "sprintpadawan",
"version": "2.0.2", "version": "2.0.3",
"description": "Plan. Sprint. Repeat.", "description": "Plan. Sprint. Repeat.",
"private": true, "private": true,
"scripts": { "scripts": {

View file

@ -55,9 +55,7 @@ export const logs = pgTable(
{ {
id: varchar("id", { length: 255 }).notNull().primaryKey(), id: varchar("id", { length: 255 }).notNull().primaryKey(),
created_at: timestamp("created_at").defaultNow(), created_at: timestamp("created_at").defaultNow(),
userId: varchar("userId", { length: 255 }) userId: varchar("userId", { length: 255 }).notNull(),
.notNull()
.references(() => rooms.id, { onDelete: "cascade" }),
roomId: varchar("roomId", { length: 255 }) roomId: varchar("roomId", { length: 255 })
.notNull() .notNull()
.references(() => rooms.id, { onDelete: "cascade" }), .references(() => rooms.id, { onDelete: "cascade" }),