mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
SQL: Fix rating and notifications
Hopefully resolves #587 and some other issues
This commit is contained in:
parent
4147d0478a
commit
e1072738fd
2 changed files with 4 additions and 0 deletions
2
install/sqls/00026-rating-fixed.sql
Normal file
2
install/sqls/00026-rating-fixed.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE `profiles` CHANGE `coins` `coins` bigint(20) unsigned NOT NULL DEFAULT '0' AFTER `email`;
|
||||
ALTER TABLE `profiles` ADD COLUMN `rating` bigint(20) unsigned NOT NULL DEFAULT '0' AFTER `coins`;
|
2
install/sqls/00027-EVENTDB-notifications-fixed.sql
Normal file
2
install/sqls/00027-EVENTDB-notifications-fixed.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE `notifications` CHANGE `modelAction` `modelAction` mediumint(3) unsigned NOT NULL AFTER `targetModelId`;
|
||||
ALTER TABLE `notifications` CHANGE `additionalData` `additionalData` text COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `modelAction`;
|
Loading…
Reference in a new issue