6 lines
253 B
MySQL
6 lines
253 B
MySQL
|
|
-- Add rejected column to wishlist_items
|
||
|
|
ALTER TABLE wishlist_items ADD COLUMN rejected BOOLEAN DEFAULT FALSE;
|
||
|
|
|
||
|
|
-- Create index for filtering by rejected status
|
||
|
|
CREATE INDEX idx_wishlist_items_rejected ON wishlist_items(rejected) WHERE rejected = TRUE;
|