package db import "github.com/sneak/feta/process" import "github.com/jinzhu/gorm" import _ "github.com/jinzhu/gorm/dialects/sqlite" // required for orm type savedInstance struct { gorm.Model hostname string software string } func (f *process.Feta) databaseMigrations() { f.db.AutoMigrate(&savedInstance{}) }