2021-04-10 17:04:08 +00:00
|
|
|
-- User table
|
|
|
|
ALTER TABLE `utilisateurs`
|
|
|
|
ADD COLUMN `allow_notif_conv` INT NULL DEFAULT 1 AFTER `delete_likes_after`;
|
2021-04-10 17:17:11 +00:00
|
|
|
ALTER TABLE `utilisateurs`
|
|
|
|
ADD COLUMN `allow_notif_sound` INT NULL DEFAULT 1 AFTER `allow_notif_conv`;
|
2021-04-11 13:02:01 +00:00
|
|
|
|
|
|
|
-- Clients table
|
|
|
|
ALTER TABLE `comunic_clients`
|
2021-04-15 13:32:47 +00:00
|
|
|
ADD COLUMN `firebase_service_account_file` TEXT NULL AFTER `default_expiration_time`;
|
2021-04-15 17:32:16 +00:00
|
|
|
ALTER TABLE `comunic_clients`
|
|
|
|
ADD COLUMN `firebase_project_name` VARCHAR(45) NULL AFTER `default_expiration_time`;
|
|
|
|
|
2021-04-11 13:02:01 +00:00
|
|
|
|
|
|
|
-- Tokens table
|
|
|
|
ALTER TABLE `comunic_user_access_tokens`
|
|
|
|
ADD COLUMN `push_notifications_token` TEXT NULL AFTER `timeout`;
|