mirror of
https://github.com/openvk/openvk
synced 2024-11-16 03:59:19 +03:00
4 lines
222 B
MySQL
4 lines
222 B
MySQL
|
ALTER TABLE `profiles` ADD COLUMN `birthday_privacy` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
|
||
|
UPDATE `profiles` SET `birthday_privacy` = 2 WHERE `birthday` = 0;
|
||
|
UPDATE `profiles` SET `birthday` = NULL WHERE `birthday` = 0;
|