PHP Classes

File: SQL File

Recommend this page to a friend!
  Packages of Matthew Asham   Binkterm PHP   database/migrations/v1.4.8_add_last_reminded_field.sql   Download  
File: database/migrations/v1.4.8_add_last_reminded_field.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Binkterm PHP
Bulletin board system based on the Web
Author: By
Last change:
Date: 1 month ago
Size: 515 bytes
 

Contents

Class file image Download
-- Add last_reminded field to users table for tracking reminder emails -- This allows tracking when reminders were last sent to users ALTER TABLE users ADD COLUMN last_reminded TIMESTAMP; -- Create index for better query performance when searching by last_reminded dates CREATE INDEX IF NOT EXISTS idx_users_last_reminded ON users(last_reminded); -- Optional: Add a comment to the column for documentation COMMENT ON COLUMN users.last_reminded IS 'Timestamp when the last account reminder was sent to this user';