Skip to content

Commit 2393ea1

Browse files
committed
update
1 parent 967d2b2 commit 2393ea1

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

packages/language/src/validators/attribute-application-validator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,6 @@ export default class AttributeApplicationValidator implements AstValidator<Attri
293293
@check('@@unique')
294294
private _checkConstraint(attr: AttributeApplication, accept: ValidationAcceptor) {
295295
const fields = getAttributeArg(attr, 'fields');
296-
297-
// const fields = attr.args[0]?.value;
298296
const attrName = attr.decl.ref?.name;
299297
if (!fields) {
300298
accept('error', `expects an array of field references`, {

packages/testtools/src/client.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ export async function createTestClient<Schema extends SchemaDef>(
6060
const provider = options?.provider ?? getTestDbProvider() ?? 'sqlite';
6161
const dbName = options?.dbName ?? getTestDbName(provider);
6262

63-
if (options?.dbFile) {
64-
if (provider !== 'sqlite') {
65-
throw new Error('dbFile option is only supported for sqlite provider');
66-
}
67-
}
68-
6963
const dbUrl =
7064
provider === 'sqlite'
7165
? `file:${dbName}`
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!*.db
204 KB
Binary file not shown.

0 commit comments

Comments
 (0)