Skip to content

Commit

Permalink
Merge branch 'main' of github.com:drizzle-team/drizzle-orm into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiSherman committed Dec 9, 2024
2 parents 2d149cd + fc7f280 commit b4ec3ac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelogs/drizzle-kit/0.29.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix SingleStore generate migrations command
2 changes: 1 addition & 1 deletion drizzle-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@
"default": "./api.mjs"
}
}
}
}
2 changes: 1 addition & 1 deletion drizzle-kit/src/cli/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const generate = command({
} else if (dialect === 'turso') {
await prepareAndMigrateLibSQL(opts);
} else if (dialect === 'singlestore') {
await prepareAndMigrateSqlite(opts);
await prepareAndMigrateSingleStore(opts);
} else {
assertUnreachable(dialect);
}
Expand Down
5 changes: 5 additions & 0 deletions drizzle-kit/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ export default defineConfig({
test: {
include: [
'tests/**/*.test.ts',
// Need to test it first before pushing changes
// 'tests/singlestore-schemas.test.ts',
// 'tests/singlestore-views.test.ts',
// 'tests/push/singlestore-push.test.ts',
// 'tests/push/singlestore.test.ts',
],

// This one was excluded because we need to modify an API for SingleStore-generated columns.
Expand Down
2 changes: 1 addition & 1 deletion drizzle-orm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@
"zod": "^3.20.2",
"zx": "^7.2.2"
}
}
}
1 change: 0 additions & 1 deletion drizzle-orm/type-tests/singlestore/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ Expect<
});

const t = customText('name').notNull();

Expect<
Equal<
{
Expand Down

0 comments on commit b4ec3ac

Please sign in to comment.