Commit 0c1ee0a
committed
Enhance member profiles and related components
- Create separate MemberProfile struct for more user information (#51)
- Update Member struct to reflect changes in the member table (#51)
- Modify db queries to work with the new member_profile table (#51)
- Update GetMember query to join member and member_profile tables (#51)
- Change UpdateMemberByEmail to UpdateMemberProfileByID (#51)
- Adjust logic in EditMemberProfile to use UpdateMemberProfileByID (#51)
- Add new fields to edit profile template (pronouns, bio, etc) (#51)
- Update member.html template to display new profile information (#51)
- Modify createOrReturnID function to add a member_profile entry (#51)
- Remove unused fields from member table (last_chat, last_search)
- Add necessary indexes and foreign key constraints for member_profile
- Update tests to accommodate changes in member profile handling
Change-Id: I2174db3e70a75a69f83221a9391f99a6d456a09b
Signed-off-by: Ian Meyer <[email protected]>1 parent db4d594 commit 0c1ee0a
File tree
9 files changed
+433
-303
lines changed- sqlc
- tmpl
9 files changed
+433
-303
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
446 | 449 | | |
447 | 450 | | |
448 | 451 | | |
| |||
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
495 | 501 | | |
496 | 502 | | |
497 | | - | |
498 | | - | |
| 503 | + | |
| 504 | + | |
499 | 505 | | |
500 | 506 | | |
501 | 507 | | |
| |||
504 | 510 | | |
505 | 511 | | |
506 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
507 | 525 | | |
508 | 526 | | |
| 527 | + | |
509 | 528 | | |
510 | 529 | | |
511 | 530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
| 1412 | + | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
25 | 43 | | |
26 | 44 | | |
27 | 45 | | |
| |||
146 | 164 | | |
147 | 165 | | |
148 | 166 | | |
149 | | - | |
150 | | - | |
| 167 | + | |
| 168 | + | |
151 | 169 | | |
152 | | - | |
153 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
154 | 176 | | |
155 | 177 | | |
156 | 178 | | |
| |||
0 commit comments