Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/db/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

// migrationVersion defines the current migration version. This ensures the app
// is always compatible with the version of the database.
const migrationVersion = 1
const migrationVersion = 2

//go:embed migrations/*.sql
var migrations embed.FS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE users ADD COLUMN email_verified BOOLEAN NOT NULL DEFAULT FALSE;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE users DROP COLUMN email_verified;