1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-29 06:58:50 +00:00
comunicapiv3/docs/migration.sql

9 lines
593 B
SQL

-- Update users table
ALTER TABLE `utilisateurs`
ADD COLUMN `delete_account_after` INT NULL DEFAULT 0 AFTER `account_image_visibility`,
ADD COLUMN `delete_notifications_after` INT NULL DEFAULT 7776000 AFTER `delete_account_after`,
ADD COLUMN `delete_comments_after` INT NULL DEFAULT 0 AFTER `delete_notifications_after`,
ADD COLUMN `delete_posts_after` INT NULL DEFAULT 0 AFTER `delete_comments_after`,
ADD COLUMN `delete_conversation_messages_after` INT NULL DEFAULT 0 AFTER `delete_posts_after`,
ADD COLUMN `delete_likes_after` INT NULL DEFAULT 0 AFTER `delete_conversation_messages_after`;