Skip to content

Commit 4e20eea

Browse files
chore: remove unused 'must_reset_password' column (#15265)
Closes coder/internal#153 Remove the 'must_reset_password' as it was introduced for use in the "forgot password?" flow but never used.
1 parent 1d925ab commit 4e20eea

File tree

8 files changed

+15
-33
lines changed

8 files changed

+15
-33
lines changed

coderd/database/dump.sql

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE users ADD COLUMN must_reset_password bool NOT NULL DEFAULT false;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE users DROP COLUMN must_reset_password;

coderd/database/modelqueries.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ func (q *sqlQuerier) GetAuthorizedUsers(ctx context.Context, arg GetUsersParams,
374374
&i.GithubComUserID,
375375
&i.HashedOneTimePasscode,
376376
&i.OneTimePasscodeExpiresAt,
377-
&i.MustResetPassword,
378377
&i.Count,
379378
); err != nil {
380379
return nil, err

coderd/database/models.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

Lines changed: 12 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy