feat: add cards templete

This commit is contained in:
2026-06-24 10:47:54 +03:30
parent 60494946d6
commit b1c7bfdd06
124 changed files with 422 additions and 30 deletions
+16
View File
@@ -0,0 +1,16 @@
-- فصلِ رتبه‌بندی: امتیازِ رتبه‌ی کاربر + جایزه‌ی رتبه برای انواع میز.
ALTER TABLE users ADD COLUMN rank_points INTEGER NOT NULL DEFAULT 0;
ALTER TABLE table_tiers ADD COLUMN rank_reward INTEGER NOT NULL DEFAULT 0;
-- میزِ رتبه‌بندی (ورودی ۵۰۰ سکه، قابلِ ویرایش در پنل ادمین).
INSERT OR IGNORE INTO table_tiers
(id, title, hands, entry, prize, xp, trophy, rank_reward, sort, enabled)
VALUES
('ranked', 'رتبه‌بندی', 7, 500, 0, 20, 0, 30, 10, 1);
-- شماره‌ی فصلِ جاری (با ریست‌شدن توسط ادمین زیاد می‌شود).
CREATE TABLE IF NOT EXISTS app_settings (
key TEXT PRIMARY KEY,
value INTEGER NOT NULL
);
INSERT OR IGNORE INTO app_settings (key, value) VALUES ('season', 1);