Initial commit: Club DynaSQY

This commit is contained in:
2026-08-23 09:04:47 +00:00
commit 0875890dc7
145 changed files with 16947 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
-- Migration: add email invitation columns to invites table
-- Run this on the existing database before deploying the new code
ALTER TABLE invites
ADD COLUMN statut ENUM('en_attente','acceptee','refusee') NOT NULL DEFAULT 'en_attente'
AFTER mail_envoye,
ADD COLUMN token VARCHAR(64) DEFAULT NULL
AFTER statut,
ADD COLUMN invitation_sent_at TIMESTAMP NULL DEFAULT NULL
AFTER token,
ADD COLUMN photo_url VARCHAR(255) DEFAULT NULL
AFTER invitation_sent_at,
ADD COLUMN site_web VARCHAR(255) DEFAULT NULL
AFTER photo_url,
ADD COLUMN visit_number INT UNSIGNED NOT NULL DEFAULT 1
AFTER photo_url;