27.lua

main 8 lines · 417 bytes Raw
Alex Alex Commit Server upload 18/10/2026 23:38
1function onUpdateDatabase()
2 print("> Updating database to version 27 (data type mismatch)")
3 db.query("ALTER TABLE `players` CHANGE `manaspent` `manaspent` bigint unsigned NOT NULL DEFAULT '0'");
4 db.query("ALTER TABLE `players` CHANGE `experience` `experience` bigint unsigned NOT NULL DEFAULT '0'");
5 db.query("ALTER TABLE `players` CHANGE `onlinetime` `onlinetime` bigint NOT NULL DEFAULT '0'");
6 return true
7end
8
Top