Commit Graph

10 Commits

Author SHA1 Message Date
Maximilian
75d8996cf9 Fix some queries, comments, and error logging 2023-02-28 15:02:21 -06:00
Maximilian
ac2b5262fd Remove print 2023-02-28 14:57:15 -06:00
Maximilian
b9ac6fbd5f Add session migration 2023-02-28 14:55:09 -06:00
Maximilian
baa8eb2b93 Move to a session based system for AuthTokens 2023-02-28 14:54:55 -06:00
Maximilian
89d1b96400 Change CreatedAt and UpdatedAt to type Time and update migrations.go accordingly 2023-02-17 18:55:27 -06:00
max
f2a7336283 Fix user queries and a logical error in GetCurrentUser 2023-02-14 09:43:02 -06:00
Maximilian
fcd6477ec3 Migration implementation, auto migrate when starting program 2023-02-13 23:41:45 -06:00
Maximilian
eb1c2daa6a Add AuthToken to user struct, and update SQL statements to match struct fields 2023-02-13 23:30:12 -06:00
Maximilian
edccb95be3 Remove unnecessary assignment 2023-02-08 19:47:08 -06:00
Maximilian
9e4216301d Move models to its own package 2023-02-08 19:39:53 -06:00