41c2bca096
Add new project db method, GetSalt, to get project salt. If salt column is empty, return the sha-256 hash of the project ID. This new method is used in metainfo endpoint ProjectInfo to return the project salt to the client. This is backwards compatible because the salt column is not populated yet. The updated endpoint will do the same thing as the current endpoint. Change-Id: I7eba376c865e10995a5a916302feca7cd7c7efa2 |
||
---|---|---|
.. | ||
templates | ||
cockroach.go | ||
gen.go | ||
gen.sh | ||
satellitedb.dbx | ||
satellitedb.dbx.go | ||
satellitedb.dbx.pgx.sql | ||
satellitedb.dbx.pgxcockroach.sql |