1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 07:19:22 +00:00
comunicapiv3/docs/migration.sql

9 lines
593 B
MySQL
Raw Normal View History

2021-02-14 15:18:13 +00:00
-- 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`;