mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Update database structure
This commit is contained in:
		| @@ -250,6 +250,8 @@ CREATE TABLE `utilisateurs` ( | ||||
|   `delete_likes_after` int DEFAULT '0', | ||||
|   `allow_notif_conv` int DEFAULT '1', | ||||
|   `allow_notif_sound` int DEFAULT '1', | ||||
|   `is_email_visible` int DEFAULT '0', | ||||
|   `location` varchar(45) DEFAULT NULL, | ||||
|   PRIMARY KEY (`ID`) | ||||
| ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4; | ||||
|  | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| -- Nothing yet | ||||
| ALTER TABLE `utilisateurs` | ||||
|     ADD COLUMN `is_email_visible` INT NULL DEFAULT 0 AFTER `allow_notif_sound`, | ||||
|     ADD COLUMN `location` VARCHAR(45) NULL AFTER `is_email_visible`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user