Skip to content

Commit

Permalink
Update db/config.ts with default values for slackToken and lastSync
Browse files Browse the repository at this point in the history
  • Loading branch information
kcoderhtml committed Apr 19, 2024
1 parent 31f6b61 commit 4c74a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const Organization = defineTable({
team: column.text({ primaryKey: true }),
name: column.text(),
image: column.text(),
slackToken: column.text(),
lastSync: column.date({ optional: true }),
slackToken: column.text({ default: "" }),
lastSync: column.date({ default: new Date(0) }),
},
indexes: {
teamx: { on: ["team"], unique: true },
Expand Down

0 comments on commit 4c74a89

Please sign in to comment.