Skip to content

Commit

Permalink
fix(migrator): update for bun 1.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Feb 23, 2022
1 parent a018510 commit e2769ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrator/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
type Migration struct {
bun.BaseModel

ID int64
ID int64 `bun:",pk,autoincrement"`
Name string
MigratedAt time.Time `bun:",notnull,nullzero,default:current_timestamp"`

Expand Down

0 comments on commit e2769ab

Please sign in to comment.