Skip to content

Commit

Permalink
🎨 commenting reason for a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PsicoThePato committed Oct 16, 2024
1 parent 11b8ccc commit 6ea44b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/db/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export const userModuleData = createTable(
{
id: serial("id").primaryKey(),
userKey: ss58Address("user_key").notNull(),
/* actually points to moduleDataId instead of
the module id (of the network),
but for legacy reasons we keep the name wrong.
*/
moduleId: integer("module_id")
.references(() => moduleData.id)
.notNull(),
Expand Down

0 comments on commit 6ea44b3

Please sign in to comment.