Skip to content

Commit

Permalink
Update movie.go
Browse files Browse the repository at this point in the history
  • Loading branch information
JawherKl authored Feb 3, 2025
1 parent b574f17 commit 1fda8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/movie.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package models
import "gorm.io/gorm"

type Movie struct {
gorm.Model
gorm.Model
ID string `json:"id" gorm:"primarykey"`
Title string `json:"title"`
Year string `json:"year"`
Expand All @@ -28,4 +28,4 @@ type Movie struct {
BoxOffice string `json:"boxoffice"`
Production string `json:"production"`
Website string `json:"website"`
}
}

0 comments on commit 1fda8cc

Please sign in to comment.