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
* If you don't use AWS Data API, D1, Turso or Expo - ypu don't need this driver. You can check a driver strategy choice here: https://orm.drizzle.team/kit-docs/upgrade-21
45
45
*
46
46
* See https://orm.drizzle.team/kit-docs/config-reference#driver
@@ -136,7 +136,7 @@ export type Config =
136
136
};
137
137
}
138
138
|{
139
-
dialect: 'sqlite';
139
+
dialect: Verify<Dialect,'sqlite'>;
140
140
dbCredentials: {
141
141
url: string;
142
142
};
@@ -171,6 +171,13 @@ export type Config =
171
171
resourceArn: string;
172
172
};
173
173
}
174
+
|{
175
+
dialect: Verify<Dialect,'postgresql'>;
176
+
driver: Verify<Driver,'pglite'>;
177
+
dbCredentials: {
178
+
url: string;
179
+
};
180
+
}
174
181
|{
175
182
dialect: Verify<Dialect,'mysql'>;
176
183
dbCredentials:
@@ -226,7 +233,7 @@ export type Config =
226
233
*
227
234
* ---
228
235
* `driver` - optional param that is responsible for explicitly providing a driver to use when accessing a database
* If you don't use AWS Data API, D1, Turso or Expo - ypu don't need this driver. You can check a driver strategy choice here: https://orm.drizzle.team/kit-docs/upgrade-21
231
238
*
232
239
* See https://orm.drizzle.team/kit-docs/config-reference#driver
0 commit comments