Skip to content

Commit

Permalink
Update to 0.26.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiSherman committed Oct 15, 2024
1 parent 6f4fc4c commit 64b3c85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelogs/drizzle-kit/0.26.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix `data is malformed` for views
2 changes: 1 addition & 1 deletion drizzle-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drizzle-kit",
"version": "0.26.0",
"version": "0.26.1",
"homepage": "https://orm.drizzle.team",
"keywords": [
"drizzle",
Expand Down
2 changes: 1 addition & 1 deletion drizzle-kit/src/serializer/mysqlSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const schemaInternal = object({
version: literal('5'),
dialect: dialect,
tables: record(string(), table),
views: record(string(), view),
views: record(string(), view).default({}),
_meta: object({
tables: record(string(), string()),
columns: record(string(), string()),
Expand Down
4 changes: 2 additions & 2 deletions drizzle-kit/src/serializer/sqliteSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const schemaInternalV4 = object({
version: literal('4'),
dialect: dialect,
tables: record(string(), table),
views: record(string(), view),
views: record(string(), view).default({}),
enums: object({}),
}).strict();

Expand Down Expand Up @@ -122,7 +122,7 @@ export const schemaInternal = object({
version: latestVersion,
dialect: dialect,
tables: record(string(), table),
views: record(string(), view),
views: record(string(), view).default({}),
enums: object({}),
_meta: object({
tables: record(string(), string()),
Expand Down

0 comments on commit 64b3c85

Please sign in to comment.