mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
upload
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- Add source column to contact_messages to differentiate between contact page and sponsor page
|
||||
ALTER TABLE contact_messages ADD COLUMN IF NOT EXISTS source VARCHAR(50) DEFAULT 'contact';
|
||||
|
||||
-- Create index for faster filtering by source
|
||||
CREATE INDEX IF NOT EXISTS idx_contact_messages_source ON contact_messages(source);
|
||||
|
||||
-- Add comment for clarity
|
||||
COMMENT ON COLUMN contact_messages.source IS 'Source of the message: contact, sponsor, etc.';
|
||||
Reference in New Issue
Block a user