mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +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;
|