1
1
Fork 0
mirror of https://github.com/openvk/openvk synced 2025-01-13 19:43:13 +03:00
openvk/install/sqls/00027-better-birthdays.sql

4 lines
222 B
MySQL
Raw Normal View History

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;