Skip to content

Commit

Permalink
Update packages/db/src/schema/target.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Brooks <[email protected]>
  • Loading branch information
jsbroks authored Oct 2, 2024
1 parent 4670182 commit 8c38f62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/db/src/schema/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ export type TargetView = InferSelectModel<typeof targetView>;

export const createTargetView = createInsertSchema(targetView, {
filter: targetCondition,
}).omit({
id: true,
});
}).omit({ id: true });

export const updateTargetView = createTargetView.partial();

Expand Down

0 comments on commit 8c38f62

Please sign in to comment.