Skip to content

Commit

Permalink
fix: Remove password length restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Aug 3, 2024
1 parent a27f32f commit 956f205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ContainerRegistryRow(Base):
)
project = sa.Column("project", sa.String(length=255), nullable=False)
username = sa.Column("username", sa.String(length=255), nullable=True)
password = sa.Column("password", sa.String(length=255), nullable=True)
password = sa.Column("password", sa.String, nullable=True)
ssl_verify = sa.Column("ssl_verify", sa.Boolean, server_default=sa.text("true"), index=True)
is_global = sa.Column("is_global", sa.Boolean, server_default=sa.text("true"), index=True)

Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/manager/models/container_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ContainerRegistryRow(Base):
)
project = sa.Column("project", sa.String(length=255), index=True, nullable=False)
username = sa.Column("username", sa.String(length=255), nullable=True)
password = sa.Column("password", sa.String(length=255), nullable=True)
password = sa.Column("password", sa.String, nullable=True)
ssl_verify = sa.Column(
"ssl_verify", sa.Boolean, nullable=True, server_default=sa.text("true"), index=True
)
Expand Down

0 comments on commit 956f205

Please sign in to comment.