diff --git a/src/cogs/social_credit.py b/src/cogs/social_credit.py index 7f88152..498aeaa 100644 --- a/src/cogs/social_credit.py +++ b/src/cogs/social_credit.py @@ -58,10 +58,12 @@ class SocialCredit(commands.Cog): await self.bot.db.execute(""" CREATE TABLE IF NOT EXISTS social_credit ( user_id BIGINT PRIMARY KEY, - credit_score SMALLINT NOT NULL + credit_score INTEGER NOT NULL ); """) + await self.bot.db.execute("ALTER TABLE social_credit ALTER COLUMN credit_score TYPE INTEGER;") + def add_new_citizen(func): """ Decorator that, when used, make sure that a user is inserted