From ad17d33660e1d15f52081d1332abbff52a2108d6 Mon Sep 17 00:00:00 2001 From: w Date: Wed, 25 Jun 2025 00:26:11 -0300 Subject: [PATCH] Update card stats migration to set default values for power, charm, and wit columns to 0 --- migrations/0006_card_stats.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migrations/0006_card_stats.sql b/migrations/0006_card_stats.sql index 7d6b4bd..66e2d9b 100644 --- a/migrations/0006_card_stats.sql +++ b/migrations/0006_card_stats.sql @@ -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)); \ No newline at end of file + ADD COLUMN wit INTEGER NOT NULL DEFAULT 0; \ No newline at end of file