GO-2024-3228 : Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
The highest tagged major version is
v2 .
Discover Packages
github.com/coder/coder
coderd
database
migrations
package
Version:
v0.14.2
Opens a new window with list of versions in this module.
Published: Jan 12, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Returns nil if currentVersion corresponds to the latest available migration,
otherwise an error explaining why not.
Down runs all down SQL migrations.
EnsureClean checks whether all migrations for the current version have been
applied, without making any changes to the database. If not, returns a
non-nil error.
Stepper returns a function that runs SQL migrations one step at a time.
Stepper cannot be closed pre-emptively, it must be run to completion
(or until an error is encountered).
Up runs SQL migrations to ensure the database schema is up-to-date.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.