This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/db/migrations
Yifan Gu 44c6cb44f5 refresh: bcrypt raw bytes rather than base64 encoded string.
This enables us to control the length of the bytes that will be bcrypted,
by default it's 64.

Also changed the token's stored form from string('text') to []byte('bytea')
and added some test cases for different types of invalid tokens.
2015-09-02 14:23:20 -07:00
..
0001_initial_migration.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0002_dex_admin.sql db: initialize bigint, boolean columns 2015-08-20 12:38:15 -07:00
0003_user_created_at.sql db: initialize bigint, boolean columns 2015-08-20 12:38:15 -07:00
0004_session_nonce.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0005_refresh_token_create.sql refresh: bcrypt raw bytes rather than base64 encoded string. 2015-09-02 14:23:20 -07:00
0006_user_email_unique.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0007_session_scope.sql session: add 'scope' field in session. 2015-08-31 13:51:59 -07:00
assets.go refresh: bcrypt raw bytes rather than base64 encoded string. 2015-09-02 14:23:20 -07:00