mirror of
https://github.com/openvk/openvk
synced 2024-11-11 09:29:29 +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;
|