chores: refactor struct and structure project
This commit is contained in:
+3
-3
@@ -58,8 +58,8 @@ func (db *DB) Migrate() error {
|
||||
// &Tag{},
|
||||
// &Category{},
|
||||
// &News{},
|
||||
&NewsModel{},
|
||||
&TagModel{},
|
||||
&CategoryModel{},
|
||||
&News{},
|
||||
&Tag{},
|
||||
&Category{},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user