You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above schema is incomplete, it does not include indexes.
62
+
CREATEUNIQUE INDEXcompound_id
63
+
ON accounts(compound_id);
64
+
65
+
CREATEINDEXprovider_account_id
66
+
ON accounts(provider_account_id);
67
+
68
+
CREATEINDEXprovider_id
69
+
ON accounts(provider_id);
70
+
71
+
CREATEINDEXuser_id
72
+
ON accounts(user_id);
73
+
74
+
CREATEUNIQUE INDEXsession_token
75
+
ON sessions(session_token);
65
76
66
-
When using NextAuth.js with SQL Server fir the first time, run NextAuth.js once against your database with `?syncronize=true` on the connection string and export the schema that is created.
67
-
:::
77
+
CREATEUNIQUE INDEXaccess_token
78
+
ON sessions(access_token);
79
+
80
+
CREATEUNIQUE INDEXemail
81
+
ON users(email);
82
+
83
+
CREATEUNIQUE INDEXtoken
84
+
ON verification_requests(token);
85
+
```
86
+
87
+
When using NextAuth.js with SQL Server for the first time, run NextAuth.js once against your database with `?synchronize=true` on the connection string and export the schema that is created.
0 commit comments