Skip to content

Commit

Permalink
fix: update default equipped avatar id
Browse files Browse the repository at this point in the history
  • Loading branch information
Aericio committed May 29, 2024
1 parent b79d529 commit d97d51a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/lib/schema.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib/schema.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export const players = pgTable("players", {
uuid: text("uuid").primaryKey().notNull(),
username: text("username").notNull(),
rank: text("rank").notNull(),
equipped_avatar_id: text("equipped_avatar_id").default("default").notNull(),
equipped_avatar_id: text("equipped_avatar_id")
.default("avatars/default.png")
.notNull(),
equipped_avatar_name: text("equipped_avatar_name")
.default("Default")
.notNull(),
Expand Down

0 comments on commit d97d51a

Please sign in to comment.