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:
commit
5677d0f659
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "sprintpadawan",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "Plan. Sprint. Repeat.",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
@ -55,9 +55,7 @@ export const logs = pgTable(
|
|||
{
|
||||
id: varchar("id", { length: 255 }).notNull().primaryKey(),
|
||||
created_at: timestamp("created_at").defaultNow(),
|
||||
userId: varchar("userId", { length: 255 })
|
||||
.notNull()
|
||||
.references(() => rooms.id, { onDelete: "cascade" }),
|
||||
userId: varchar("userId", { length: 255 }).notNull(),
|
||||
roomId: varchar("roomId", { length: 255 })
|
||||
.notNull()
|
||||
.references(() => rooms.id, { onDelete: "cascade" }),
|
||||
|
|
Loading…
Add table
Reference in a new issue