Skip to content

Commit b12c640

Browse files
authored
Merge pull request #43 from UTDNebula/file_url-to-file_name
file_url to file_name
2 parents fe874e0 + cfd4445 commit b12c640

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)