feat: integrate MinIO for video storage, add video routes, and update README with API documentation

This commit is contained in:
2025-12-07 17:10:00 +00:00
parent 93b5e289f3
commit bd3d17c192
6 changed files with 256 additions and 0 deletions

View File

@@ -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(),