feat: integrate MinIO for video storage, add video routes, and update README with API documentation
This commit is contained in:
@@ -10,6 +10,7 @@ export const users = pgTable('users', {
|
||||
|
||||
export const events = pgTable('events', {
|
||||
id: uuid('id').defaultRandom().primaryKey(),
|
||||
creatorId: uuid('creator_id').references(() => users.id),
|
||||
title: varchar('title', { length: 255 }).notNull(),
|
||||
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
|
||||
videoUrl: varchar('video_url', { length: 255 }).notNull().unique(),
|
||||
|
||||
Reference in New Issue
Block a user