Added table and general functions for stats system #21

Merged
waifu merged 16 commits from stats_system into dev 2025-06-25 20:45:13 -07:00
Showing only changes of commit ad17d33660 - Show all commits

View file

@ -17,10 +17,10 @@ along with this program. If not, see https://www.gnu.org/licenses/.
*/
ALTER TABLE card
ADD COLUMN power INTEGER NOT NULL DEFAULT (abs(random() % 9999));
ADD COLUMN power INTEGER NOT NULL DEFAULT 0;
ALTER TABLE card
ADD COLUMN charm INTEGER NOT NULL DEFAULT (abs(random() % 9999));
ADD COLUMN charm INTEGER NOT NULL DEFAULT 0;
ALTER TABLE card
ADD COLUMN wit INTEGER NOT NULL DEFAULT (abs(random() % 9999));
ADD COLUMN wit INTEGER NOT NULL DEFAULT 0;