From 93c272d96f0ed7a73463060ee2be209e0d853214 Mon Sep 17 00:00:00 2001 From: vestor-dev <182824106+vestor-dev@users.noreply.github.com> Date: Mon, 25 Nov 2024 07:52:01 +0000 Subject: [PATCH] fmt --- web_app/alembic/versions/1a6fada80369_add_postion_columns.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web_app/alembic/versions/1a6fada80369_add_postion_columns.py b/web_app/alembic/versions/1a6fada80369_add_postion_columns.py index 3f039b36..fdafe39f 100644 --- a/web_app/alembic/versions/1a6fada80369_add_postion_columns.py +++ b/web_app/alembic/versions/1a6fada80369_add_postion_columns.py @@ -10,7 +10,8 @@ - Adds `liquidation_bonus` (Float): Represents any bonus applied during the liquidation process. - Adds `is_liquidated` (Boolean): Marks whether the position has been liquidated. - Adds `datetime_liquidation` (DateTime): Stores the timestamp of when the position was liquidated. -These changes enhance the functionality of the `position` table by allowing better tracking of liquidation-related events and attributes. +These changes enhance the functionality of the `position` table by +allowing better tracking of liquidation-related events and attributes. """ from alembic import op @@ -29,7 +30,7 @@ def upgrade() -> None: Apply the upgrade. This function adds four new columns to the `position` table: - - `is_protection`: A boolean field that indicates whether protection is enabled for the position. + - `is_protection`: A boolean field that indicates whether protection is enabled. - `liquidation_bonus`: A float field to store any bonuses applied during liquidation. - `is_liquidated`: A boolean field to indicate if the position has been liquidated. - `datetime_liquidation`: A datetime field to record when the liquidation occurred.