File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 11import { relations } from "drizzle-orm" ;
22import { pgTable , text , uuid } from "drizzle-orm/pg-core" ;
33
4- import { comments } from "./comment.table" ;
54import { defaultDate , defaultId } from "./constants" ;
6- import { downvotes } from "./downvote.table" ;
75import { posts } from "./post.table" ;
8- import { upvotes } from "./upvote.table" ;
96import { usersToOrganizations } from "./userToOrganization.table" ;
107
118import type { InferInsertModel , InferSelectModel } from "drizzle-orm" ;
@@ -30,9 +27,6 @@ export const users = pgTable("user", {
3027export const userRelations = relations ( users , ( { many } ) => ( {
3128 organizations : many ( usersToOrganizations ) ,
3229 posts : many ( posts ) ,
33- comments : many ( comments ) ,
34- upvotes : many ( upvotes ) ,
35- downvotes : many ( downvotes ) ,
3630} ) ) ;
3731
3832/**
You can’t perform that action at this time.
0 commit comments