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",
|
"name": "sprintpadawan",
|
||||||
"version": "2.0.2",
|
"version": "2.0.3",
|
||||||
"description": "Plan. Sprint. Repeat.",
|
"description": "Plan. Sprint. Repeat.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -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" }),
|
||||||
|
|
Loading…
Add table
Reference in a new issue