fix signup route and add create users table migration

This commit is contained in:
2026-06-29 00:59:10 +07:00
parent bb2cb3a540
commit 0f9bf8dfc1
5 changed files with 45 additions and 32 deletions
+2 -1
View File
@@ -21,6 +21,7 @@ service EveningDetectiveServer {
rpc Signup(SignupReq) returns (SignupRsp) {
option (google.api.http) = {
post: "/api/signup"
body: "*"
};
}
}
@@ -38,7 +39,7 @@ message EchoRsp {
}
message SignupReq {
string name = 1;
string username = 1;
string email = 2;
}