Skip to content

Commit cfd4445

Browse files
committed
file_url to file_name
1 parent fe874e0 commit cfd4445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/db/schema/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const file = pgTable('file', {
1111
.notNull()
1212
.references(() => user.id),
1313
sectionId: text('section_id').references(() => section.id),
14-
file_url: text('file_url').notNull(),
14+
file_name: text('file_name').notNull(),
1515
});
1616

1717
export const fileRelations = relations(file, ({ one }) => ({

0 commit comments

Comments
 (0)