File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
src/main/java/io/supertokens/storage/postgresql/queries Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,20 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77
88## [ Unreleased]
99
10- ## [ 8.1.1 ]
10+ ## [ 8.1.2 ]
1111
12- - Adds more null and empty checks for bulk migration
1312- Adds user_id index to the user roles table
1413
1514### Migration
1615
1716``` sql
18- CREATE INDEX IF NOT EXISTS user_roles_app_id_tenant_id_user_id_index ON user_roles (app_id, tenant_id , user_id);
17+ CREATE INDEX IF NOT EXISTS user_roles_app_id_user_id_index ON user_roles (app_id, user_id);
1918```
19+
20+ ## [ 8.1.1]
21+
22+ - Adds more null and empty checks for bulk migration
23+
2024## [ 8.1.0]
2125
2226- Adds support for webauthn (passkeys)
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ public static String getQueryToCreateUserRolesRoleIndex(Start start) {
117117 }
118118
119119 public static String getQueryToCreateUserIdIndexForUserRolesTable (Start start ) {
120- return "CREATE INDEX IF NOT EXISTS user_roles_app_id_tenant_id_user_id_index ON " + getConfig (start ).getUserRolesTable () +
121- "(app_id, tenant_id, user_id);" ;
120+ return "CREATE INDEX IF NOT EXISTS user_roles_app_id_user_id_index ON " + getConfig (start ).getUserRolesTable () +
121+ "(app_id, user_id);" ;
122122 }
123123
124124 public static boolean createNewRoleOrDoNothingIfExists_Transaction (Start start , Connection con ,
You can’t perform that action at this time.
0 commit comments