diff --git a/backend/migrations/versions/782a2409df41_raise_password_char_length.py b/backend/migrations/versions/782a2409df41_raise_password_char_length.py
new file mode 100644
index 0000000..271f32d
--- /dev/null
+++ b/backend/migrations/versions/782a2409df41_raise_password_char_length.py
@@ -0,0 +1,38 @@
+"""raise password char length
+
+Revision ID: 782a2409df41
+Revises: 926395732c3e
+Create Date: 2025-06-03 21:01:23.169897
+
+"""
+from alembic import op
+import sqlalchemy as sa
+
+
+# revision identifiers, used by Alembic.
+revision = '782a2409df41'
+down_revision = '926395732c3e'
+branch_labels = None
+depends_on = None
+
+
+def upgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ with op.batch_alter_table('user', schema=None) as batch_op:
+ batch_op.alter_column('password_hash',
+ existing_type=sa.VARCHAR(length=128),
+ type_=sa.String(length=255),
+ existing_nullable=False)
+
+ # ### end Alembic commands ###
+
+
+def downgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ with op.batch_alter_table('user', schema=None) as batch_op:
+ batch_op.alter_column('password_hash',
+ existing_type=sa.String(length=255),
+ type_=sa.VARCHAR(length=128),
+ existing_nullable=False)
+
+ # ### end Alembic commands ###
diff --git a/backend/models/user.py b/backend/models/user.py
index cd4dae0..d660b15 100644
--- a/backend/models/user.py
+++ b/backend/models/user.py
@@ -9,7 +9,7 @@ from werkzeug.security import generate_password_hash, check_password_hash
class User(UserMixin, db.Model):
id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
email = db.Column(db.String(255), nullable=False, unique=True)
- password_hash = db.Column(db.String(128), nullable=False)
+ password_hash = db.Column(db.String(255), nullable=False)
LoginToken = db.relationship("LoginToken", backref='User', lazy='dynamic')
Bought = db.relationship("Bought", secondary="login_token",
diff --git a/backend/web/templates/base.html b/backend/web/templates/base.html
index d9233f1..6af05b4 100644
--- a/backend/web/templates/base.html
+++ b/backend/web/templates/base.html
@@ -16,7 +16,7 @@ CostHive
{% block styles %}
-
+
{% endblock %}
{% block navbar %}