Skip to content

Commit

Permalink
feat: add gapless table
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Jun 2, 2024
1 parent 382668b commit e846671
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/schema/src/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ export const Crossfade = pgTable("crossfade", {
updatedAt: updatedAt()
});

export const Gapless = pgTable("gapless", {
id: uuid("id").primaryKey()
.defaultRandom(),

guildId: uuid("guild_id").references(() => Guild.id),
clientId: text("client_id"),

activatedBy: text("activated_by"),
state: boolean("state").default(false),

createdAt: createdAt(),
updatedAt: updatedAt()
});


export const StayInVc = pgTable("stay_in_vc", {
id: uuid("id").primaryKey()
.defaultRandom(),
Expand Down

0 comments on commit e846671

Please sign in to comment.