Skip to content

Commit

Permalink
fix: added content to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Dec 20, 2024
1 parent 101b541 commit 878972e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const userTable = pgTable("user", {
name: text("name").notNull(),
});

// Convert to Zero schema
// Convert to Zero table schema and select columns
const userSchema = createTableSchema(
drizzleToZero(userTable, {
id: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drizzle-zero",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.3",
"description": "Generate Zero schemas from Drizzle ORM schemas",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 878972e

Please sign in to comment.