1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-02-16 22:12:39 +00:00
comunicapiv3/docs/migration.sql

14 lines
491 B
MySQL
Raw Normal View History

2021-04-10 19:04:08 +02:00
-- User table
ALTER TABLE `utilisateurs`
ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;
2021-04-10 19:17:11 +02:00
ALTER TABLE `utilisateurs`
ADD COLUMN `allow_notif_sound` INT NULL DEFAULT 1 AFTER `allow_notif_conv`;
2021-04-11 15:02:01 +02:00
-- Clients table
ALTER TABLE `comunic_clients`
ADD COLUMN `firebase_token` VARCHAR(255) NULL AFTER `default_expiration_time`;
-- Tokens table
ALTER TABLE `comunic_user_access_tokens`
ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`;