Skip to content

Commit

Permalink
removed unnecessary notNull
Browse files Browse the repository at this point in the history
  • Loading branch information
BK2004 committed Oct 30, 2024
1 parent 00fffe4 commit a9d523c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/server/db/migrations/meta/0009_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "5",
"dialect": "pg",
"id": "cc00cb68-4c57-4578-9141-b7fb0fcf8710",
"id": "47b2b0b5-487f-408b-9e3e-1847604c807e",
"prevId": "48d235dc-83ee-48ae-bad8-dc3e7093cdd1",
"tables": {
"admin": {
Expand Down
4 changes: 2 additions & 2 deletions src/server/db/migrations/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
{
"idx": 9,
"version": "5",
"when": 1730246133518,
"tag": "0009_unknown_mastermind",
"when": 1730322465532,
"tag": "0009_colossal_omega_flight",
"breakpoints": true
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/server/db/schema/officers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { pgTable, text, boolean, uuid } from 'drizzle-orm/pg-core';
import { club } from './club';

export const officers = pgTable('officers', {
id: uuid('id').defaultRandom().notNull().primaryKey(),
id: uuid('id').defaultRandom().primaryKey(),
clubId: text('club_id')
.notNull()
.references(() => club.id),
Expand Down

0 comments on commit a9d523c

Please sign in to comment.