From 51ea172bc2f02290907745e12f4db40bd44a111f Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 25 Oct 2024 14:32:40 +0100 Subject: [PATCH] fix: migrations --- migrations.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/migrations.py b/migrations.py index ad515f5..f68068d 100644 --- a/migrations.py +++ b/migrations.py @@ -142,10 +142,3 @@ async def m007_add_created_at_timestamp(db): "ALTER TABLE withdraw.withdraw_link " f"ADD COLUMN created_at TIMESTAMP DEFAULT {db.timestamp_column_default}" ) - # Set created_at to current time for all existing rows - await db.execute( - f""" - UPDATE withdraw.withdraw_link SET created_at = {db.timestamp_placeholder} - """, - (int(time()),), - )