1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-25 23:09:22 +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`;