package initializers import "tugas1/models" func SyncDatabase() { DB.AutoMigrate(&models.Post{}) DB.AutoMigrate(&models.LoginRecord{}) }