Skip to content

Commit

Permalink
Fix "email" column type
Browse files Browse the repository at this point in the history
  • Loading branch information
Serious-senpai committed Sep 19, 2024
1 parent d62b162 commit 5941639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def prepare(self) -> None:
room SMALLINT NOT NULL,
birthday DATETIME,
phone VARCHAR(15),
email VARCHAR(15),
email VARCHAR(255),
username VARCHAR(255) UNIQUE NOT NULL,
hashed_password VARCHAR(255) NOT NULL,
)
Expand All @@ -82,7 +82,7 @@ async def prepare(self) -> None:
room SMALLINT NOT NULL,
birthday DATETIME,
phone VARCHAR(15),
email VARCHAR(15),
email VARCHAR(255),
username VARCHAR(255) UNIQUE NOT NULL,
hashed_password VARCHAR(255) NOT NULL,
)
Expand Down

0 comments on commit 5941639

Please sign in to comment.