Created update button for workspace settings -- these include TIMEZONE and WORKSPACE NAME
This commit is contained in:
@@ -82,3 +82,10 @@ class Session(Base):
|
||||
device = Column(String, nullable=False)
|
||||
location = Column(String)
|
||||
last_active = Column(DateTime(timezone=True), server_default=func.now())
|
||||
|
||||
class Workspace(Base):
|
||||
__tablename__ = "workspace"
|
||||
|
||||
id = Column(String, primary_key=True)
|
||||
name = Column(String, nullable=False)
|
||||
timezone = Column(String, nullable=False, default="Pacific/Auckland")
|
||||
|
||||
Reference in New Issue
Block a user