Skip to content

Commit

Permalink
Only show edit features in Radial if you have edit permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 2, 2024
1 parent 5d6edd6 commit d04a13c
Show file tree
Hide file tree
Showing 4 changed files with 590 additions and 157 deletions.
1 change: 1 addition & 0 deletions api/lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const VideoLease = pgTable('video_lease', {
username: text().notNull().references(() => Profile.username),

ephemeral: boolean().notNull().default(false),
channel: text(),

expiration: timestamp({ withTimezone: true, mode: 'string' }).default(sql`Now() + INTERVAL 1 HOUR;`),
path: text().notNull(),
Expand Down
Loading

0 comments on commit d04a13c

Please sign in to comment.