fix: stop giving reservers edit access when they save a wishlist
This commit is contained in:
@@ -134,6 +134,7 @@ export const savedWishlists = pgTable('saved_wishlists', {
|
||||
wishlistId: text('wishlist_id')
|
||||
.notNull()
|
||||
.references(() => wishlists.id, { onDelete: 'cascade' }),
|
||||
ownerToken: text('owner_token'), // Stores the owner token if user has edit access (claimed via edit link)
|
||||
isFavorite: boolean('is_favorite').default(false).notNull(),
|
||||
createdAt: timestamp('created_at').defaultNow().notNull()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user