# third party
from sqlalchemy import Column
from sqlalchemy import DateTime
from sqlalchemy import ForeignKey
from sqlalchemy import Integer
from sqlalchemy import JSON
from sqlalchemy import String

# relative
from . import Base


class Request(Base):
    """Request.

    Columns:
        id (Integer, Primary Key): Cycle ID.
        date (TIME): Start time.
        user_id (Integer, Foreign Key): ID of the User that created the request.
        user_name (String): Email of the User that created the request.
        object_id (String): Target object to change in permisions.
        reason (String): Motivation of the request.
        status (String): The status of the request, wich can be 'pending', 'accepted' or 'denied'.
        request_type (String): Wheter the type of the request is 'permissions' or 'budget'.
        verify_key (String): User Verify Key.
    """

    __tablename__ = "request"

    id = Column(String(255), primary_key=True)
    date = Column(DateTime())
    user_id = Column(Integer, ForeignKey("syft_user.id"))
    user_name = Column(String(255))
    object_id = Column(String(255))
    reason = Column(String(255))
    status = Column(String(255), default="pending")
    request_type = Column(String(255))
    verify_key = Column(String(255))
    object_type = Column(String(255))
    tags = Column(JSON())

    def __str__(self) -> str:
        return (
            f"< Request id : {self.id}, user: {self.user_id}, Date: {self.date}, Object: {self.object_id},"
            f" reason: {self.reason}, status: {self.status}, type: {self.object_type} >"
        )

@@ -69,16 +69,45 @@
 ateTime%0A
+from sqlalchemy import Float%0A
 from sql
@@ -1095,32 +1095,211 @@
 mn(String(255))%0A
+    user_email = Column(String(255))%0A    user_role = Column(String(255))%0A    user_budget = Column(Float())%0A    institution = Column(String(255))%0A    website = Column(String(255))%0A
     object_id = 

UPDATE database requests table